/* =========================================
   Base Variables & Resets
   ========================================= */
:root {
    --color-primary: #0A2540; /* Deep Blue */
    --color-secondary: #00D4FF; /* Vibrant Cyan accent */
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-text-main: #333333;
    --color-text-muted: #666666;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 10px 20px rgba(10, 37, 64, 0.08);
    --shadow-hover: 0 20px 40px rgba(10, 37, 64, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

/* =========================================
   Buttons
   ========================================= */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #113860;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-bg-white);
    border: 2px solid var(--color-bg-white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-fast);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.hero-video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.base-layer {
    z-index: 0;
}

.hidden-layer {
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

.transition-layer {
    z-index: 1;
    -webkit-transition: -webkit-mask-position 1.5s ease-in-out, mask-position 1.5s ease-in-out;
    transition: mask-position 1.5s ease-in-out, -webkit-mask-position 1.5s ease-in-out;
    pointer-events: none;
}

/* 1. Wipe Right */
.wipe-right {
    -webkit-mask-image: linear-gradient(to right, transparent 45%, black 55%);
    mask-image: linear-gradient(to right, transparent 45%, black 55%);
    -webkit-mask-size: 200% 100%; mask-size: 200% 100%;
    -webkit-mask-position: 0% 0%; mask-position: 0% 0%;
}
.wipe-right.active { -webkit-mask-position: 100% 0%; mask-position: 100% 0%; }

/* 2. Wipe Left */
.wipe-left {
    -webkit-mask-image: linear-gradient(to left, transparent 45%, black 55%);
    mask-image: linear-gradient(to left, transparent 45%, black 55%);
    -webkit-mask-size: 200% 100%; mask-size: 200% 100%;
    -webkit-mask-position: 100% 0%; mask-position: 100% 0%;
}
.wipe-left.active { -webkit-mask-position: 0% 0%; mask-position: 0% 0%; }

/* 3. Wipe Bottom */
.wipe-bottom {
    -webkit-mask-image: linear-gradient(to bottom, transparent 45%, black 55%);
    mask-image: linear-gradient(to bottom, transparent 45%, black 55%);
    -webkit-mask-size: 100% 200%; mask-size: 100% 200%;
    -webkit-mask-position: 0% 0%; mask-position: 0% 0%;
}
.wipe-bottom.active { -webkit-mask-position: 0% 100%; mask-position: 0% 100%; }

/* 4. Wipe Top */
.wipe-top {
    -webkit-mask-image: linear-gradient(to top, transparent 45%, black 55%);
    mask-image: linear-gradient(to top, transparent 45%, black 55%);
    -webkit-mask-size: 100% 200%; mask-size: 100% 200%;
    -webkit-mask-position: 0% 100%; mask-position: 0% 100%;
}
.wipe-top.active { -webkit-mask-position: 0% 0%; mask-position: 0% 0%; }

/* 5. Wipe Bottom-Right */
.wipe-bottom-right {
    -webkit-mask-image: linear-gradient(to bottom right, transparent 45%, black 55%);
    mask-image: linear-gradient(to bottom right, transparent 45%, black 55%);
    -webkit-mask-size: 200% 200%; mask-size: 200% 200%;
    -webkit-mask-position: 0% 0%; mask-position: 0% 0%;
}
.wipe-bottom-right.active { -webkit-mask-position: 100% 100%; mask-position: 100% 100%; }

/* 6. Wipe Top-Left */
.wipe-top-left {
    -webkit-mask-image: linear-gradient(to top left, transparent 45%, black 55%);
    mask-image: linear-gradient(to top left, transparent 45%, black 55%);
    -webkit-mask-size: 200% 200%; mask-size: 200% 200%;
    -webkit-mask-position: 100% 100%; mask-position: 100% 100%;
}
.wipe-top-left.active { -webkit-mask-position: 0% 0%; mask-position: 0% 0%; }

/* 7. Wipe Bottom-Left */
.wipe-bottom-left {
    -webkit-mask-image: linear-gradient(to bottom left, transparent 45%, black 55%);
    mask-image: linear-gradient(to bottom left, transparent 45%, black 55%);
    -webkit-mask-size: 200% 200%; mask-size: 200% 200%;
    -webkit-mask-position: 100% 0%; mask-position: 100% 0%;
}
.wipe-bottom-left.active { -webkit-mask-position: 0% 100%; mask-position: 0% 100%; }

/* 8. Wipe Top-Right */
.wipe-top-right {
    -webkit-mask-image: linear-gradient(to top right, transparent 45%, black 55%);
    mask-image: linear-gradient(to top right, transparent 45%, black 55%);
    -webkit-mask-size: 200% 200%; mask-size: 200% 200%;
    -webkit-mask-position: 0% 100%; mask-position: 0% 100%;
}
.wipe-top-right.active { -webkit-mask-position: 100% 0%; mask-position: 100% 0%; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.8) 0%, rgba(10, 37, 64, 0.4) 100%);
    z-index: 10;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 11;
}

.hero h1 {
    color: white;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Animations */
.video-ready .animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

.hero-eyebrow, .hero-location {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.hero-eyebrow {
    margin-bottom: 1rem;
}

.hero-location {
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 6rem 0;
    background: var(--color-bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-weight: 600;
    color: var(--color-primary);
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--color-secondary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--color-text-muted);
}

/* =========================================
   Reviews Carousel
   ========================================= */
.reviews {
    padding: 6rem 0;
    background: var(--color-primary);
    color: white;
}

.reviews .section-title {
    color: white;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    min-width: 100%;
    padding: 0 3rem;
    text-align: center;
}

.review-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

.review-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-secondary);
}

.review-date {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.2rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* =========================================
   Contact Section
   ========================================= */
.contact {
    padding: 6rem 0;
    background: var(--color-bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-sm);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.status-success { color: #28a745; }
.status-error { color: #dc3545; }

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}

.footer-brand h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--color-secondary);
    font-weight: 600;
}

.footer-social a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* =========================================
   Responsive Media Queries
   ========================================= */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        align-items: flex-start;
        padding-top: 100px; /* Push down past navbar */
    }

    .hero-content {
        padding-top: 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-eyebrow, .hero-location {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-eyebrow, .hero-location {
        font-size: 0.7rem;
    }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Service Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg-white);
    z-index: 9999;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
}

.modal-overlay.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.modal-header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10, 37, 64, 0.9) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.modal-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    pointer-events: auto;
    transition: all 0.2s ease;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin-top: -80px; /* pull up behind header */
}

