/* ==========================================================================
   Variables & Custom Properties
   ========================================================================== */
@font-face {
    font-family: 'Looking Flowers Script Pro';
    src: url('assets/LookingFlowers-ScriptPro.woff2') format('woff2'),
         url('assets/LookingFlowers-ScriptPro.woff') format('woff'),
         url('assets/LookingFlowers-ScriptPro.ttf') format('truetype'),
         url('assets/LookingFlowers-ScriptPro.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --primary-color: #c2b6a6;
    --primary-light: #d9d2c8;
    --secondary-color: #f7f5f3;
    --accent-color: #3b5e47;
    --accent-light: #4b7359;
    --text-color: #2d2d2d;
    --light-text: #ffffff;
    --dark-bg: #232323;
    --muted-text: #666666;
    --card-bg: #ffffff;
    
    /* Typography */
    --font-primary: 'Poiret One', sans-serif;
    --font-script: 'Looking Flowers Script Pro', cursive;
    --font-size-base: 1.15rem;
    --line-height-base: 1.7;
    --letter-spacing-base: 0.01em;
    
    /* Spacing */
    --navbar-height-desktop: 80px;
    --navbar-height-mobile: 60px;
    --section-spacing: 100px;
    
    /* Effects */
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-base);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h1 { font-size: 3.5rem; margin-bottom: 0.5rem; }
h2 { 
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 0.5rem;
}
h3 { font-size: 2rem; color: var(--accent-color); }
h4 { font-size: 1.3rem; }

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
    font-size: var(--font-size-base);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover { color: var(--accent-light); }

/* ==========================================================================
   Layout & Components
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: var(--font-size-base);
    gap: 8px;
    letter-spacing: 0.03em;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--light-text);
}

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

.secondary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

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

/* Navigation */
#navbar {
    background-color: var(--secondary-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    transition: var(--transition);
    height: var(--navbar-height-desktop);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-text {
    font-family: var(--font-script);
    color: var(--accent-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.8;
    font-size: 2rem;
}

.logo-divider {
    width: 1.2rem;
    height: 2px;
    background-color: var(--accent-color);
    margin: 2px auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li { margin-left: 30px; }

.nav-links a {
    color: var(--accent-color);
    font-weight: 700;
    padding: 6px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 1.2rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 80%; }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 75vh;
    min-height: 480px;
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), 
                url('assets/titlebanner.jpg') no-repeat center 25%/cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    color: var(--light-text);
    width: 100%;
}

.hero-content {
    max-width: 600px;
    width: 100%;
    margin: 0 0 2vh 0;
    padding: 1.5rem;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-script);
    font-size: 4.2rem;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2.2rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero .survey-note {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin-top: 1.2rem;
}

/* Info Section */
.info {
    padding: var(--section-spacing) 0;
    background-color: var(--secondary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.info-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
    opacity: 0.9;
}

/* Timeline */
.timeline {
    margin-top: 20px;
}

.timeline-item {
    display: flex;
    margin-bottom: 15px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 60px;
    top: 25px;
    bottom: -15px;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.time {
    min-width: 120px;
    font-weight: 700;
    color: var(--accent-color);
}

/* Location Section */
.locations {
    padding: var(--section-spacing) 0;
    background-color: var(--secondary-color);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.location-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.location-details {
    margin-bottom: 25px;
}

.location-details p {
    margin: 10px 0;
    color: var(--muted-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-details i {
    color: var(--accent-color);
    width: 20px;
}

.map-container {
    margin-top: 25px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Masonry-like layout using CSS Columns */
:root {
  --gap: 16px;
  --col-width: 18rem; /* target column width; columns auto-fill responsively */
  --radius: 8px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: 140px;
    gap: 6px;
    max-width: 95vw;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f8f8;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Mosaic size variations */
.gallery-item-large {
    grid-row-end: span 2;
    grid-column-end: span 2;
}

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

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments for gallery */
@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        grid-auto-rows: 120px;
        gap: 4px;
    }

    /* Disable large items on mobile */
    .gallery-item-large {
        grid-row-end: span 1;
        grid-column-end: span 1;
    }

    .gallery-item-wide {
        grid-column-end: span 1;
    }
}

@media (min-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        grid-auto-rows: 130px;
    }
}

@media (min-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-auto-rows: 160px;
        gap: 8px;
    }
}

@media (min-width: 1600px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        grid-auto-rows: 180px;
        max-width: 98vw;
    }
}

@media (min-width: 2000px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        grid-auto-rows: 200px;
        max-width: 98vw;
    }
}

/* Override container width for full gallery section */
.photo-gallery.full-gallery .container {
    max-width: none;
    width: 100%;
    padding: 0;
}

/* Gallery Preview Styles */
.gallery-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.gallery-preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-preview-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.05);
}

.gallery-preview-actions {
    text-align: center;
    margin-top: 40px;
}

.gallery-preview-actions .btn {
    margin-bottom: 20px;
}

/* Gallery page header */
.gallery-page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.gallery-page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: var(--font-script);
}

.gallery-page-header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .gallery-preview-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }

    .gallery-page-header h1 {
        font-size: 2.2rem;
    }
}

