/* =========================================
   1. VARIABLES & RESET
   ========================================= */


:root {
    /* Colors - Platinum & Gold Light Theme */
    --primary-color: #101828;
    /* deep charcoal/navy - very premium */
    --primary-dark: #000000;
    /* pure black for interactions */
    --primary-light: #F1F5F9;
    /* platinum grey */

    --accent-gold: #C5A059;
    /* Classic Gold */
    --accent-warm: #F9FAFB;
    /* Cool White */

    /* Neutrals */
    --text-dark: #0F172A;
    /* Dark Slate */
    --text-body: #475569;
    /* Slate Grey */
    --text-light: #94A3B8;
    /* Light Slate */

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    /* Very Light Blue-Grey */
    --bg-warm: #FFFFFF;
    /* Pure White */
    --bg-dark: #0F172A;
    /* Dark Slate header/footer */
    --dark-footer: #0F172A;

    /* Effects */
    --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);

    /* Special Sage Gradient */
    --bg-sage-gradient: linear-gradient(135deg, #F1F6F0, #E8EEE6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* =========================================
   CUSTOM SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Admin Sidebar Dark Scrollbar */
.admin-nav-menu::-webkit-scrollbar {
    width: 6px;
}

.admin-nav-menu::-webkit-scrollbar-track {
    background: transparent;
}

.admin-nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    border: none;
}

.admin-nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title span {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

/* =========================================
   3. LAYOUT & UTILITIES
   ========================================= */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--bg-warm);
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Reduced min-width */
    gap: 30px;
}

/* Flex Utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================
   4. COMPONENTS
   ========================================= */
/* Buttons */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    /* Reduced from 16px 42px */
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    /* Slightly smaller text */
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    background: transparent;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-dark);
    border-color: white;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: white;
}

/* Cards */
.card-3d {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.card-3d:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
}

.card-3d:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 24, 40, 0.1);
    color: var(--text-dark);
}

.form-control {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: var(--text-dark);
}

/* =========================================
   5. HEADER & NAVIGATION
   ========================================= */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background 0.3s ease, padding 0.3s ease;
    padding: 25px 0;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header.scrolled {
    background: var(--bg-sage-gradient);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(136, 176, 106, 0.1);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

#header.scrolled .logo img {
    filter: brightness(0);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

#header.scrolled .nav-menu {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
    gap: 5px;
}


.nav-link {
    font-weight: 600;
    font-size: 13px;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    opacity: 1;
}

#header.scrolled .nav-link {
    color: var(--text-body);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}



.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* =========================================
   6. SITE SECTIONS
   ========================================= */
/* Hero */
/* Hero */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    /* Ensure slides don't overflow */
}

/* Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay needs to be separate now or part of the slide, 
   but since .hero::before was used, we can adjust it 
   to sit above the slider but below content */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darkened slightly for better readability */
    z-index: 1;
    /* Above slider */
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Above overlay */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Page Header (Subpages) */
.page-header {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a202c 100%);
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

.breadcrumb a:last-child {
    background: var(--primary-color);
    color: white;
    pointer-events: none;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* About Preview */
.about-preview {
    padding: 120px 0;
}

.about-preview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Services List (Alternating) */
.service-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-img-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-block:hover .service-img {
    transform: scale(1.05);
}

.service-info {
    flex: 1;
}

.service-label {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.service-info ul {
    margin-top: 25px;
}

.service-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-info i {
    color: var(--primary-color);
}

/* Gallery Preview */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

/* Contact Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-form-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

/* Alert Messages */
.alert {
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert i {
    font-size: 1.2rem;
}

/* =========================================
   7. BLOG & POST
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.blog-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-title a:hover {
    color: var(--primary-color);
}

/* Single Post */
.post-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    color: white;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.post-content-wrap {
    background: white;
    max-width: 900px;
    margin: -60px auto 0;
    padding: 60px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

/* =========================================
   8. FOOTER
   ========================================= */
.newsletter {
    background: var(--bg-light);
    /* Very subtle distinct background */
    padding: 100px 0;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold), var(--primary-color));
}

.newsletter h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 40px auto 0;
    position: relative;
}

.newsletter-input {
    flex: 1;
    padding: 18px 25px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
    outline: none;
}

footer {
    background: var(--bg-sage-gradient);
    /* Distinct low-light sage tint */
    color: var(--text-body);
    padding: 100px 0 30px;
    border-top: none;
}



.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: var(--text-body);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-dark);
    border: 1px solid #e2e8f0;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =========================================
   9. ADMIN STYLES (PREMIUM UI - REFINED)
   ========================================= */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #111827;
    /* Fallback */
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    padding: 0;
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar-logo {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.logo-container h2 i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
}