.modal-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.35); /* Deep blue transparent overlay to lessen AI feel */
    z-index: 1;
}

#modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-overlay[data-service="weddings"] #modal-image {
    object-position: center 15%;
}

.modal-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, var(--color-bg-white) 0%, transparent 100%);
    z-index: 2;
}

#modal-title {
    font-size: 3.5rem;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.modal-body {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.modal-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-main);
}

.modal-text p {
    margin-bottom: 1.5rem;
}

.modal-text p:first-child {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--color-secondary);
    padding-left: 1.5rem;
}

.modal-text ul {
    margin-top: 2rem;
    padding-left: 0;
    list-style: none;
}

.modal-text li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
}

.modal-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-bg-white);
    background: var(--color-secondary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.modal-text strong {
    color: var(--color-primary);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

/* About Modal Styles */
.about-modal-content {
    background: #000;
    width: 100vw;
    max-width: none;
    height: 100vh;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0;
}

.about-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-modal-bg img {
    width: 50vw;
    height: 100vh;
    object-fit: cover;
    object-position: top center;
}

.about-modal-text-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5vw;
    z-index: 2;
    width: 45%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    padding-right: 15px;
}

.about-modal-text-overlay::-webkit-scrollbar {
    width: 6px;
}

.about-modal-text-overlay::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.about-modal-logo {
    max-width: 350px;
    width: 100%;
    margin-bottom: 2rem;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8));
    margin-left: 0;
}

.about-modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.8);
}

.about-modal-bg::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, transparent 30%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 100%);
    pointer-events: none;
}

/* Mobile adjustments for About modal */
@media (max-width: 768px) {
    .about-modal-content {
        height: 100vh;
        flex-direction: column;
        display: flex;
    }
    .about-modal-bg {
        position: relative;
        height: 40vh;
        width: 100%;
        flex-shrink: 0;
    }
    .about-modal-bg img {
        width: 100%;
        height: 100%;
        object-position: center;
    }
    .about-modal-bg::after {
        background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,1) 100%);
    }
    .about-modal-text-overlay {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        height: 60vh;
        padding: 0 20px 40px 20px;
        background: #000;
        text-shadow: none;
        max-height: none;
        overflow-y: auto;
    }
    .about-modal-logo {
        max-width: 200px;
        margin: 0 auto 1.5rem auto;
    }
    .about-modal-text-overlay h2, .about-modal-body p {
        text-shadow: none;
        -webkit-text-stroke: 0;
    }
    .about-modal-close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

.about-modal-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.about-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* =========================================
   Preloader
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    max-width: 300px;
    width: 80%;
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar-container {
    width: 250px;
    max-width: 80%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 25px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 30%;
    height: 100%;
    background: var(--color-secondary);
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
    animation: knightRider 1s infinite alternate ease-in-out;
    box-shadow: 0 0 10px var(--color-secondary);
}

@keyframes knightRider {
    0% { left: 0%; transform: translateX(0%); }
    100% { left: 100%; transform: translateX(-100%); }
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.6; transform: scale(0.95); }
}
