/* ================================================
   PHOTOGRAPHY STUDIO - DESIGN SYSTEM
   Premium Cinematic Theme
   ================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
    /* Colors */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #121212;
    --color-bg-tertiary: #1a1a1a;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-card-hover: rgba(255, 255, 255, 0.06);

    --color-accent: #c9a962;
    --color-accent-hover: #d4b872;
    --color-accent-dark: #a88b4a;

    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;

    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 5rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-max: 1400px;
    --container-narrow: 900px;
    --nav-height: 80px;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(201, 169, 98, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* ================================================
   RESET & BASE
   ================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-6xl);
    font-weight: 400;
}

h2 {
    font-size: var(--text-5xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

p {
    color: var(--color-text-secondary);
    max-width: 65ch;
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

/* ================================================
   LAYOUT
   ================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    margin: 0 auto;
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
    transition: background var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nav-logo span {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    border: 1px solid var(--color-text-primary);
    color: var(--color-text-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
}

.btn-ghost {
    color: var(--color-text-primary);
    padding: var(--space-xs) 0;
}

.btn-ghost::after {
    content: '→';
    margin-left: var(--space-xs);
    transition: transform var(--transition-fast);
}

.btn-ghost:hover {
    color: var(--color-accent);
}

.btn-ghost:hover::after {
    transform: translateX(4px);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img,
.hero-bg .placeholder-image,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg video.hero-video {
    transform: rotate(270deg) scale(1.8);
    transform-origin: center center;
}

/* Gallery video rotation - 90 degrees clockwise */
.gallery-item.video-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
}

.gallery-item video.gallery-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 135%;
    /* Increased to cover container height (4/3 aspect) */
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.5) 50%,
            rgba(10, 10, 10, 0.95) 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-lg);
}

.hero h1 {
    margin-bottom: var(--space-md);
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

.hero p {
    font-size: var(--text-xl);
    margin: 0 auto var(--space-xl);
    animation: fadeUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Page Header (for inner pages) */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header .hero-bg::after {
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.4) 0%,
            rgba(10, 10, 10, 0.8) 100%);
}

.page-header h1 {
    font-size: var(--text-5xl);
}

/* ================================================
   PLACEHOLDER IMAGES
   ================================================ */
