:root {
    --primary: #c5a059;
    --primary-dark: #a68546;
    --bg-dark: #0a0a0b;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-muted: #a0a0a5;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --body-bg: var(--bg-dark);
    --text-color: var(--text-light);
}

[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --text-light: #111111;
    --text-muted: #555555;
    --glass: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.08);
    --body-bg: #f8f9fa;
    --text-color: #111111;
}

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

::-webkit-scrollbar-track {
    background: var(--body-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

/* --- Section Animations --- */
section {
    padding: 120px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--body-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
    filter: grayscale(100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: 90px;
    line-height: 1;
    margin-bottom: 30px;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
    background: #ffffff;
}

/* Glass Cards */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Admin Specific */
.admin-sidebar {
    width: 280px;
    background: #000;
    height: 100vh;
    position: fixed;
    padding: 40px;
}

.admin-main {
    margin-left: 280px;
    padding: 60px;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 25px;
    background: #151517;
    border: 1px solid #252528;
    color: #fff;
    border-radius: 12px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
}

/* Slider */
.slider-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-preview {
    transform: scale(1.1);
}
.gallery-slide img, .video-preview {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--glass-bg);
    background: rgba(20, 20, 22, 0.8);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    margin: auto; /* Ensuring center in flex */
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5)); */
    z-index: -1;
}

.slide-content {
    text-align: center;
    max-width: 900px;
    transform: translateY(30px);
    transition: all 0.8s ease;
    padding: 0 20px;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* Responsive Utilities */
.responsive-grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.align-center { align-items: center; }
.gap-80 { gap: 80px; }

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 30px; }
    .gap-80 { gap: 40px; }
}

@media (max-width: 991px) {
    section { padding: 80px 0; }
    .slide-content h1 { font-size: 60px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 70px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 30px;
        gap: 30px;
        z-index: 1000;
        transition: var(--transition);
    }
    
    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-links a {
        font-size: 24px;
        color: #fff;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .grid-2, .grid-3, .grid-4, .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .slide-content h1 { font-size: 40px; }
    .hero h1 { font-size: 50px; }
    .gap-80 { gap: 40px; }
}


/* --- WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}


/* --- Instagram Button --- */
.instagram-float {
    position: fixed;
    bottom: 115px;
    right: 40px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.instagram-float:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 15px 35px rgba(220, 39, 67, 0.6);
}


/* --- Gallery Slider --- */
.gallery-slider-container {
    position: relative;
    width: 100%;
}

.gallery-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
    padding-bottom: 20px;
}

.gallery-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.gallery-slide {
    flex: 0 0 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .gallery-slide {
        flex: 0 0 300px;
    }
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* --- Reveal Animation --- */
.reveal-text {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Instagram Grid --- */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.insta-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Testimonials --- */
.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar { display: none; }

.testimonial-card {
    flex: 0 0 350px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}

.chat-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.chat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-info strong { font-size: 14px; color: var(--text-light); }
.chat-info span { font-size: 11px; color: #25D366; }

.chat-body {
    padding: 20px;
    background: rgba(0,0,0,0.2);
}

.chat-bubble {
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    max-width: 90%;
}

.chat-bubble.received {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-bottom-left-radius: 2px;
    margin-bottom: 10px;
}

.chat-bubble.sent {
    background: var(--primary);
    color: #000;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-bubble.sent .chat-time {
    color: rgba(0,0,0,0.6);
}

.chat-time {
    display: block;
    text-align: right;
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .testimonial-card { flex: 0 0 280px; }
}