.admin-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    margin-top: 8px;
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-left: 38px;
    /* Align with text */
}

.admin-nav-menu {
    padding: 25px 15px;
    flex: 1;
    overflow-y: auto;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: #9ca3af;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    border: 1px solid transparent;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(3px);
}

.admin-nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
    font-weight: 600;
}

.admin-nav-link i {
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
    opacity: 0.8;
}

.admin-nav-link.active i {
    opacity: 1;
}

.admin-nav-link:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
    opacity: 1;
}

.admin-nav-link.active:hover i {
    color: white;
}

.admin-user-profile {
    margin: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.admin-user-profile:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.user-info h4 {
    margin: 0 0 2px;
    font-size: 0.95rem;
    color: white;
    font-weight: 600;
}

.user-info small {
    color: #94a3b8;
    font-size: 0.75rem;
    display: block;
}

.admin-main {
    margin-left: 280px;
    padding: 40px;
    background: #f3f4f6;
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border: 1px solid #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 25px;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.15);
}

.stat-icon.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.stat-icon.success {
    background: linear-gradient(135deg, #059669, #047857);
}

.stat-icon.info {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.admin-table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.admin-table th {
    background: #f8fafc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* =========================================
   10. ANIMATIONS & RESPONSIVE
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.4s ease;
        border-radius: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2,
    .footer-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-block,
    .service-block.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .service-img {
        height: 300px;
    }

    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-main {
        margin-left: 0;
    }
}

/* =========================================
   11. MEMORIES PAGE STYLES
   ========================================= */
.memories-section {
    background: var(--bg-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-card-image {
    height: 200px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card-content {
    padding: 30px;
}

.event-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.event-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-form {
    margin-top: 20px;
}

.password-input-group {
    display: flex;
    gap: 10px;
}

.password-input-group input {
    flex: 1;
}

.password-input-group .btn {
    white-space: nowrap;
}

/* Success and Error Messages */
.success-message {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.success-message i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.success-message h2 {
    color: white;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.error-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-message i {
    font-size: 1.5rem;
}

/* Unlocked Event Display */
.unlocked-event {
    max-width: 900px;
    margin: 0 auto;
}

.event-details-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.event-thumbnail {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.event-info {
    padding: 50px;
}

.event-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.client-name,
.event-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-body);
}

.client-name i,
.event-date i {
    color: var(--primary-color);
}

.event-description {
    margin-top: 20px;
    line-height: 1.8;
    color: var(--text-body);
}

/* No Events State */
.no-events {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.no-events i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-events h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Admin Responsive Styles */
@media (max-width: 900px) {
    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px !important;
        height: 100vh;
        z-index: 9999 !important;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        background: #1a202c !important;
        display: block !important;
        transform: none !important;
        visibility: visible !important;
    }

    .admin-sidebar.active {
        left: 0 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .admin-sidebar-logo h2 {
        display: block !important;
        color: #ffffff !important;
    }

    .admin-nav-menu {
        display: block !important;
    }

    .admin-nav-link {
        justify-content: flex-start;
        padding: 15px 30px;
        text-align: left;
        color: #cbd5e0 !important;
    }

    .admin-nav-link span {
        display: inline !important;
        color: #ffffff !important;
    }

    .admin-nav-link i {
        color: var(--primary-color) !important;
        font-size: 1.2rem;
    }

    .admin-nav-link.active,
    .admin-nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Force button visibility on tablet/mobile */
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* =========================================
   CONTACT PAGE REDESIGN
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-sage-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info-box h4 {
    margin: 0 0 8px;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-info-box p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-box {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

.contact-form-box h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.form-control {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 24, 40, 0.05);
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #d1fae5;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-box {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .contact-info-box {
        padding: 20px;
        gap: 15px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .contact-info-box h4 {
        font-size: 1rem;
    }

    .contact-info-box p {
        font-size: 0.9rem;
    }
}
/* =========================================
   RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .section-padding {
        padding: 60px 0;
    }

    .btn {
        padding: 10px 24px;
        font-size: 11px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}


.hamburger {
    background: transparent;
    border: none;
    padding: 0;
}