.placeholder-image {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

.placeholder-image-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

/* ================================================
   GALLERY GRID
   ================================================ */
.gallery-grid {
    column-count: 3;
    column-gap: var(--space-md);
}

@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-item {
    position: relative;
    margin-bottom: var(--space-md);
    break-inside: avoid;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    /* Remove pointer since it's unclickable */
    pointer-events: none;
    /* Make images explicitly unclickable */
    display: block;
    /* Ensure block display */
}

.gallery-item img,
.gallery-item .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img,
.gallery-item:hover .placeholder-image {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-info h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.gallery-item-info span {
    font-size: var(--text-sm);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Featured Grid (Home) */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.featured-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

/* ================================================
   CARDS
   ================================================ */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    background: var(--color-bg-card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-image img,
.card-image .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img,
.card:hover .card-image .placeholder-image {
    transform: scale(1.05);
}

.card-content {
    padding: var(--space-lg);
}

.card-content h4 {
    margin-bottom: var(--space-sm);
}

.card-content p {
    font-size: var(--text-sm);
}

/* Service Card */
.service-card {
    text-align: center;
    padding: var(--space-xl);
}

.service-card .card-image {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.testimonial-avatar img,
.testimonial-avatar .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
}

.testimonial-info span {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img,
.about-image .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h3 {
    margin-bottom: var(--space-md);
}

.about-content p {
    margin-bottom: var(--space-lg);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--color-accent);
    display: block;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
    position: relative;
    padding: var(--space-3xl) 0;
    text-align: center;
    overflow: hidden;
}

.cta-section .hero-bg::after {
    background: rgba(10, 10, 10, 0.85);
}

.cta-section h2 {
    margin-bottom: var(--space-md);
}

.cta-section p {
    margin: 0 auto var(--space-xl);
}

/* ================================================
   PORTFOLIO FILTERS
   ================================================ */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-bg-primary);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* ================================================
   SERVICES
   ================================================ */
.service-section {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.service-section:nth-child(even) {
    background: var(--color-bg-secondary);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.service-section:nth-child(even) .service-content {
    direction: rtl;
}

.service-section:nth-child(even) .service-content>* {
    direction: ltr;
}

.service-image {

    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-image img,
.service-image .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info h3 {
    margin-bottom: var(--space-md);
}

.service-info p {
    margin-bottom: var(--space-lg);
}

.service-list {
    margin-bottom: var(--space-lg);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
    color: var(--color-text-secondary);
}

.service-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
}

/* ================================================
   CONTACT & FORMS
   ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text-secondary);
}

.form-control {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    font-size: var(--text-xl);
}

.contact-item h4 {
    font-size: var(--text-base);
    font-family: var(--font-body);
    margin-bottom: var(--space-xs);
}

.contact-item p {
    font-size: var(--text-sm);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.map-placeholder {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border-light);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: var(--text-sm);
}

.footer-title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.footer-bottom p {
    font-size: var(--text-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   VERTICAL IMAGE SEQUENCE
   ================================================ */
.image-sequence {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.image-sequence-item {
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-sequence-item img,
.image-sequence-item .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */
@media (max-width: 1200px) {
    :root {
        --text-6xl: 4rem;
        --text-5xl: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --text-6xl: 3.5rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }

    .gallery-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .about-preview,
    .service-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .service-section:nth-child(even) .service-content {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-3xl: 1.5rem;
        --space-3xl: 4rem;
        --space-2xl: 2.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 998;
        padding-top: var(--nav-height);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        z-index: 999;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }



    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-buttons {
        gap: var(--space-xs);
    }

    .card,
    .testimonial-card,
    .contact-info-card,
    .service-card {
        padding: var(--space-lg);
    }

    .drag-gallery-item {
        width: 80vw;
        max-width: 350px;
        height: 110vw;
        max-height: 450px;
    }
}

@media (max-width: 480px) {
    :root {
        --text-6xl: 2rem;
        --space-3xl: 3rem;
        --space-2xl: 2rem;
        --space-xl: 1.5rem;
        --space-lg: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ================================================
   SERVICES GRID RESPONSIVE OVERRIDES
   ================================================ */
.services-grid {
    display: grid;
    column-count: unset;
    /* Override masonry */
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.philosophy-grid {
    display: grid;
    column-count: unset;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

.behind-scenes-grid {
    display: grid;
    column-count: unset;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 992px) {
    .behind-scenes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .behind-scenes-grid {
        grid-template-columns: 1fr;
    }
}

.faq-grid {
    display: grid;
    column-count: unset;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   WOW INTERACTIONS
   ================================================ */

/* Magnetic Buttons */
.btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
    will-change: transform;
}

.btn-magnetic-area {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
}

/* Parallax Hero */
.hero-parallax-bg {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Text Reveal Animation */
.reveal-text {
    position: relative;
    overflow: hidden;
    display: block;
}

.reveal-text span {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
}

.reveal-text.visible span {
    transform: translateY(0);
    opacity: 1;
}

/* Enhanced Hover for Buttons */
.btn-primary:active {
    transform: scale(0.95);
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: 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)'/%3E%3C/svg%3E");
    animation: grain-shift 1s steps(2) infinite;
}

@keyframes grain-shift {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -5%);
    }

    20% {
        transform: translate(-10%, 5%);
    }

    30% {
        transform: translate(5%, -10%);
    }

    40% {
        transform: translate(-5%, 15%);
    }

    50% {
        transform: translate(-10%, 5%);
    }

    60% {
        transform: translate(15%, 0);
    }

    70% {
        transform: translate(0, 10%);
    }

    80% {
        transform: translate(-15%, 0);
    }

    90% {
        transform: translate(10%, 5%);
    }

    100% {
        transform: translate(5%, 0);
    }
}

/* ================================================
   BEFORE / AFTER SLIDER
   ================================================ */
.before-after-container {
    max-width: 900px;
    margin: 0 auto;
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    /* aspect-ratio: 16/9; */
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    cursor: ew-resize;
    user-select: none;
}

.image-before,
.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-after {
    width: 50%;
    /* Initial state */
    border-right: 2px solid var(--color-accent);
    overflow: hidden;
    z-index: 2;
}

.before-after-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Fix for the clipped image to stay full width inside the clipped container */
.image-after img {
    width: 100vw;
    /* Use JS to maintain this width if container changes, or set to fixed max-width of container */
    max-width: 900px;
    /* Match container max-width */
}

.label {
    position: absolute;
    top: 20px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.image-before .label {
    right: 20px;
    z-index: 1;
}

.image-after .label {
    left: 20px;
    z-index: 3;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    /* Match initial width of image-after */
    width: 40px;
    margin-left: -20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.handle-circle {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: var(--color-bg-primary);
}

.handle-circle svg {
    width: 20px;
    height: 20px;
}

/* ================================================
   PARTICLE / BOKEH BACKGROUND
   ================================================ */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 15px;
    height: 15px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    width: 8px;
    height: 8px;
    left: 20%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    width: 12px;
    height: 12px;
    left: 35%;
    animation-delay: -4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    width: 6px;
    height: 6px;
    left: 50%;
    animation-delay: -6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    width: 20px;
    height: 20px;
    left: 65%;
    animation-delay: -8s;
    animation-duration: 25s;
    filter: blur(4px);
}

.particle:nth-child(6) {
    width: 10px;
    height: 10px;
    left: 75%;
    animation-delay: -10s;
    animation-duration: 19s;
}

.particle:nth-child(7) {
    width: 14px;
    height: 14px;
    left: 85%;
    animation-delay: -12s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    width: 8px;
    height: 8px;
    left: 90%;
    animation-delay: -14s;
    animation-duration: 17s;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(80vh) scale(1);
    }

    90% {
        opacity: 0.8;
        transform: translateY(-10vh) scale(0.8);
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(0);
    }
}

/* ================================================
   DRAG-TO-SCROLL GALLERY
   ================================================ */
.drag-gallery-section {
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.drag-gallery-container {
    cursor: grab;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) 0;
}

.drag-gallery-container::-webkit-scrollbar {
    display: none;
}

.drag-gallery-container.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.drag-gallery-track {
    display: inline-flex;
    gap: var(--space-md);
    padding: 0 var(--space-lg);
}

.drag-gallery-item {
    flex-shrink: 0;
    width: 350px;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.drag-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.drag-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.drag-gallery-item:hover img {
    transform: scale(1.05);
}

.drag-hint {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.drag-hint svg {
    width: 20px;
    height: 20px;
    animation: drag-hint-pulse 2s ease-in-out infinite;
}

@keyframes drag-hint-pulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(10px);
        opacity: 1;
    }
}

/* ================================================
   STAGGERED LOAD ANIMATION
   ================================================ */
.stagger-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Apply stagger delays */
.stagger-item:nth-child(1) {
    transition-delay: 0.0s;
}

.stagger-item:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-item:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-item:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger-item:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger-item:nth-child(6) {
    transition-delay: 0.5s;
}

.stagger-item:nth-child(7) {
    transition-delay: 0.6s;
}

.stagger-item:nth-child(8) {
    transition-delay: 0.7s;
}

.stagger-item:nth-child(9) {
    transition-delay: 0.8s;
}

.stagger-item:nth-child(10) {
    transition-delay: 0.9s;
}

.stagger-item:nth-child(11) {
    transition-delay: 1.0s;
}

.stagger-item:nth-child(12) {
    transition-delay: 1.1s;
}

/* ================================================
   PORTFOLIO HERO - MOSAIC
   ================================================ */
.mosaic-hero-bg {
    height: 100vh !important;
    /* Override standard hero height */
    min-height: 800px;
    background: #000;
}

.mosaic-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Base Portrait */
.mosaic-base-portrait {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

.mosaic-base-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Focus on face */
    filter: grayscale(100%) contrast(1.2) brightness(0.9);
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}

/* Mosaic Grid */
/* Mosaic Grid */
.mosaic-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 4px;
    /* Tiny gap for mosaic feel */
    z-index: 3;
    padding: 2rem;
    pointer-events: none;
    /* Let clicks pass through empty spaces */
}

/* ... (skipping items) ... */



/* Mosaic Items */
.mosaic-item {
    position: relative;
    overflow: hidden;
    opacity: 0;
    /* Start hidden for animation */
    animation: mosaicFadeIn 1.5s ease forwards;
    pointer-events: auto;
    /* Catch clicks on actual items */
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

/* Double Exposure Effect */
.mosaic-item {
    mix-blend-mode: overlay;
    /* The magic blender */
    opacity: 0.5;
}

/* Hover Effect: Bring color back */
.mosaic-item:hover {
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    z-index: 10;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-sm);
}

.mosaic-item:hover img {
    filter: grayscale(0%) !important;
}

/* Grid Positioning (Masonry-ish) */
/* Left side (Text area) - keep sparse or empty */
.item-1 {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
    animation-delay: 0.1s;
}

.item-2 {
    grid-column: 10 / span 2;
    grid-row: 1 / span 2;
    animation-delay: 0.2s;
}

.item-3 {
    grid-column: 7 / span 2;
    grid-row: 5 / span 2;
    animation-delay: 0.3s;
}

.item-4 {
    grid-column: 11 / span 2;
    grid-row: 2 / span 3;
    animation-delay: 0.4s;
}

.item-5 {
    grid-column: 5 / span 2;
    grid-row: 7 / span 2;
    animation-delay: 0.5s;
}

.item-6 {
    grid-column: 5 / span 2;
    grid-row: 2 / span 2;
    animation-delay: 0.6s;
}

.item-7 {
    grid-column: 2 / span 2;
    grid-row: 7 / span 2;
    animation-delay: 0.7s;
    opacity: 0.3;
}

/* Subtle on left */
.item-8 {
    grid-column: 11 / span 2;
    grid-row: 7 / span 2;
    animation-delay: 0.8s;
}

/* On top of head */
/* On top of head */
.item-9 {
    grid-column: 8 / span 2;
    grid-row: 1 / span 2;
    animation-delay: 0.9s;
}

/* Overlay gradient for text readability */
.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(10, 10, 10, 1) 0%,
            rgba(10, 10, 10, 0.8) 40%,
            rgba(10, 10, 10, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through to grid */
}

/* Adjust content index */
.page-header .hero-content {
    z-index: 4;
    position: relative;
    text-align: left;
    max-width: 600px;
    margin-left: var(--space-xl);
    pointer-events: none;
    /* Let clicks pass through container */
}

.page-header .hero-content>* {
    pointer-events: auto;
    /* Re-enable clicks on text/buttons */
}

.page-header .hero-content p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

/* Animations */
@keyframes mosaicFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 0.5;
        transform: scale(1);
    }

    /* End state matches default opacity */
}

/* Responsive */
@media (max-width: 1024px) {
    .page-header .hero-content {
        max-width: 450px;
        margin-left: var(--space-xl);
    }

    .item-1 {
        grid-column: 8 / span 3;
    }

    .item-2 {
        grid-column: 11 / span 2;
    }

    .item-3 {
        grid-column: 7 / span 2;
    }

    .item-4 {
        grid-column: 10 / span 2;
        grid-row: 3 / span 3;
    }

    .item-5 {
        grid-column: 8 / span 2;
    }

    .item-6 {
        grid-column: 7 / span 2;
    }

    .item-7 {
        grid-column: 10 / span 2;
    }

    .item-8 {
        grid-column: 11 / span 2;
    }

    .item-9 {
        grid-column: 9 / span 2;
    }

    .mosaic-base-portrait {
        width: 60%;
        opacity: 0.5;
    }
}

@media (max-width: 900px) {
    .mosaic-base-portrait {
        width: 100%;
        mask-image: linear-gradient(to bottom, transparent, black 80%);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 80%);
        opacity: 0.4;
    }

    .mosaic-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 2px;
    }

    /* Mobil Grid shifts */
    .item-1 {
        grid-column: 4 / span 2;
        grid-row: 2 / span 2;
    }

    .item-2 {
        grid-column: 1 / span 2;
        grid-row: 6 / span 2;
    }

    .item-3 {
        grid-column: 5 / span 2;
        grid-row: 5 / span 2;
    }

    .item-4 {
        grid-column: 2 / span 2;
        grid-row: 3 / span 2;
    }

    .page-header .hero-content {
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 480px) {

    /* Reduce padding container */
    .container {
        padding: 0 var(--space-sm);
    }

    /* Simplify Mosaic Grid for Mobile */
    .mosaic-grid {
        display: none;
        /* Hide complex grid on very small screens for better performance/look */
    }

    .mosaic-base-portrait {
        width: 100%;
        opacity: 0.6;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .mosaic-base-portrait img {
        object-position: center;
    }

    /* Typography Adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Ensure form inputs are easy to tap */
    .form-control {
        font-size: 16px;
        /* Prevents iOS zoom */
        padding: 12px;
    }
}

/* ================================================
   VIDEO SOUND CONTROL
   ================================================ */
.sound-toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.sound-toggle-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

.sound-toggle-btn svg {
    width: 20px;
    height: 20px;
}