/* FRAME X - Razor-Sharp Luxury Photography Studio */

:root {
    /* Platinum Print Color Palette */
    --canvas: #0A0A0A; /* Rich, deep black */
    --light-source: #FFFFFF; /* Pure White */
    --sharpness: #C0C0C0; /* Platinum Silver */
    --corporate-accent: #0033FF; /* International Klein Blue */

    /* Typography System */
    --font-elegant: 'Gambetta', serif;
    --font-technical: 'Neue Montreal', sans-serif;

    /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Transitions */
    --transition-sharp: 0.1s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Borders */
    --border-platinum: 1px solid var(--sharpness);
    --border-focus: 2px solid var(--sharpness);

    /* Diagonal Slice Angle */
    --slice-angle: 15deg;
}

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

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

body {
    font-family: var(--font-technical);
    background: var(--canvas);
    color: var(--light-source);
    line-height: 1.4;
    overflow-x: hidden;
    cursor: crosshair;
}

/* Zero Radius Rule - NO rounded corners anywhere */
* {
    border-radius: 0 !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--canvas);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.frame-x-loader {
    position: relative;
    width: 200px;
    height: 200px;
}

.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--sharpness);
    opacity: 0;
}

.corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    transform: translate(-100px, -100px);
}

.corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    transform: translate(100px, -100px);
}

.corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    transform: translate(-100px, 100px);
}

.corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    transform: translate(100px, 100px);
}

.x-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
}

.frame-text {
    display: block;
    font-family: var(--font-elegant);
    font-size: 2rem;
    font-weight: 300;
    color: var(--light-source);
    letter-spacing: 0.3em;
}

.x-text {
    display: block;
    font-family: var(--font-technical);
    font-size: 2.5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--sharpness);
    letter-spacing: 0.1em;
}

/* Loading Animation */
@keyframes cornerSlam {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes topLeftCorner {
    0% {
        transform: translate(-100px, -100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes topRightCorner {
    0% {
        transform: translate(100px, -100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes bottomLeftCorner {
    0% {
        transform: translate(-100px, 100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes bottomRightCorner {
    0% {
        transform: translate(100px, 100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-platinum);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.frame-brand {
    color: var(--light-source);
    font-family: var(--font-elegant);
    font-weight: 300;
}

.x-brand {
    color: transparent;
    -webkit-text-stroke: 1px var(--sharpness);
    font-family: var(--font-technical);
    font-weight: 900;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--light-source);
    text-decoration: none;
    font-family: var(--font-technical);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sharpness);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--sharpness);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--light-source);
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.5) saturate(0.8); /* Bleach bypass effect */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

/* Shutter Animation */
.shutter-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.shutter-blade {
    position: absolute;
    background: var(--light-source);
    transform-origin: center;
    transition: transform 0.1s ease-out;
}

.shutter-blade.horizontal-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    transform: translateY(-100%);
}

.shutter-blade.horizontal-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    transform: translateY(100%);
}

.shutter-blade.vertical-left {
    top: 0;
    left: 0;
    width: 50vw;
    height: 100%;
    transform: translateX(-100%);
}

.shutter-blade.vertical-right {
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    transform: translateX(100%);
}

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

@keyframes shutterOpen {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
}

.hero-title {
    font-family: var(--font-elegant);
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(50px);
}

.title-main {
    display: block;
    color: var(--light-source);
}

.title-accent {
    display: block;
    color: var(--sharpness);
    font-weight: 700;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0;
    pointer-events: none;
}

.logo-corners {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-elegant);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-source);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-family: var(--font-technical);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--sharpness);
    text-transform: uppercase;
}

/* Wedding Portfolio - Horizontal Scroll */
.weddings-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--canvas);
}

.wedding-strips {
    display: flex;
    gap: var(--space-2xl);
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--space-lg) var(--space-2xl);
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.wedding-strips::-webkit-scrollbar {
    display: none; /* WebKit */
}

.story-strip {
    flex: 0 0 auto;
    width: 100vw;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.strip-header {
    padding: var(--space-lg) 0;
    text-align: center;
    border-bottom: var(--border-platinum);
    margin-bottom: var(--space-lg);
}

.strip-header h3 {
    font-family: var(--font-elegant);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-source);
    margin-bottom: var(--space-xs);
}

.location {
    font-family: var(--font-technical);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--sharpness);
    text-transform: uppercase;
}

.story-section {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.story-section.full-screen {
    height: 80vh;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Enhanced Image Loading Styles */
img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

img.loading {
    opacity: 0.3;
    filter: blur(5px);
}

img.loaded {
    opacity: 1;
    filter: none;
}

img.error {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Diagonal Fracture Section */
.fracture-section {
    height: 60vh;
}

.fracture-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    height: 100%;
    background: var(--sharpness);
    padding: 2px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
    transform: skewY(var(--slice-angle));
}

.fracture-piece {
    position: relative;
    overflow: hidden;
    transform: skewY(calc(var(--slice-angle) * -1));
}

.fracture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    font-family: var(--font-technical);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-source);
    background: rgba(10, 10, 10, 0.8);
    padding: var(--space-sm) var(--space-md);
}

/* Video Section */
.video-section {
    height: 60vh;
    position: relative;
}

.video-player {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: var(--border-platinum);
}

.wedding-teaser {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal);
}

.video-player:hover .video-overlay {
    background: rgba(10, 10, 10, 0.5);
}

.play-btn {
    width: 80px;
    height: 80px;
    border: 2px solid var(--sharpness);
    background: transparent;
    color: var(--light-source);
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: var(--light-source);
    color: var(--canvas);
}

