/* --- 1. CORE VARIABLES (LUXURY PALETTE) --- */
:root {
    --bg: #050505;
    --surface: #0a0a0a;
    --text-main: #EAEAEA;
    --text-muted: #888888;
    --gold: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #8A5A00 100%);
    --font-head: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. BASE STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* GLOBAL SHIMMER ANIMATION (Subtle for text) */
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes colorPulse {
    0% {
        color: #D4AF37;
        filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3));
    }

    50% {
        color: #FFF8DC;
        filter: drop-shadow(0 0 8px rgba(255, 248, 220, 0.6));
    }

    100% {
        color: #D4AF37;
        filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3));
    }
}

h1,
h2,
h3,
h4,
p,
a,
span,
.loader-text {
    background: linear-gradient(110deg,
            currentColor 40%,
            rgba(255, 255, 255, 0.5) 50%,
            currentColor 60%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s infinite linear;
}

/* LOGO: FIXED TO ORIGINAL SPEC */
.logo {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 600;
    color: var(--gold) !important;
    text-decoration: none !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    background-clip: border-box !important;
    animation: none !important;
    display: inline-block;
}

.logo span {
    color: var(--gold) !important;
    animation: none !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

/* HEADER ICONS: CLEAN & FUNCTIONAL */
.header-icon,
.phone-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    appearance: none !important;
    font-size: 32px !important;
    width: 32px;
    height: 32px;
}

.header-icon i,
.phone-btn i,
.service-icon,
.footer-socials a,
.social-card i {
    color: var(--gold) !important;
    animation: colorPulse 3s infinite ease-in-out !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.header-icon svg,
.phone-btn svg {
    fill: currentColor !important;
}

/* HAMBURGER MENU: FIXED */
.hamburger {
    width: 40px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 6000;
    margin-left: 20px;
    display: block;
}

.line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.4s var(--ease);
}

.line:nth-child(1) {
    top: 0;
}

.line:nth-child(2) {
    bottom: 0;
}

.hamburger .line {
    background-color: var(--gold) !important;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    animation: none !important;
}

/* --- ISOLATED BUTTON SHIMMER (REQUESTED) --- */
@keyframes shimmer-btn-only {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.form-actions button {
    border: 1px solid var(--gold);
    border-radius: 50px;
    padding: 20px 40px;
    font-family: var(--font-head);
    cursor: pointer;
    background: linear-gradient(120deg, #D4AF37 0%, #D4AF37 35%, #FFFFFF 50%, #D4AF37 65%, #D4AF37 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: shimmer-btn-only 2.5s infinite linear !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s;
}

.form-actions button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}


/* Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%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)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9000;
}

/* Custom Cursor */
.cursor-dot,
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

body.hovered .cursor-circle {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    backdrop-filter: blur(2px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 400;
    line-height: 1.1;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-bar {
    width: 0%;
    height: 2px;
    background: var(--gold);
    margin-top: 20px;
    transition: width 0.1s;
}

.loader-text {
    font-family: var(--font-head);
    letter-spacing: 0.2em;
    font-size: 24px;
    color: #fff;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 500;
    mix-blend-mode: normal;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Phone Dropdown */
.phone-dropdown-wrapper {
    position: relative;
}

.phone-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 20px;
    width: 260px;
    display: none;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.phone-dropdown-wrapper.active .phone-dropdown {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.phone-dropdown a {
    color: var(--gold) !important;
    font-size: 18px;
    text-decoration: none;
    display: block;
    font-family: var(--font-head);
    letter-spacing: 0.05em;
    padding: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    transition: 0.3s;
}

.phone-dropdown a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #080808;
    z-index: 400;
    transform: translateY(-100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-links {
    text-align: center;
}

.menu-item {
    font-family: var(--font-head);
    font-size: 6vw;
    color: #333;
    display: block;
    text-decoration: none;
    margin: 10px 0;
    transition: color 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.menu-item:hover {
    color: var(--gold);
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(100%) contrast(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    mix-blend-mode: hard-light;
}

.hero-title {
    font-size: 8vw;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
}

.hero-title span {
    background: var(--gold-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: shimmer 5s infinite linear !important;
}

/* SERVICES */
.section-padding {
    padding: 150px 0;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 80px;
    text-align: center;
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(212, 175, 55, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-head {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* SOCIAL GRID */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 10%;
    margin-bottom: 100px;
}

.qr-card {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0;
    transition: transform 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: initial;
}

.qr-card:hover {
    transform: translateY(-10px);
}

.qr-image {
    width: 100% !important;
    max-width: 250px !important;
    height: auto;
    display: block;
    mix-blend-mode: normal !important;
    margin-bottom: 15px;
    border: 1px solid var(--gold);
    border-radius: 4px;
}

.qr-label {
    background: var(--gold-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* --- GALLERY / PORTFOLIO (NEW CARDS) --- */
.gallery-wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0b0b0b;
}

.gallery-container {
    display: flex;
    padding-left: 10vw;
}

.gallery-item {
    min-width: 60vw;
    height: 60vh;
    margin-right: 5vw;
    background: #1a1a1a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center Content */
    padding: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    /* For Links */
}

/* NEW: Project Card Inner Styles */
.project-card-content {
    text-align: center;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.project-logo {
    width: 120px;
    height: auto;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.project-logo.placeholder {
    width: 80px;
    opacity: 0.3;
    filter: grayscale(100%);
}

.project-title {
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-head);
    margin: 0;
}

.project-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
}

.project-link {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}

/* Hover Effect for Project Card */
.gallery-item:hover {
    border-color: var(--gold);
}

.gallery-item:hover .project-title {
    color: var(--gold);
}

.placeholder-project {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #444;
    font-family: var(--font-head);
    font-size: 3rem;
    text-transform: uppercase;
}

/* CONTACT */
.contact-section {
    padding-bottom: 150px;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-premium {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: border 0.3s;
}

.form-group option {
    background-color: #000;
    color: #fff;
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ABOUT SECTION */
.about-content {
    display: flex;
    gap: 50px;
    padding: 0 5%;
    align-items: center;
}

.about-img-wrapper {
    width: 40%;
    position: relative;
    padding: 15px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    overflow: visible;
    background: var(--bg);
}

.about-frame-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s;
    transform: scale(1.2) translateX(15px);
    transform-origin: center;
}

.about-img:hover {
    filter: grayscale(0%);
}

.about-text {
    width: 60%;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #ccc;
    font-weight: 300;
}

/* FOOTER */
footer {
    padding: 80px 0 20px;
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding: 0 5%;
}

.footer-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: var(--gold) !important;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Updated Footer Contacts */
.footer-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--gold) !important;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 15px;
    background: var(--gold-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-family: var(--font-body);
    width: 100%;
}

.footer-link i {
    color: var(--gold);
    font-size: 1.2rem;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Address Dropdown */
.address-dropdown-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.address-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 15px;
    width: 280px;
    display: none;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    z-index: 1000;
}

.address-dropdown-wrapper.active .address-dropdown {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.address-dropdown a {
    color: var(--gold) !important;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    transition: 0.3s;
}

.address-dropdown a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.footer-socials a {
    font-size: 1.8rem;
    transition: 0.3s;
    text-decoration: none;
}

.footer-socials a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #444;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive */
/* Gallery Nav Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 100;
}

.gallery-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 30px;
}

.gallery-nav.next {
    right: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 5%;
    }
}

@media (max-width: 768px) {

    /* GALLERY SWIPE (Native Scroll) */
    .gallery-nav {
        display: none;
    }

    /* Hide arrows */

    .gallery-wrapper {
        height: auto !important;
        /* Disable full height pinning */
        overflow-x: auto;
        /* Enable native horizontal scroll */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: block;
        padding-bottom: 50px;
        /* Space for scrollbar */
    }

    .gallery-container {
        padding: 0 5%;
        margin: 0;
        width: max-content;
        /* Allow container to grow horizontally */
        gap: 20px;
        display: flex;
    }

    .gallery-item {
        width: 85vw;
        /* Almost full width card */
        height: 50vh;
        min-width: 85vw;
        /* Force width */
        margin: 0;
        scroll-snap-align: center;
    }

    /* HEADER */
    .header-nav {
        gap: 15px;
    }

    /* Rest of the existing media query... */

    .logo {
        font-size: 24px;
    }

    .header-icon,
    .phone-btn {
        width: 28px;
        height: 28px;
        font-size: 28px !important;
    }

    /* HERO */
    .hero-title {
        font-size: 12vw;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.3em;
    }

    /* SECTIONS */
    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    /* ABOUT (Stack vertically) */
    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-img-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text {
        width: 100%;
        text-align: center;
    }

    .about-text p {
        font-size: 1.1rem;
        text-align: left;
    }

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0;
        /* Remove extra padding on mobile */
    }

    /* SOCIALS (Stack 1 column) */
    .social-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qr-image {
        max-width: 200px !important;
        margin: 0 auto 15px;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .footer-section {
        text-align: center !important;
    }

    .footer-section p {
        justify-content: center !important;
    }

    .footer-socials {
        justify-content: center;
    }

    /* PHONE DROPDOWN */
    .phone-dropdown {
        width: 260px;
        right: -10px;
        /* Adjust alignment */
        top: calc(100% + 20px);
    }

    /* CONTACT FORM */
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}
