/* Modern Dark Theme Variables */
:root {
    --primary-color: #e91e63;
    --primary-light: #f8bbd9;
    --primary-dark: #c2185b;
    --secondary-color: #ff4081;
    --accent-color: #f50057;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --background: #0a0a0a;
    --surface: rgba(20, 20, 20, 0.8);
    --surface-hover: rgba(30, 30, 30, 0.9);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(233, 30, 99, 0.3);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 70px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #0f0f0f 50%, #1a1a1a 75%, #0a0a0a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(233, 30, 99, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 64, 129, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 0, 87, 0.04) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="noise" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23000"/><circle cx="20" cy="20" r="1" fill="%23fff" opacity="0.02"/><circle cx="80" cy="40" r="0.5" fill="%23fff" opacity="0.01"/><circle cx="40" cy="80" r="1.5" fill="%23fff" opacity="0.015"/><circle cx="90" cy="90" r="0.8" fill="%23fff" opacity="0.01"/></pattern></defs><rect width="100" height="100" fill="url(%23noise)"/></svg>');
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

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

/* Floating Elements Background */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-elements .heart,
.floating-elements .rose,
.floating-elements .sparkle {
    position: absolute;
    font-size: 24px;
    animation: float 8s ease-in-out infinite;
    opacity: 0.1;
    filter: drop-shadow(0 4px 12px rgba(233, 30, 99, 0.3));
}

.floating-elements .heart:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-elements .heart:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.floating-elements .heart:nth-child(3) {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.floating-elements .heart:nth-child(4) {
    top: 80%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.floating-elements .heart:nth-child(5) {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.floating-elements .rose:nth-child(6) {
    top: 70%;
    left: 70%;
    animation-delay: 5s;
    animation-duration: 7s;
}

.floating-elements .rose:nth-child(7) {
    top: 30%;
    left: 60%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.floating-elements .sparkle:nth-child(8) {
    top: 90%;
    left: 30%;
    animation-delay: 7s;
    animation-duration: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Modern Fixed Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(233, 30, 99, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    height: var(--nav-height);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
    text-shadow: 0 0 20px rgba(233, 30, 99, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(233, 30, 99, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle:hover {
    background: rgba(233, 30, 99, 0.1);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 80px) 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 64, 129, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
    font-family: 'Dancing Script', cursive;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(45deg, #fff, #f8bbd9, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6)); }
    100% { filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.9)); }
}

.hero-subtitle {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(233, 30, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
    border: 3px solid rgba(233, 30, 99, 0.3);
    backdrop-filter: blur(10px);
}

.icon-text {
    font-size: 3rem;
    animation: bounce 2s ease-in-out infinite;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.sparkle-container {
    display: flex;
    gap: 1rem;
}

.sparkle-container .sparkle {
    font-size: 2rem;
    animation: twinkle 2s ease-in-out infinite;
    color: var(--primary-color);
}

.sparkle-container .sparkle:nth-child(1) { animation-delay: 0s; }
.sparkle-container .sparkle:nth-child(2) { animation-delay: 0.5s; }
.sparkle-container .sparkle:nth-child(3) { animation-delay: 1s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Gallery Section Enhancement */
.gallery-section {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.4) 0%, rgba(20, 20, 20, 0.2) 100%),
        radial-gradient(circle at 30% 20%, rgba(233, 30, 99, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
    position: relative;
}

/* Additional Love Effects for Gallery */
.gallery-container {
    position: relative;
    padding: 2rem 0;
}

/* Floating Love Particles */
.gallery-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 182, 193, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Love Corner Decorations */
.gallery-container::after {
    content: '💕 💖 💝';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: cornerLove 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes cornerLove {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(180deg); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Dancing Script', cursive;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    background: linear-gradient(45deg, #fff, #f8bbd9, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

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

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

/* Ultra-Modern Gallery Grid System - Hanging Photo Wall */
.gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 2rem !important;
    padding: 2rem 0 !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Hanging Thread Effect */
.gallery::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(147, 51, 234, 0.3) 20%, 
        rgba(168, 85, 247, 0.3) 40%, 
        rgba(147, 51, 234, 0.3) 60%, 
        rgba(168, 85, 247, 0.3) 80%, 
        transparent 100%);
    border-radius: 20px;
    box-shadow: 
        0 0 20px rgba(147, 51, 234, 0.5),
        0 0 40px rgba(168, 85, 247, 0.3);
    z-index: 1;
}

/* Floating Love Elements */
.gallery::after {
    content: '💜 💖 💝 💗 💓 🌹 🌺 ✨';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.5rem;
    animation: floatLove 6s ease-in-out infinite;
    z-index: 2;
    text-shadow: 0 0 20px rgba(147, 51, 234, 0.8);
}

@keyframes floatLove {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-15px) rotate(180deg); opacity: 1; }
}

/* Option 1: Hanging Photo Wall Grid (Default) */
.gallery.masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    width: 100% !important;
}

/* Option 2: Pinterest-Style Grid */
.gallery.pinterest-grid {
    display: block !important;
    columns: 4 !important;
    column-gap: 1.5rem !important;
}

.gallery.pinterest-grid .photo-card {
    break-inside: avoid !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
    width: 100% !important;
}

/* Option 3: Modern Card Grid */
.gallery.modern-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    width: 100% !important;
}

/* Option 4: Hexagonal Grid (Very Modern) */
.gallery.hex-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
    padding: 2rem 0 !important;
    width: 100% !important;
}

.gallery.hex-grid .photo-card {
    width: 300px !important;
    height: 380px !important;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;
    border-radius: 0 !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery.hex-grid .photo-card:hover {
    transform: scale(1.1) rotate(5deg) !important;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;
}

/* Option 5: Staggered Grid (Instagram Style) */
.gallery.staggered-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

/* Option 6: Dynamic Grid with Hover Effects */
.gallery.dynamic-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    width: 100% !important;
}

.gallery.dynamic-grid .photo-card {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.gallery.dynamic-grid .photo-card:hover {
    transform: scale(1.05) translateY(-15px) rotateY(10deg) !important;
    z-index: 10 !important;
}

/* Option 7: Glassmorphism Grid */
.gallery.glass-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 2.5rem !important;
    width: 100% !important;
}

/* Responsive adjustments for all grid types */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery.pinterest-grid {
        columns: 3;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery.pinterest-grid {
        columns: 2;
    }
    
    .gallery.hex-grid .photo-card {
        width: 200px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery.pinterest-grid {
        columns: 1;
    }
    
    .gallery.hex-grid .photo-card {
        width: 150px;
        height: 220px;
    }
}

/* Authentic String Lights with Real Wire and Light Bulbs */
.photo-card {
    background: linear-gradient(145deg, #e6e6fa, #d8bfd8);
    border-radius: 8px;
    overflow: visible;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 2px solid rgba(186, 85, 211, 0.5);
    display: flex;
    flex-direction: column;
    margin-top: 90px;
    transform-style: preserve-3d;
}

/* Real Wire Strands */
.photo-card .wire-strands {
    position: absolute;
    top: -90px;
    left: -40px;
    right: -40px;
    height: 90px;
    z-index: 1;
}

/* Top Wire Strand */
.photo-card .wire-strands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: 
        repeating-linear-gradient(
            90deg,
            #1a1a1a 0px,
            #1a1a1a 8px,
            #333 8px,
            #333 10px,
            #1a1a1a 10px,
            #1a1a1a 18px,
            #333 18px,
            #333 20px
        );
    border-radius: 1px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Middle Wire Strand */
.photo-card .wire-strands::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: 
        repeating-linear-gradient(
            90deg,
            #1a1a1a 0px,
            #1a1a1a 8px,
            #333 8px,
            #333 10px,
            #1a1a1a 10px,
            #1a1a1a 18px,
            #333 18px,
            #333 20px
        );
    border-radius: 1px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Bottom Wire Strand */
.photo-card .wire-strands .bottom-wire {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: 
        repeating-linear-gradient(
            90deg,
            #1a1a1a 0px,
            #1a1a1a 8px,
            #333 8px,
            #333 10px,
            #1a1a1a 10px,
            #1a1a1a 18px,
            #333 18px,
            #333 20px
        );
    border-radius: 1px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Realistic Light Bulbs */
.photo-card .light-bulbs {
    position: absolute;
    top: -85px;
    left: 0;
    right: 0;
    z-index: 2;
}

/* Top strand light bulbs */
.photo-card .light-bulbs::before {
    content: '● ● ● ● ●';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 20px;
    color: #ffeb3b;
    text-shadow: 
        0 0 10px #ffeb3b,
        0 0 20px #ffeb3b,
        0 0 30px #ffeb3b;
    animation: lightBulbGlow 2s ease-in-out infinite;
}

/* Middle strand light bulbs */
.photo-card .light-bulbs::after {
    content: '● ● ● ● ●';
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 20px;
    color: #ff5722;
    text-shadow: 
        0 0 10px #ff5722,
        0 0 20px #ff5722,
        0 0 30px #ff5722;
    animation: lightBulbGlow 2s ease-in-out infinite 1s;
}

/* Bottom strand light bulbs */
.photo-card .light-bulbs .bottom-bulbs {
    content: '● ● ● ● ●';
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 20px;
    color: #9c27b0;
    text-shadow: 
        0 0 10px #9c27b0,
        0 0 20px #9c27b0,
        0 0 30px #9c27b0;
    animation: lightBulbGlow 2s ease-in-out infinite 2s;
}

@keyframes lightBulbGlow {
    0%, 100% { 
        text-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor;
        transform: scale(1);
    }
    50% { 
        text-shadow: 
            0 0 15px currentColor,
            0 0 30px currentColor,
            0 0 45px currentColor;
        transform: scale(1.1);
    }
}

/* Warm String Lights */
.photo-card .string-lights {
    position: absolute;
    top: -75px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

/* Top strand lights */
.photo-card .string-lights::before {
    content: '💡 ✨ 💡 ✨ 💡';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 0.7rem;
    filter: drop-shadow(0 0 8px rgba(244, 208, 63, 0.8));
    animation: stringLights 4s ease-in-out infinite;
}

/* Middle strand lights */
.photo-card .string-lights::after {
    content: '🌟 💫 🌟 💫 🌟';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    font-size: 0.7rem;
    filter: drop-shadow(0 0 8px rgba(231, 76, 60, 0.8));
    animation: stringLights 4s ease-in-out infinite 2s;
}

@keyframes stringLights {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(244, 208, 63, 0.8));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(244, 208, 63, 1));
        transform: scale(1.1);
    }
}

/* Realistic Wooden Clips */
.photo-card .wooden-clip {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 20px;
    background: linear-gradient(145deg, #8b4513, #a0522d);
    border-radius: 6px 6px 0 0;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 3;
    animation: clipHang 4s ease-in-out infinite;
}

/* Clip Spring Detail */
.photo-card .wooden-clip::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 12px;
    background: linear-gradient(145deg, #654321, #8b4513);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Clip Opening */
.photo-card .wooden-clip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 80%, 
        transparent 100%);
    border-radius: 6px 6px 0 0;
}

/* Clip Connection to Light Strand */
.photo-card .wooden-clip .clip-connection {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, #8b4513, #a0522d);
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes clipHang {
    0%, 100% { transform: translateX(-50%) rotate(-1deg); }
    50% { transform: translateX(-50%) rotate(1deg); }
}

/* Hover effects for clips */
.photo-card:hover .wooden-clip {
    animation: clipHang 1s ease-in-out infinite;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Photo Clips */
.photo-card .photo-clip {
    position: absolute;
    top: -45px;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.photo-card .photo-clip::before {
    content: '📎';
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: clipSwing 4s ease-in-out infinite;
}

@keyframes clipSwing {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.photo-card:hover {
    transform: translateY(-8px) rotateY(3deg);
    box-shadow: 
        0 12px 30px rgba(186, 85, 211, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(186, 85, 211, 0.6);
    border-color: rgba(186, 85, 211, 0.8);
}

.photo-card:hover .wire-strands {
    box-shadow: 
        0 3px 12px rgba(44, 24, 16, 0.6),
        inset 0 1px 0 rgba(186, 85, 211, 0.4);
}

.photo-card:hover .wooden-clip {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(186, 85, 211, 0.4);
}

.photo-card:hover .photo-clip::before {
    animation: clipSwing 1s ease-in-out infinite;
}

/* Retro Photo Image Container */
.photo-image {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    flex-shrink: 0;
    border: 2px solid rgba(186, 85, 211, 0.6);
    border-bottom: none;
    background: linear-gradient(145deg, #f0e6ff, #e6e6fa);
    margin: 0 4px;
    margin-top: 2px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(186, 85, 211, 0.3);
}

.photo-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(147, 51, 234, 0.05) 0%,
        transparent 50%,
        rgba(168, 85, 247, 0.05) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-image::before {
    opacity: 1;
}

/* Auto-adjust height for better face display */
.photo-image.portrait {
    height: 480px;
}

.photo-image.landscape {
    height: 380px;
}

.photo-image.square {
    height: 420px;
}

/* Force face positioning for better visibility */
.photo-image.portrait img {
    object-position: center center !important;
}

.photo-image.landscape img {
    object-position: center 20% !important;
}

.photo-image.square img {
    object-position: center center !important;
}

/* Additional face positioning improvements */
.photo-image img {
    object-fit: cover !important;
    object-position: center 25% !important;
}

/* Ensure face positioning is applied */
.photo-image.portrait img {
    object-position: center center !important;
}

.photo-image.landscape img {
    object-position: center 20% !important;
}

.photo-image.square img {
    object-position: center center !important;
}

/* Better face display for different image orientations */
.photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: contrast(1.1) saturate(1.1);
}

/* Portrait images - center faces */
.photo-image.portrait img {
    object-position: center center;
}

/* Landscape images - focus on upper portion for faces */
.photo-image.landscape img {
    object-position: center 20%;
}

/* Square images - center focus */
.photo-image.square img {
    object-position: center center;
}

/* Hover effect for better face visibility */
.photo-card:hover .photo-image img {
    transform: scale(1.15);
    filter: contrast(1.2) saturate(1.2);
}

/* Enhanced hover positioning for faces */
.photo-card:hover .photo-image.portrait img {
    object-position: center center;
}

.photo-card:hover .photo-image.landscape img {
    object-position: center 15%;
}

.photo-card:hover .photo-image.square img {
    object-position: center center;
}

/* Retro Photo Info */
.photo-info {
    padding: 0.25rem;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    background: linear-gradient(145deg, #f0e6ff, #e6e6fa);
    border-radius: 0 0 6px 6px;
    position: relative;
    border: 2px solid rgba(186, 85, 211, 0.6);
    border-top: none;
    margin: 0 4px;
    margin-bottom: 2px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(186, 85, 211, 0.3);
}

/* Retro Love Sparkles */
.photo-info::before {
    content: '✨ 💜 🌹';
    position: absolute;
    top: -12px;
    right: 6px;
    font-size: 0.6rem;
    opacity: 0.5;
    animation: retroSparkle 3s ease-in-out infinite;
}

@keyframes retroSparkle {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2) rotate(180deg); 
    }
}

.photo-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.1;
    font-family: 'Dancing Script', cursive;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    background: linear-gradient(45deg, #4a4a4a, #6b46c1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-description {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.2;
    opacity: 0.9;
    flex: 1;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: rgba(15, 15, 15, 0.3);
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(15px);
}

.stat:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.stat p {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
}

/* Loading styles */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin-bottom: 1.5rem;
    position: relative;
}

.loading-spinner::before {
    content: '💖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.loading p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ultra-Modern Lightbox System */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    z-index: 1000;
    backdrop-filter: blur(30px);
    animation: lightboxFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(30px);
    }
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxContentSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxContentSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(233, 30, 99, 0.3),
        0 0 80px rgba(233, 30, 99, 0.2);
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-image-container::before {
    content: '💫';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    opacity: 0;
    animation: starFloat 4s ease-in-out infinite;
    animation-delay: 1s;
    filter: drop-shadow(0 6px 15px rgba(255, 215, 0, 0.9));
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.lightbox.active .lightbox-image-container::before {
    opacity: 1;
}

@keyframes starFloat {
    0%, 100% { 
        transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); 
    }
    50% { 
        transform: translateX(-50%) translateY(-20px) rotate(180deg) scale(1.3); 
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 24px;
    border: 4px solid rgba(233, 30, 99, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
}

.lightbox-image:hover {
    border-color: rgba(233, 30, 99, 0.8);
    transform: scale(1.03);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
}

/* Sophisticated Lightbox Controls */
.lightbox-close {
    position: absolute;
    top: -70px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -90px;
}

.lightbox-next {
    right: -90px;
}

.lightbox-info {
    margin-top: 2rem;
    color: white;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 3rem;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lightbox-counter {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 600;
    color: var(--text-primary);
}

/* Ultra-Modern Footer with Dark Theme */
.footer {
    background: linear-gradient(135deg, 
        rgba(233, 30, 99, 0.15) 0%, 
        rgba(255, 64, 129, 0.1) 50%, 
        rgba(245, 0, 87, 0.15) 100%);
    color: var(--text-primary);
    padding: 3rem 1rem;
    text-align: center;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern-modern" patternUnits="userSpaceOnUse" width="25" height="25"><path d="M12.5 18.75c-2.5-3.75-5-7.5-5-10a5 5 0 0 1 10 0c0 2.5-2.5 6.25-5 10z" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern-modern)"/></svg>');
    opacity: 0.5;
    animation: footerPattern 30s linear infinite reverse;
}

@keyframes footerPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-25px) translateY(-25px); }
}

.footer-content {
    position: relative;
    z-index: 1;
    animation: footerContentFadeIn 2.5s ease-out;
}

@keyframes footerContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    background: linear-gradient(45deg, #fff, #f8bbd9, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: footerTextGlow 5s ease-in-out infinite alternate;
    letter-spacing: -0.01em;
}

@keyframes footerTextGlow {
    0% { 
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
    100% { 
        filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.8));
    }
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.footer-heart {
    font-size: 2.5rem;
    animation: footerHeartFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));
    transition: all 0.4s ease;
    text-shadow: 0 0 25px rgba(233, 30, 99, 0.6);
}

.footer-heart:hover {
    transform: scale(1.4) rotate(20deg);
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.6));
    text-shadow: 0 0 35px rgba(233, 30, 99, 0.8);
}

.footer-heart:nth-child(1) { animation-delay: 0s; }
.footer-heart:nth-child(2) { animation-delay: 1.7s; }
.footer-heart:nth-child(3) { animation-delay: 3.4s; }

@keyframes footerHeartFloat {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) scale(1.15) rotate(8deg); 
    }
    50% { 
        transform: translateY(-10px) scale(1.08) rotate(-5deg); 
    }
    75% { 
        transform: translateY(-20px) scale(1.2) rotate(12deg); 
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(233, 30, 99, 0.2);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(233, 30, 99, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(233, 30, 99, 0.1);
        color: var(--primary-color);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle:hover {
        background: rgba(233, 30, 99, 0.1);
    }
    
    .nav-toggle:active {
        transform: scale(0.95);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: calc(var(--nav-height) + 60px) 0 60px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .lightbox-nav {
        position: fixed;
        top: auto;
        bottom: 20px;
        transform: none;
        background: rgba(255, 255, 255, 0.2);
        padding: 0.75rem;
        font-size: 1.5rem;
        min-width: 50px;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: calc(var(--nav-height) + 40px) 0 40px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        line-height: 1.4;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .icon-text {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .photo-card {
        border-radius: 16px;
        max-height: 280px;
        aspect-ratio: 3/4;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .gallery-filters {
        gap: 0.6rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 25px;
    }
    
    .about-stats {
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
        border-radius: 20px;
    }
    
    .stat-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .stat h3 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 90%;
        margin: 1rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-info {
        padding: 1rem 2rem;
        margin-top: 1rem;
    }
    
    .lightbox-counter {
        font-size: 1rem;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-text {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-hearts {
        gap: 1.5rem;
    }
    
    .footer-heart {
        font-size: 2rem;
    }
}

/* Touch-friendly interactions for mobile */
@media (hover: none) and (pointer: coarse) {
    .photo-card:active {
        transform: scale(0.98);
    }
    
    .filter-btn:hover {
        transform: none;
    }
    
    .filter-btn:active {
        transform: scale(0.95);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .stat:hover {
        transform: none;
    }
    
    .stat:active {
        transform: scale(0.98);
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
        padding: calc(var(--nav-height) + 40px) 0 40px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .photo-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-elements .heart,
    .floating-elements .rose,
    .floating-elements .sparkle {
        animation: none;
    }
    
    .hero::before {
        animation: none;
    }
    
    .icon-circle {
        animation: none;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.filter-btn:focus,
.photo-card:focus,
.lightbox-close:focus,
.lightbox-nav:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.3);
        --shadow-hover: rgba(0, 0, 0, 0.5);
    }
}

/* Grid Style Selector */
.grid-style-selector {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.grid-btn {
    padding: 8px 16px;
    border: 2px solid rgba(147, 51, 234, 0.3);
    background: rgba(147, 51, 234, 0.1);
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.grid-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.grid-btn:hover::before {
    left: 100%;
}

.grid-btn.active,
.grid-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3);
}

/* Responsive adjustments for grid selector */
@media (max-width: 768px) {
    .grid-style-selector {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }
    
    .grid-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .grid-style-selector {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .grid-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        border-radius: 14px;
    }
}

/* Responsive Grid Adjustments */
@media (min-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}