.video-overlay h4 {
    font-family: var(--font-technical);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-source);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 100;
}

.scroll-text {
    font-family: var(--font-technical);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sharpness);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--sharpness);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Film Theatre */
.films-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--canvas);
}

.films-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bokeh-container {
    width: 100%;
    height: 100%;
    filter: blur(40px);
    opacity: 0.3;
}

.main-video-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto var(--space-2xl);
    z-index: 2;
}

.video-frame {
    border: var(--border-platinum);
    background: var(--canvas);
    overflow: hidden;
}

.video-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

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

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.control-btn {
    background: transparent;
    border: var(--border-platinum);
    color: var(--light-source);
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.control-btn:hover {
    background: var(--light-source);
    color: var(--canvas);
}

.progress-bar {
    flex: 1;
    height: 2px;
    background: rgba(192, 192, 192, 0.3);
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--sharpness);
    transition: width 0.1s linear;
}

.film-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    z-index: 2;
    position: relative;
}

.film-item {
    background: var(--canvas);
    border: var(--border-platinum);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.film-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.2);
}

.film-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.film-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
}

.film-item:hover .film-thumbnail img {
    filter: grayscale(0%);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.film-item:hover .play-overlay {
    opacity: 1;
}

.film-item h4 {
    font-family: var(--font-technical);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--light-source);
    padding: var(--space-md);
    margin: 0;
}

.duration {
    display: block;
    font-family: var(--font-technical);
    font-size: 0.8rem;
    color: var(--sharpness);
    padding: 0 var(--space-md) var(--space-md);
}

/* Corporate Wing */
.corporate-section {
    padding: var(--space-4xl) 0;
    background: #1A1A1A; /* Stark, cool grey shift */
}

.bento-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 2px;
    background: var(--sharpness);
    padding: 2px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--canvas);
    transition: all var(--transition-normal);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.corporate-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter var(--transition-normal);
}

.bento-item:hover .corporate-image {
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.bento-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-family: var(--font-technical);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--corporate-accent);
    margin-bottom: var(--space-sm);
}

.project-overlay p {
    font-family: var(--font-technical);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--sharpness);
    margin: var(--space-xs) 0;
    text-transform: uppercase;
}

/* Contact - Call Sheet */
.contact-section {
    padding: var(--space-4xl) 0;
    background: var(--canvas);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.call-sheet-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-field label {
    font-family: var(--font-technical);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--sharpness);
    text-transform: uppercase;
}

.field-input {
    position: relative;
}

.field-input input,
.field-input textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: var(--border-platinum);
    color: var(--light-source);
    font-family: var(--font-technical);
    font-size: 1rem;
    padding: var(--space-sm) 0;
    outline: none;
    transition: all var(--transition-normal);
}

.field-input input:focus,
.field-input textarea:focus {
    border-bottom-color: var(--light-source);
}

.field-input input::placeholder,
.field-input textarea::placeholder {
    color: rgba(192, 192, 192, 0.5);
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--light-source);
    transition: width var(--transition-normal);
}

.field-input:focus .underline {
    width: 100%;
}

.event-type-toggle {
    display: flex;
    gap: var(--space-sm);
}

.toggle-btn {
    background: transparent;
    border: var(--border-platinum);
    color: var(--light-source);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-technical);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.toggle-btn.active,
.toggle-btn:hover {
    background: var(--light-source);
    color: var(--canvas);
    border-color: var(--light-source);
}

.submit-btn {
    position: relative;
    background: transparent;
    border: var(--border-platinum);
    color: var(--light-source);
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-technical);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: var(--space-lg);
}

.submit-btn:hover {
    background: var(--light-source);
    color: var(--canvas);
}

.btn-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--light-source);
    transform: scale(1.05);
    opacity: 0;
    transition: all var(--transition-normal);
    pointer-events: none;
}

.submit-btn:hover .btn-border {
    opacity: 1;
    transform: scale(1.1);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.info-item h3 {
    font-family: var(--font-technical);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--light-source);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.info-detail {
    font-family: var(--font-technical);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sharpness);
    margin: 0;
}

.social-links {
    display: flex;
    gap: var(--space-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    border: var(--border-platinum);
    color: var(--light-source);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--light-source);
    color: var(--canvas);
}

/* Footer */
.footer {
    background: var(--canvas);
    border-top: var(--border-platinum);
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-technical);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--light-source);
    margin-bottom: var(--space-sm);
}

.footer-content p {
    font-family: var(--font-technical);
    font-size: 0.8rem;
    color: var(--sharpness);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* X-Cut Transition */
.x-cut-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
}

.x-cut-top-left,
.x-cut-bottom-right {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--canvas);
}

.x-cut-top-left {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.x-cut-bottom-right {
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

/* Flash Effect */
.flash-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-source);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
}

/* Data Entry Text Loading Animation */
@keyframes typeWriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typewriter-text {
    overflow: hidden;
    white-space: nowrap;
    animation: typeWriter 2s steps(40, end);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 0 var(--space-lg);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .bento-item.large {
        grid-column: span 2;
    }

    .wedding-strips {
        padding: var(--space-md);
    }

    .film-gallery {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .fracture-images {
        grid-template-columns: 1fr;
        height: auto;
    }

    .fracture-piece {
        height: 200px;
    }

    .event-type-toggle {
        flex-direction: column;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--sharpness);
}

/* Selection */
::selection {
    background: var(--sharpness);
    color: var(--canvas);
}

::-moz-selection {
    background: var(--sharpness);
    color: var(--canvas);
}