/* Photo Upload */
.upload-section {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.upload-label {
    display: block;
    padding: 30px;
    border: 2px dashed var(--accent-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
}

.upload-label:hover {
    background-color: rgba(59, 94, 71, 0.1);
}

input[type="file"] { display: none; }

.file-list {
    text-align: left;
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.file-name {
    flex-grow: 1;
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
    width: 100%;
}

footer p {
    opacity: 0.8;
    font-size: 1rem;
}

/* Location Gallery */
.location-gallery {
    margin-bottom: 25px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main img.active {
    opacity: 1;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gallery-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnails img:hover {
    opacity: 0.8;
}

.gallery-thumbnails img.active {
    opacity: 1;
    border-color: var(--accent-color);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (min-width: 1600px) {
    .hero { background-position: center 25%; }
    .hero-content { margin-bottom: 4vh; }
}

@media (min-width: 2200px) {
    .hero { background-position: center 30%; }
}

@media (max-width: 900px) {
    :root {
        --section-spacing: 80px;
    }
    
    main { padding-top: var(--navbar-height-mobile); }
    
    .hero {
        margin-top: calc(-1 * var(--navbar-height-mobile));
        padding-top: var(--navbar-height-mobile);
    }
    
    #navbar {
        height: var(--navbar-height-mobile);
        background: rgba(255,255,255,0.95);
    }
    
    h2 { font-size: 2.4rem; }
    h3 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    .container { width: 95%; }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; margin-bottom: 2rem; }
    
    .hero h1 { font-size: 3rem; }
    .hero .date { font-size: 1.6rem; }
    .hero .tagline { font-size: 1.4rem; }
    
    .nav-links {
        position: fixed;
        top: var(--navbar-height-mobile);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height-mobile));
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active { left: 0; }
    
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 1.4rem; }
    .nav-links a::after { display: none; }
    
    .hamburger { display: flex; }
    
    .info-grid, .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card, .location-card { padding: 25px; }
    
    .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    
    .upload-section { padding: 25px; }
    
    .btn { padding: 10px 20px; }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item:not(:last-child)::after { display: none; }
    
    .time { margin-bottom: 5px; font-size: 1.2rem; }
    .event { font-size: 1.2rem; }
    
    .gallery-main {
        height: 250px;
    }
    
    .gallery-thumbnails img {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 380px) {
    .hero {
        background-position: center 12%;
        min-height: 260px;
    }
    
    .hero h1 { font-size: 1.8rem; }
    .hero .tagline { font-size: 1rem; margin-bottom: 1.2rem; }
    .hero .survey-note { font-size: 0.95rem; }
    
    .btn { padding: 8px 16px; font-size: 0.95rem; }
    
    h2 { font-size: 1.6rem; }
    .info-card h3 { font-size: 1.4rem; }
    p { font-size: 1rem; }
    
    .logo-text { font-size: 1.6rem; }
    .logo-divider { width: 1.2rem; height: 1px; }
}

/* ==========================================================================
   New Gallery & Upload Styles
   ========================================================================== */

/* Thank You Hero Section */
.thank-you-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('assets/titlebanner.jpg') no-repeat center 25%/cover;
    height: 75vh;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: var(--navbar-height-desktop) 0 4rem;
    position: relative;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(2px);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

.thank-you-title {
    margin-bottom: 2rem;
}

.script-text {
    font-family: var(--font-script);
    font-size: 5rem;
    color: var(--light-text);
    display: block;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.thank-you-subtitle {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    opacity: 0.95;
}

.couple-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.names {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--light-text);
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.wedding-date {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Gallery Controls */
.gallery-controls {
    padding: 4rem 0;
    background-color: var(--card-bg);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

.gallery-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-all-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--light-text);
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.download-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.gallery-stats {
    color: var(--muted-text);
    font-size: 1rem;
}

/* Photo Gallery - Optimized Masonry Layout for 600+ Images */
.photo-gallery {
    padding: 4rem 0;
    background-color: var(--secondary-color);
    position: relative;
}

.gallery-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: var(--muted-text);
}

.gallery-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Upload Section */
.upload-section {
    padding: 6rem 0;
    background-color: var(--card-bg);
}

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

.upload-header p {
    font-size: 1.2rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

.upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--secondary-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.upload-area:hover {
    border-color: var(--accent-color);
    background-color: rgba(195, 182, 166, 0.1);
}

.upload-area.drag-over {
    border-color: var(--accent-color);
    background-color: rgba(59, 94, 71, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.upload-area h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.upload-area p {
    color: var(--muted-text);
    margin-bottom: 0;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Progress Bars */
.upload-progress, .download-progress {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    width: 0%;
    transition: width 0.3s ease;
}

.upload-status {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.upload-success {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.upload-success i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--primary-light);
}

.modal-header h3 {
    margin: 0;
    color: var(--accent-color);
}

.modal-close {
    font-size: 2rem;
    color: var(--muted-text);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 2rem;
}

.progress-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .thank-you-hero {
        background-position: center 12%;
        height: 70vh;
        min-height: 400px;
        padding: var(--navbar-height-mobile) 0 2rem;
    }

    .thank-you-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .script-text {
        font-size: 3.5rem;
    }

    .thank-you-subtitle {
        font-size: 1.2rem;
    }

    .names {
        font-size: 2rem;
    }

    .gallery-actions {
        flex-direction: column;
        text-align: center;
    }

    .upload-area {
        padding: 3rem 1rem;
    }

    .modal {
        padding: 1rem;
    }

    .modal-content {
        margin: 0;
    }
}