:root {
    --color-ocean: #00b4d8;
    --color-turquoise: #48cae4;
    --color-coral: #ff6b6b;
    --color-sand: #f4a261;
    --color-palm: #2d6a4f;
    --color-white: #ffffff;
    --color-cream: #fef9ef;
}

body {
    background: linear-gradient(180deg, #caf0f8 0%, #90e0ef 50%, #00b4d8 100%);
    font-family: "Quicksand", sans-serif;
    color: #2b2d42;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

/* Animated Ocean Waves */
.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,100 600,50 T1200,50 L1200,120 L0,120 Z" fill="%2300b4d8" opacity="0.3"/></svg>');
    background-size: 50% 100%;
    animation: wave-animation 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.wave:nth-child(2) {
    bottom: 10px;
    animation: wave-animation 20s linear infinite reverse;
    opacity: 0.5;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,70 Q300,20 600,70 T1200,70 L1200,120 L0,120 Z" fill="%2348cae4" opacity="0.4"/></svg>');
    background-size: 50% 100%;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Floating Palm Leaves */
.palm-leaf {
    position: fixed;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.palm-leaf:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.palm-leaf:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 5s;
}

.palm-leaf:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Typography */
.pacifico-font {
    font-family: "Pacifico", cursive;
    font-weight: 400;
}

.quicksand-light {
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
}

.quicksand-bold {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
}

.big-font {
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-coral);
    text-shadow: 3px 3px 0px rgba(255, 107, 107, 0.2);
}

.medium-font {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-coral);
}

/* Tropical Cards with Palm Shadow */
.section-container {
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.tropical-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    border-radius: 30px;
    box-shadow:
        0 10px 40px rgba(0, 180, 216, 0.2),
        inset 0 -5px 20px rgba(255, 107, 107, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    transform: rotate(-1deg);
}

.tropical-card:nth-child(even) {
    transform: rotate(1deg);
}

.tropical-card::before {
    content: '🌴';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.tropical-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow:
        0 15px 50px rgba(0, 180, 216, 0.3),
        inset 0 -5px 20px rgba(255, 107, 107, 0.1);
}

/* Wavy Divider */
.wave-divider {
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,100 600,50 T1200,50 L1200,0 L0,0 Z" fill="%23ffffff"/></svg>');
    background-size: cover;
    margin: 2rem 0;
}

/* Tropical Icons */
.tropical-icon {
    font-size: 3rem;
    margin: 1rem 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

/* Buttons - Surfboard Style */
.btn-tropical {
    background: linear-gradient(135deg, var(--color-coral) 0%, #ff8787 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    transform: skewX(-5deg);
}

.btn-tropical:hover {
    transform: skewX(0deg) translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    text-decoration: none;
    color: white;
}

.btn-tropical-outline {
    background: transparent;
    color: var(--color-ocean);
    border: 3px solid var(--color-ocean);
    padding: 12px 35px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
}

.btn-tropical-outline:hover {
    background: var(--color-ocean);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* Photo Frame - Polaroid Style */
.couple-photo-frame {
    padding: 15px 15px 60px 15px;
    background: white;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(-3deg);
    margin-bottom: 2rem;
    position: relative;
}

.couple-photo-frame::after {
    content: '♥';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-coral);
}

.couple-photo {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Countdown - Surfboard Style */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: linear-gradient(135deg, var(--color-turquoise), var(--color-ocean));
    padding: 1.5rem 1rem;
    border-radius: 20px;
    min-width: 90px;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    transform: skewY(-2deg);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: skewY(0deg) scale(1.05);
}

.countdown-number {
    font-size: 3rem;
    font-family: "Pacifico", cursive;
    color: white;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    font-weight: 600;
}

/* RSVP */
.rsvp-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .rsvp-buttons {
        flex-direction: row;
    }

    .big-font {
        font-size: 6rem;
    }
}

/* Music Button - Floating Coconut */
.music-float {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: linear-gradient(135deg, var(--color-sand), #e76f51);
    border: 3px solid white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(244, 162, 97, 0.5);
    animation: bob 3s ease-in-out infinite;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.music-float:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 8px 30px rgba(244, 162, 97, 0.7);
}

/* Postcard Gallery */
.postcard-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.postcard-item {
    position: relative;
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    transform: rotate(-2deg);
}

.postcard-item:nth-child(even) {
    transform: rotate(2deg);
}

.postcard-item::before {
    content: '📮';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.6;
}

.postcard-item::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 30px;
    border: 3px solid #ff6b6b;
    border-radius: 5px;
    opacity: 0.3;
}

.postcard-item:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.postcard-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Beach Timeline */
.beach-timeline {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

.beach-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.beach-time {
    font-family: "Pacifico", cursive;
    font-size: 1.5rem;
    color: var(--color-ocean);
    min-width: 100px;
    text-align: right;
}

.beach-marker {
    font-size: 2.5rem;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    flex-shrink: 0;
}

.beach-content {
    flex: 1;
    text-align: left;
}

.beach-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #2b2d42;
}

.beach-content p {
    margin-bottom: 0;
    color: #666;
}

/* Beach Hotel Cards */
.beach-hotel {
    background: linear-gradient(135deg, rgba(72, 202, 228, 0.1), rgba(255, 107, 107, 0.1));
    border: 3px solid var(--color-turquoise);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    transform: skewY(-1deg);
}

.beach-hotel:hover {
    background: linear-gradient(135deg, rgba(72, 202, 228, 0.2), rgba(255, 107, 107, 0.2));
    border-color: var(--color-coral);
    transform: skewY(0deg) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}