/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #feca57;
    --accent-color: #ff9ff3;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --romantic-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --soft-pink: #ffeaa7;
    --light-purple: #dfe6e9;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(to bottom, #fff5f5, #ffe0e0);
}

/* Cieux flottants */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 20px;
    color: var(--primary-color);
    animation: float-up 15s infinite linear;
    opacity: 0.7;
}

.heart:nth-child(1) { left: 10%; animation-delay: 0s; font-size: 20px; }
.heart:nth-child(2) { left: 20%; animation-delay: 2s; font-size: 25px; }
.heart:nth-child(3) { left: 30%; animation-delay: 4s; font-size: 18px; }
.heart:nth-child(4) { left: 40%; animation-delay: 6s; font-size: 22px; }
.heart:nth-child(5) { left: 50%; animation-delay: 8s; font-size: 20px; }
.heart:nth-child(6) { left: 60%; animation-delay: 10s; font-size: 24px; }
.heart:nth-child(7) { left: 70%; animation-delay: 12s; font-size: 19px; }
.heart:nth-child(8) { left: 80%; animation-delay: 14s; font-size: 21px; }
.heart:nth-child(9) { left: 90%; animation-delay: 16s; font-size: 23px; }
.heart:nth-child(10) { left: 95%; animation-delay: 18s; font-size: 20px; }

.heart::before {
    content: '1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.heart:nth-child(1)::before { content: '\f004'; }
.heart:nth-child(2)::before { content: '\f004'; }
.heart:nth-child(3)::before { content: '\f004'; }
.heart:nth-child(4)::before { content: '\f004'; }
.heart:nth-child(5)::before { content: '\f004'; }
.heart:nth-child(6)::before { content: '\f004'; }
.heart:nth-child(7)::before { content: '\f004'; }
.heart:nth-child(8)::before { content: '\f004'; }
.heart:nth-child(9)::before { content: '\f004'; }
.heart:nth-child(10)::before { content: '\f004'; }

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-logo i {
    color: var(--primary-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--romantic-gradient);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,96C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.line-1 {
    display: block;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.line-2 {
    display: block;
    font-size: 3.5rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}

.hero-date {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.hero-date i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

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

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.photo-frame {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.placeholder-photo {
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid var(--text-light);
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-photo:hover {
    transform: scale(1.05);
}

.placeholder-photo:hover,
.hero-photo:hover {
    transform: scale(1.05);
}

.placeholder-photo i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.placeholder-photo span {
    color: var(--text-light);
    font-size: 1.5rem;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
    font-style: italic;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--text-light);
}

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

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.placeholder-img {
    height: 100%;
    background: var(--romantic-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.actual-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

/* Positionnement individuel des photos pour bien voir les visages */
.gallery-item:nth-child(1) .actual-photo {
    /* Ma Belle - IMG_0289 */
    object-position: center 15%;
}

.gallery-item:nth-child(3) .actual-photo {
    /* Mon Amour - IMG_0293 */
    object-position: center 20%;
}

.gallery-item:nth-child(5) .actual-photo {
    /* Voyages Ensemble - IMG 00011 */
    object-position: center 15%;
}

.gallery-item:nth-child(6) .actual-photo {
    /* Tendresse - PHOTO-2026-04-07-22-41-48 */
    object-position: center 10%;
}

.gallery-item:nth-child(7) .actual-photo {
    /* Moment Magique - PHOTO-2026-04-07-22-42-51 */
    object-position: center 15%;
}

.gallery-item:nth-child(9) .actual-photo {
    /* Préciosité - IMG_0296 */
    object-position: center 20%;
}

.gallery-item:nth-child(11) .actual-photo {
    /* Rêve Éveillé - IMG_0299 */
    object-position: center 15%;
}

.gallery-item:nth-child(12) .actual-photo {
    /* Lumière Divine - IMG_0300 */
    object-position: center 25%;
}

.gallery-item:nth-child(13) .actual-photo {
    /* Perfection Absolue - IMG_0301 */
    object-position: center 20%;
}

.gallery-item:nth-child(14) .actual-photo {
    /* Mon Étoile - IMG_0297 */
    object-position: center 18%;
}

.placeholder-img i,
.actual-photo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-img span {
    font-size: 1.2rem;
    font-weight: 600;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.gallery-item:hover .placeholder-img,
.gallery-item:hover .actual-photo {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    color: var(--text-light);
    padding: 1rem;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Dancing Script', cursive;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.overlay-content i {
    font-size: 2rem;
    color: var(--secondary-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Distance Section */
.distance-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.distance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,96C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.distance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.distance-map {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.heart-connection {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-point {
    position: relative;
    text-align: center;
    z-index: 2;
}

.pulse-point {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.pulse-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

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

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.location-point span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 1;
}

.traveling-heart {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: travel-heart 3s ease-in-out infinite;
}

.traveling-heart::before {
    content: '\uf004';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

@keyframes travel-heart {
    0% {
        left: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 20px);
        opacity: 0;
    }
}

.distance-message {
    display: flex;
    align-items: center;
}

.message-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    width: 100%;
}

.message-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.message-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.distance-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: 'Dancing Script', cursive;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-section {
    margin-top: 3rem;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.countdown-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    text-align: center;
    min-width: 80px;
}

.time-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: 'Dancing Script', cursive;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.time-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
}

/* Message Section */
.message-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    position: relative;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.message-header {
    text-align: center;
    margin-bottom: 2rem;
}

.message-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.love-icon {
    font-size: 3rem;
    color: var(--primary-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

.message-text {
    text-align: center;
}

.message-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.message-signature {
    margin-top: 2rem;
    text-align: center;
}

.love-text {
    display: block;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.signature-name {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.message-footer {
    text-align: center;
    margin-top: 2rem;
}

.rose-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.rose {
    font-size: 2rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

.rose:nth-child(2) {
    animation-delay: 1s;
}

.rose:nth-child(3) {
    animation-delay: 2s;
}

.rose::before {
    content: '\f720';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

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

/* Wishes Section */
.wishes-section {
    padding: 5rem 0;
    background: var(--text-light);
}

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

.wish-card {
    background: var(--romantic-gradient);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.wish-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.wish-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.wish-card p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-heart {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-text {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-text i {
    color: var(--primary-color);
}

.footer-date {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 800px;
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-image {
    height: 400px;
    background: var(--romantic-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.placeholder-modal-img {
    text-align: center;
}

.placeholder-modal-img i {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.placeholder-modal-img span {
    font-size: 1.5rem;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

.modal-info {
    padding: 2rem;
    text-align: center;
}

.modal-info h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-info p {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--text-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .line-1 {
        font-size: 2rem;
    }
    
    .line-2 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .wishes-grid {
        grid-template-columns: 1fr;
    }
    
    .message-content {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .distance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 60px;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .distance-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 1rem 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .line-1 {
        font-size: 1.8rem;
    }
    
    .line-2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
