/* Base Architecture & Variables */
:root {
    /* Monotone Cinematic Theme (Dark - Default) */
    --bg-dark: #121212;
    --bg-darker: #050505;
    --primary-color: #ffffff;
    --primary-hover: #e0e0e0;
    --text-main: #ffffff;
    --text-muted: #888888;
    --bubbly-surface: rgba(255, 255, 255, 0.03);
    --bubbly-border: rgba(255, 255, 255, 0.1);
    --invert-filter: invert(0);

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Animation Speeds */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-med: 0.5s cubic-bezier(0.19, 1, 0.22, 1);

    /* Border radii for a refined, modern round look */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;
}

body.light-mode {
    --bg-dark: #ffffff;
    --bg-darker: #f5f5f7;
    --primary-color: #000000;
    --primary-hover: #333333;
    --text-main: #000000;
    --text-muted: #666666;
    --bubbly-surface: rgba(0, 0, 0, 0.03);
    --bubbly-border: rgba(0, 0, 0, 0.1);
    --invert-filter: invert(1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography styles */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
}

.cinematic-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    color: var(--primary-color);
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--bubbly-surface);
    color: var(--text-main);
    border: 1px solid var(--bubbly-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.bubbly-card {
    background: var(--bubbly-surface);
    border: 1px solid var(--bubbly-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform var(--transition-med), background var(--transition-fast);
}

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

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-med);
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-dark);
    /* Match exact theme background for cleanliness */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--bubbly-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -0.05em;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary-color);
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 600;
}

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

.nav-links a:not(.btn) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

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

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

.btn-theme {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-theme:hover {
    background: var(--bubbly-surface);
    transform: rotate(15deg) scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, var(--bubbly-surface) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, var(--bubbly-border) 0%, transparent 50%);
    z-index: -1;
    animation: drift 20s infinite alternate;
}

@keyframes drift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
    }
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin: 1.5rem auto 3rem;
    max-width: 600px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-main);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Sections General */
section {
    padding: 8rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
}

/* Gallery / Work */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--bubbly-border);
    color: var(--text-main);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item.video {
    aspect-ratio: 16/9;
    grid-column: span 1;
}

@media (min-width: 768px) {
    .gallery-item.video.wide {
        grid-column: span 2;
    }
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
    /* More dynamic zoom */
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-med);
    border: 1px solid var(--bubbly-border);
}

.gallery-item.video:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon svg {
    fill: var(--primary-color);
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

/* Services */
.services-section {
    background-color: var(--bg-darker);
}

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

.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-line {
    width: 0;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 2rem;
    transition: width var(--transition-med);
}

.service-card:hover .card-line {
    width: 100%;
}

.card-number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

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

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background: linear-gradient(45deg, #1f232c, #2a2f3a);
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 1.5rem;
    text-align: center;
}

.floating-badge .stat {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

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

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

/* Contact/Booking Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0)), var(--bg-darker);
    display: flex;
    justify-content: center;
}

.cta-card {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.bubbly-form .form-group {
    margin-bottom: 1.5rem;
}

.bubbly-form input,
.bubbly-form select {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-pill);
    background: var(--bubbly-surface);
    border: 1px solid var(--bubbly-border);
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast);
}

.bubbly-form input:focus,
.bubbly-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    padding: 6rem 5% 2rem;
    border-top: 1px solid var(--bubbly-border);
    background: var(--bg-darker);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 1.5rem 0;
    max-width: 300px;
}

.footer-email {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color var(--transition-fast);
}

.footer-email:hover {
    color: var(--primary-color);
}

.footer-links h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--bubbly-border);
    margin-bottom: 0;
    font-weight: 800;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--bg-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bubbly-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.designer-credit {
    font-style: italic;
    font-family: var(--font-serif);
}

/* Theme Overlay Bubbly Animation */
.theme-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* Above everything but navbar */
    pointer-events: none;
    background: var(--bg-dark);
}

.theme-overlay.animating {
    animation: bubblyExpand 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes bubblyExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 0.9;
    }

    50% {
        width: 300vw;
        height: 300vw;
        opacity: 1;
    }

    100% {
        width: 300vw;
        height: 300vw;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }


    .floating-badge {
        right: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 17, 21, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-med);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .hero-content {
        margin-top: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}