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

body {
    font-family: 'RocknRoll One', sans-serif;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Background images for different pages */
.home-page {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f2f8 30%, #f0f8f0 70%, #fefefe 100%);
    position: relative;
}

.location-page {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f2f8 30%, #f0f8f0 70%, #fefefe 100%);
    position: relative;
}

/* Container and main content */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    text-align: center;
}

.main-content {
    background: transparent;
    padding: 20px 40px 100px 40px;
    border-radius: 20px;
}


/* Home page styles */
.date-announcement {
    margin-bottom: 20px;
}

.date {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    color: #7bb0b8;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 4px 12px rgba(123, 176, 184, 0.3);
    background: linear-gradient(135deg, #7bb0b8, #5a9aa2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.anniversary {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #7bb0b8;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(123, 176, 184, 0.2);
}
.car-image-container {
    margin-top: -100px;
    margin-bottom: -50px;
}
.car-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.castle-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-image:hover {
    transform: scale(1.02);
}

/* Countdown styles */
.countdown-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(123, 176, 184, 0.95), rgba(90, 154, 162, 0.9));
    backdrop-filter: blur(15px);
    padding: 5px;
    z-index: 10;
    border-top: 3px solid rgba(123, 176, 184, 0.8);
    box-shadow: 0 -8px 32px rgba(123, 176, 184, 0.3);
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    flex: 1;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding: 5px;
    margin-bottom: 10px;
    min-width: 90px;
    transition: transform 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-2px);
}

.time-unit .number {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.time-unit .label {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Button styles */
.cta-container {
    margin-top: 20px;
    margin-bottom: 150px;
}

.cta-button, .form-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #7bb0b8, #5a9aa2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'RocknRoll One', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(123, 176, 184, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button:hover, .form-button:hover {
    box-shadow: 0 16px 40px rgba(123, 176, 184, 0.45);
    background: linear-gradient(135deg, #8bc0c8, #6baaae);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Location page styles */
.location-info {
    margin-bottom: 40px;
}

.location-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.chateau-name {
    font-size: 3rem;
    color: #d4a574;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.celebration-text {
    font-size: 1.5rem;
    color: #34495e;
    line-height: 1.6;
}

.form-container {
    margin: 40px 0;
}

.form-button {
    font-size: 1.5rem;
    padding: 20px 40px;
}

.back-container {
    margin-top: 30px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(52, 73, 94, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(52, 73, 94, 1);
    transform: translateY(-2px);
}

/* Dove animations */
.star {
    position: fixed;
    font-size: 2.2rem;
    z-index: 0;
    pointer-events: none;
    color: #ffe066;
    opacity: 0.85;
    animation: twinkle-move 7s linear infinite;
    filter: drop-shadow(0 0 8px #fff7b2);
}

.star-1 { left: 10vw; top: 18vh; animation-delay: 0s; }
.star-2 { left: 70vw; top: 25vh; animation-delay: 2s; }
.star-3 { left: 30vw; top: 60vh; animation-delay: 4s; }
.star-4 { left: 80vw; top: 75vh; animation-delay: 1s; }

@keyframes twinkle-move {
    0% {
        opacity: 0.7;
        transform: scale(1) translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 8px #fff7b2);
    }
    10% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px) rotate(8deg);
        filter: drop-shadow(0 0 16px #fff7b2);
    }
    20% {
        opacity: 0.8;
        transform: scale(0.95) translateY(10px) rotate(-6deg);
        filter: drop-shadow(0 0 10px #fff7b2);
    }
    40% {
        opacity: 1;
        transform: scale(1.15) translateY(-8px) rotate(12deg);
        filter: drop-shadow(0 0 18px #fff7b2);
    }
    60% {
        opacity: 0.7;
        transform: scale(0.9) translateY(12px) rotate(-10deg);
        filter: drop-shadow(0 0 8px #fff7b2);
    }
    80% {
        opacity: 1;
        transform: scale(1.1) translateY(-6px) rotate(6deg);
        filter: drop-shadow(0 0 16px #fff7b2);
    }
    100% {
        opacity: 0.7;
        transform: scale(1) translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 8px #fff7b2);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }
    
    .main-content {
        padding: 15px 20px 100px 20px;
        margin: 10px;
    }
    
    .location-page .main-content {
        padding: 20px;
        margin: 10px;
    }
    
    .date {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .couple-names {
        font-size: 2.8rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .anniversary {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .car-image-container {
        margin-top: 20px;
        margin-bottom: 50px;
    }
    .car-image {
        max-width: 90%;
    }
    
    .chateau-name {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 12px;
    }
    
    .time-unit {
        min-width: 75px;
        padding: 12px;
    }
    
    .time-unit .number {
        font-size: 2rem;
    }
    
    .cta-container {
        margin-top: 15px;
    }
    
    .cta-button, .form-button {
        font-size: 0.9rem;
        padding: 12px 25px;
        letter-spacing: 1.5px;
    }
    
    .star {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px 15px 90px 15px;
    }
    
    .date {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .couple-names {
        font-size: 2.2rem;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }
    
    .anniversary {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    
    .car-image {
        max-width: 95%;
    }
    
    
    .countdown {
        gap: 8px;
    }
    
    .time-unit {
        min-width: 65px;
        padding: 10px;
    }
    
    .time-unit .number {
        font-size: 1.6rem;
    }
    
    .time-unit .label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .cta-container {
        margin-top: 12px;
    }
    
    .chateau-name {
        font-size: 1.5rem;
    }
    
    .cta-button, .form-button {
        font-size: 0.8rem;
        padding: 12px 20px;
        letter-spacing: 1px;
    }
}

.calendar-qr {
    position: absolute;
    right: 30px;
    bottom: 15px;
    display: flex;
    align-items: center;
    z-index: 20;
}

.calendar-qr img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 4px;
    transition: transform 0.2s;
}

.calendar-qr img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 6px 18px rgba(123, 176, 184, 0.25);
}

@media (max-width: 900px) {
    .calendar-qr {
        right: 10px;
        bottom: 10px;
    }
    .calendar-qr img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 600px) {
    .calendar-qr {
        right: 5px;
        bottom: 5px;
    }
    .calendar-qr img {
        width: 44px;
        height: 44px;
    }
    .countdown-container {
        min-height: 60px;
        padding: 5px;
    }
    .countdown {
        gap: 8px;
    }
}

.nav-btn {
    position: fixed;
    top: 22px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(123, 176, 184, 0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 2px solid #7bb0b8;
    cursor: pointer;
    opacity: 0.97;
}

.nav-btn-left {
    left: 22px;
}

.nav-btn-right {
    right: 22px;
}

.nav-btn:hover {
    box-shadow: 0 6px 24px rgba(123, 176, 184, 0.25);
    transform: scale(1.07);
    opacity: 1;
}

@media (max-width: 600px) {
    .nav-btn {
        width: 38px;
        height: 38px;
        top: 8px;
    }
    .nav-btn-left {
        left: 8px;
    }
    .nav-btn-right {
        right: 8px;
    }
    .nav-btn svg {
        width: 20px;
        height: 20px;
    }
} 