/* Custom Styles for Adar Venture */

/* ---------------------------
   Smooth scrolling
--------------------------- */
html {
    scroll-behavior: smooth;
}

/* ---------------------------
   Base Styles
--------------------------- */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* ---------------------------
   Glass Effect Utility
--------------------------- */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---------------------------
   Custom Scrollbar
--------------------------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #D4AF37, #F7E98E);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #B8941F, #D4AF37);
}

/* ---------------------------
   Animations
--------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        transparent
    );
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* ---------------------------
   Responsive Typography
--------------------------- */
@media (max-width: 768px) {
    .text-6xl {
        font-size: 3rem !important;
        line-height: 1.1 !important;
    }

    .text-7xl {
        font-size: 3.5rem !important;
        line-height: 1.1 !important;
    }

    .text-4xl {
        font-size: 2.25rem !important;
    }

    .text-5xl {
        font-size: 2.75rem !important;
    }
}

/* ---------------------------
   Accessibility & Focus States
--------------------------- */
button:focus,
a:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* ---------------------------
   Loading States
--------------------------- */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.loaded .loading {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------
   Print Styles
--------------------------- */
@media print {
    .no-print,
    header,
    footer,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ---------------------------
   Alpine.js Cloak
--------------------------- */
[x-cloak] {
    display: none !important;
}

/* ---------------------------
   Enhanced Hover Effects
--------------------------- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ---------------------------
   Gradient Text
--------------------------- */
.gradient-text {
    background: linear-gradient(135deg, #D4AF37, #F7E98E, #1E293B);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ---------------------------
   Performance Optimizations
--------------------------- */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* ---------------------------
   Dark Mode Support (Future)
--------------------------- */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}