/* ==========================================================================
   Awwwards Extreme Aesthetic Stylesheet
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

   :root {
       /* Ultra Dark Theme */
       --primary: #0a0a0a;
       --accent: #79989A; /* Oxidized Copper */
       --bg-light: #111111;
       --text: #f0f0f0;
       --text-light: #888888;
       --white: #ffffff;
       --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
   }

   ::selection {
       background-color: var(--accent);
       color: var(--primary);
   }
   
      /* Custom Cursor */
    body {
        cursor: none; 
    }

    /* Ambient Glow Cursor Blob */
    .ambient-glow {
        position: fixed;
        top: 0; left: 0;
        width: 50vw; height: 50vw;
        max-width: 800px; max-height: 800px;
        background: radial-gradient(circle, rgba(121, 152, 154, 0.08) 0%, rgba(121, 152, 154, 0) 60%);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: -1; 
        transition: width 0.3s, height 0.3s;
    }

    /* Page Transition Curtain */
    .page-curtain {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background-color: var(--primary);
        z-index: 99999;
        transform-origin: top;
        animation: curtainReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
        pointer-events: none;
    }
    
    @keyframes curtainReveal {
        0% { transform: scaleY(1); }
        100% { transform: scaleY(0); }
    }
    @keyframes curtainHide {
        0% { transform: scaleY(0); }
        100% { transform: scaleY(1); }
    }

    /* Film Grain Overlay */
   body::after {
       content: '';
       position: fixed;
       top: 0; left: 0; right: 0; bottom: 0;
       width: 100%; height: 100%;
       pointer-events: none;
       z-index: 9999;
       opacity: 0.04;
       background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
   }
   
   @media (hover: none) and (pointer: coarse) {
       body {
           cursor: auto;
       }
       .cursor-dot, .cursor-outline {
           display: none !important;
       }
   }
   
   .cursor-dot, .cursor-outline {
       position: fixed;
       top: 0;
       left: 0;
       transform: translate(-50%, -50%);
       border-radius: 50%;
       z-index: 99999999;
       pointer-events: none;
   }
   
   .cursor-dot {
       width: 6px;
       height: 6px;
       background-color: var(--accent);
   }
   
   .cursor-outline {
       width: 40px;
       height: 40px;
       border: 1px solid rgba(197, 168, 128, 0.5);
       transition: width 0.3s var(--transition), height 0.3s var(--transition), background-color 0.3s var(--transition);
   }
   
   .cursor-outline.hover {
       width: 80px;
       height: 80px;
       background-color: rgba(197, 168, 128, 0.1);
       border-color: transparent;
       mix-blend-mode: difference;
   }
   
   /* Smooth Scroll Wrapper */
   html, body {
       margin: 0;
       padding: 0;
       width: 100%;
       overflow-x: hidden;
       background-color: var(--primary);
       color: var(--text);
       font-family: 'Poppins', sans-serif;
       -webkit-font-smoothing: antialiased;
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: rgba(121, 152, 154, 0.3) var(--primary); /* Firefox */
    }
    
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: var(--primary);
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(121, 152, 154, 0.3); /* Transparent accent copper */
        border-radius: 3px;
        transition: background 0.3s;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
    }
   
   #smooth-wrapper {
       width: 100%;
       overflow: hidden;
   }
   
   #smooth-content {
       width: 100%;
       will-change: transform;
       overflow: hidden;
   }
   
   * {
       box-sizing: border-box;
   }
   
   /* Typography */
   h1, h2, h3, h4, h5, h6 {
       font-family: 'Playfair Display', serif;
       font-weight: 400;
       margin-top: 0;
       line-height: 1.1;
       color: var(--white);
   }
   
   h1 {
       font-size: clamp(3rem, 8vw, 8rem);
       letter-spacing: -0.03em;
       margin-bottom: 20px;
   }
   
   h2.section-title {
       font-size: clamp(2.5rem, 5vw, 5rem);
       margin-bottom: 20px;
       letter-spacing: -0.02em;
   }
   
   p {
       line-height: 1.8;
       margin-top: 0;
       color: var(--text-light);
       font-size: 1.1rem;
   }
   
   a {
       text-decoration: none;
       color: var(--accent);
       transition: var(--transition);
   }
   
   /* Utilities */
   .container {
       width: 90%;
       max-width: 1600px;
       margin: 0 auto;
       padding: 0 20px;
   }
   
   .section-padding {
       padding: 150px 0;
   }
   
   .bg-light { background-color: var(--bg-light); }
   .bg-primary { background-color: var(--primary); }
   
   .text-center { text-align: center; }
   
   /* Grid System (More fluid for abstract layouts) */
   .grid-2, .grid-3, .grid-4 {
       display: grid;
       gap: 40px;
   }
   
   .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
   .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
   .grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
   
   /* Buttons */
   .btn {
       display: inline-block;
       padding: 18px 45px;
       border-radius: 0; /* Sharp edges */
       font-weight: 500;
       text-transform: uppercase;
       letter-spacing: 2px;
       font-size: 0.9rem;
       cursor: none;
       transition: var(--transition);
       position: relative;
       overflow: hidden;
       z-index: 1;
   }
   
   .btn::after {
       content: '';
       position: absolute;
       bottom: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background-color: var(--white);
       z-index: -1;
       transform: scaleY(0);
       transform-origin: bottom center;
       transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
   }
   
   .btn:hover::after {
       transform: scaleY(1);
   }
   
   .btn-primary {
       background-color: var(--accent);
       color: var(--primary);
       border: 1px solid var(--accent);
   }
   
   .btn-primary:hover {
       color: var(--primary);
   }
   
   .btn-outline {
       background-color: transparent;
       color: var(--white);
       border: 1px solid rgba(255,255,255,0.2);
   }
   
   .btn-outline:hover {
       color: var(--primary);
       border-color: var(--white);
   }
   
   /* Navbar - Minimalist */
   .navbar {
       position: fixed;
       top: 0;
       width: 100%;
       padding: 40px 0;
       background-color: transparent;
       z-index: 1000;
       transition: padding 0.5s var(--transition), background-color 0.5s var(--transition);
       mix-blend-mode: difference; /* Awwwards trick */
   }
   
   .navbar.scrolled {
       padding: 20px 0;
       background-color: rgba(10, 10, 10, 0.9);
       backdrop-filter: blur(10px);
       mix-blend-mode: normal;
   }
   
   .navbar .container {
       display: flex;
       justify-content: space-between;
       align-items: center;
   }
   
   .navbar-brand {
       font-size: 2rem;
       font-family: 'Playfair Display', serif;
       color: var(--white);
       font-weight: 700;
       letter-spacing: 2px;
   }
   
   .navbar-brand span {
       color: var(--accent);
   }
   
   .nav-links-wrapper {
       display: flex;
       align-items: center;
   }
   
   .nav-links {
       display: flex;
       gap: 40px;
   }
   
   .nav-links a {
       color: var(--white);
       font-size: 0.9rem;
       text-transform: uppercase;
       letter-spacing: 1px;
       position: relative;
   }
   
   .nav-links a::after {
       content: '';
       position: absolute;
       bottom: -5px;
       left: 0;
       width: 0;
       height: 1px;
       background-color: var(--accent);
       transition: width 0.3s var(--transition);
   }
   
   .nav-links a:hover::after, .nav-links a.active::after {
       width: 100%;
   }
   
   .mobile-menu-btn {
       display: none;
       background: none;
       border: none;
       cursor: none;
       width: 30px;
       height: 20px;
       position: relative;
       z-index: 1001;
   }
   
   .mobile-menu-btn span {
       display: block;
       position: absolute;
       height: 2px;
       width: 100%;
       background: var(--white);
       transition: var(--transition);
   }
   
   .mobile-menu-btn span:nth-child(1) { top: 0; }
   .mobile-menu-btn span:nth-child(2) { top: 9px; }
   .mobile-menu-btn span:nth-child(3) { top: 18px; }
   
   .mobile-menu-btn.active span:nth-child(1) {
       transform: rotate(45deg);
       top: 9px;
   }
   
   .mobile-menu-btn.active span:nth-child(2) {
       opacity: 0;
   }
   
   .mobile-menu-btn.active span:nth-child(3) {
       transform: rotate(-45deg);
       top: 9px;
   }
   
   /* Hero Section (Awwwards Style) */
   .hero-slider-container {
       height: 100vh;
       position: relative;
       overflow: hidden;
   }
   
   .hero-slide {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       opacity: 0;
       visibility: hidden;
       transition: opacity 1.5s var(--transition), visibility 1.5s;
   }
   
   .hero-slide.active {
       opacity: 1;
       visibility: visible;
   }
   
   .hero-bg {
       position: absolute;
       top: -10%;
       left: 0;
       width: 100%;
       height: 120%; /* Extra height for parallax */
       background-size: cover;
       background-position: center;
       background-color: var(--bg-light); /* Fallback */
       transform: scale(1.1);
       transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
       filter: brightness(0.4) grayscale(0.5); /* Moody */
   }
   
   .hero-slide.active .hero-bg {
       transform: scale(1);
   }
   
   .hero-content {
       position: relative;
       z-index: 2;
       height: 100%;
       display: flex;
       flex-direction: column;
       justify-content: center;
       padding: 0 5%;
       max-width: 1400px;
       margin: 0 auto;
   }
   
   /* Text Splitting Reveal Style */
   .char {
       display: inline-block;
       transform: translateY(100%);
       opacity: 0;
       transition: transform 1s var(--transition), opacity 1s var(--transition);
   }
   
   .hero-slide.active .char,
   .is-visible .char,
   body.loaded .char {
       transform: translateY(0);
       opacity: 1;
   }
   
   /* Remove old cards */
   .card {
       background: transparent;
       border: none;
       border-radius: 0;
       padding: 0;
       box-shadow: none;
       text-align: left;
   }
   
   .card i {
       display: none; /* Hide tacky icons */
   }
   
   /* Large Images */
    .img-placeholder {
        background-color: #222;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #444;
        overflow: hidden;
        position: relative;
        perspective: 1000px;
    }
    
    .img-placeholder img {
        transition: transform 0.2s linear, filter 0.5s var(--transition);
        will-change: transform;
    }
   
   /* Abstract Elements */
   .line-separator {
       width: 100%;
       height: 1px;
       background-color: rgba(255,255,255,0.1);
       margin: 50px 0;
   }
   
   /* Forms */
   .form-control {
       width: 100%;
       padding: 15px 0;
       border: none;
       border-bottom: 1px solid rgba(255,255,255,0.2);
       background: transparent;
       color: var(--white);
       font-size: 1rem;
       font-family: 'Poppins', sans-serif;
       transition: var(--transition);
   }
   
   .form-control:focus {
       outline: none;
       border-bottom-color: var(--accent);
   }
   
   select.form-control option {
       background-color: var(--bg-light);
       color: var(--white);
   }
   
   textarea.form-control {
       resize: none;
       padding-top: 15px;
   }
   
   label {
       font-size: 0.8rem;
       text-transform: uppercase;
       letter-spacing: 1px;
       color: var(--accent);
       margin-bottom: 5px;
       display: block;
   }
   
   /* Scroll Reveal Classes */
   .reveal {
       opacity: 0;
       transform: translateY(150px) skewY(8deg);
       transition: opacity 1.8s cubic-bezier(0.19, 1, 0.22, 1), transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
       will-change: transform, opacity;
   }
   
   .reveal.is-visible {
       opacity: 1;
       transform: translateY(0) skewY(0);
   }
   
   /* Typing Cursor Effect */
   .typing-cursor {
       display: inline-block;
       width: 0.1em;
       height: 1em;
       background-color: var(--accent);
       margin-left: 8px;
       vertical-align: baseline;
       opacity: 0;
   }
   .typing-cursor.active {
       animation: blinkCursor 1s step-end infinite;
   }
   @keyframes blinkCursor {
       0%, 100% { opacity: 1; }
       50% { opacity: 0; }
   }
   
   /* Infinite Marquee */
   .marquee-container {
       width: 100%;
       overflow: hidden;
       white-space: nowrap;
       padding: 80px 0;
       border-top: 1px solid rgba(255,255,255,0.05);
       border-bottom: 1px solid rgba(255,255,255,0.05);
       background-color: var(--primary);
   }
   .marquee-content {
       display: inline-block;
       animation: marquee 25s linear infinite;
       font-size: clamp(4rem, 8vw, 8rem);
       font-family: 'Playfair Display', serif;
       color: transparent;
       -webkit-text-stroke: 1px rgba(197, 168, 128, 0.4);
       text-transform: uppercase;
       letter-spacing: 5px;
   }
   .marquee-content span {
       margin: 0 50px;
   }
   @keyframes marquee {
       0% { transform: translateX(0); }
       100% { transform: translateX(-50%); }
   }
   
   /* Footer */
   .footer {
       padding: 100px 0 50px;
       background-color: var(--primary);
       border-top: 1px solid rgba(255,255,255,0.05);
   }
   
   .footer-top {
       display: grid;
       grid-template-columns: 2fr 1fr 1fr;
       gap: 60px;
       margin-bottom: 80px;
   }
   
   @media (max-width: 992px) {
       h1 { font-size: clamp(3rem, 10vw, 5rem); }
       .footer-top { grid-template-columns: 1fr; }
       .navbar { padding: 20px 0; mix-blend-mode: normal; background-color: rgba(10,10,10,0.9); }
       .nav-links-wrapper {
           position: fixed;
           top: 0;
           left: -100%;
           width: 100%;
           height: 100vh;
           background-color: var(--primary);
           flex-direction: column;
           justify-content: center;
           transition: left 0.5s var(--transition);
       }
       .nav-links-wrapper.active { left: 0; }
       .nav-links { flex-direction: column; align-items: center; gap: 30px; }
       .nav-links a { font-size: 1.5rem; }
       .mobile-menu-btn { display: block; }
   }
