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

:root {
    --winnie-pink: #ffb6c1; /* Light pink */
    --winnie-gold: #ffd700; /* Gold */
    --pooh-yellow: #fff9c4; /* Light yellow */
    --baby-pink: #f8c8dc; /* Baby pink */
    --pastel-pink: #ffd1dc; /* Pastel pink */
    --pastel-purple: #e6e6fa; /* Lavender */
    --pastel-blue: #b0e0e6; /* Powder blue */
    --white: #ffffff;
    --off-white: #f9f9f9;
    --gray: #666666;
    --light-gray: #eeeeee;
    --dark-gray: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-purple) 50%, var(--pastel-blue) 100%);
    color: var(--dark-gray);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffb6c1' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
    position: relative;
}

/* Header styles */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--winnie-pink) 0%, var(--baby-pink) 50%, var(--winnie-gold) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.header-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.decoration-left, .decoration-right {
    display: flex;
    gap: 15px;
    font-size: 28px;
    color: var(--winnie-gold);
    flex-wrap: wrap;
    justify-content: center;
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px var(--shadow);
    margin: 0;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 10px 0;
    opacity: 0.9;
}

.baby-name {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    font-family: 'Dancing Script', cursive;
}

.name-emma, .name-luz {
    font-size: 4.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px var(--shadow);
    position: relative;
    padding: 0 20px;
}

.name-emma {
    color: var(--winnie-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.name-luz {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.name-emma::after, .name-luz::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--winnie-gold);
}

.invitation-text {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 20px;
    opacity: 0.9;
}

/* Balloon decorations */
.balloon-decorations {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.balloon {
    width: 60px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 2px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.7);
}

.balloon1 {
    background: linear-gradient(135deg, #ffb6c1 0%, #ff69b4 100%);
    animation-delay: 0s;
}

.balloon2 {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    animation-delay: 0.5s;
}

.balloon3 {
    background: linear-gradient(135deg, #87ceeb 0%, #1e90ff 100%);
    animation-delay: 1s;
}

.balloon4 {
    background: linear-gradient(135deg, #98fb98 0%, #32cd32 100%);
    animation-delay: 1.5s;
}

.balloon5 {
    background: linear-gradient(135deg, #dda0dd 0%, #ba55d3 100%);
    animation-delay: 2s;
}

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

/* Winnie Pooh theme section */
.winnie-pooh-theme {
    margin: 20px 0 30px;
    text-align: center;
}

.winnie-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.winnie-title i {
    font-size: 2rem;
    color: var(--winnie-gold);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.winnie-title h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.theme-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--winnie-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Main content */
.main-content {
    padding: 40px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-header i {
    font-size: 2rem;
    color: var(--winnie-pink);
}

.section-header h3 {
    font-size: 2rem;
    color: var(--dark-gray);
    font-weight: 600;
}

/* Details section */
.details-section {
    margin-bottom: 50px;
}

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

.detail-item {
    background: var(--off-white);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.detail-icon {
    background: linear-gradient(135deg, var(--winnie-pink) 0%, var(--winnie-gold) 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.detail-content h4 {
    font-size: 1.3rem;
    color: var(--winnie-pink);
    margin-bottom: 10px;
}

.detail-content p {
    color: var(--gray);
    margin-bottom: 5px;
}

.highlight {
    color: var(--winnie-pink) !important;
    font-weight: 600;
    font-size: 1.2rem;
}

.baby-name-small {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--winnie-pink);
    font-weight: 700;
}

/* Gifts section */
.gifts-section {
    margin-bottom: 50px;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.gift-item {
    background: var(--off-white);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.gift-icon {
    background: linear-gradient(135deg, var(--winnie-pink) 0%, var(--winnie-gold) 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gift-icon i {
    font-size: 2rem;
    color: var(--white);
}

.gift-content h4 {
    font-size: 1.4rem;
    color: var(--winnie-pink);
    margin-bottom: 10px;
}

.gift-content p {
    color: var(--gray);
}

.gift-note {
    text-align: center;
    font-style: italic;
    color: var(--gray);
    margin-top: 30px;
    padding: 15px;
    background-color: var(--pastel-pink);
    border-radius: 10px;
    border-left: 4px solid var(--winnie-pink);
}

/* Map section */
.map-section {
    margin-bottom: 50px;
}

.map-container {
    background: var(--off-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

#map {
    width: 100%;
    height: 400px;
    background-color: var(--light-gray);
}

.map-instructions {
    padding: 15px;
    text-align: center;
    background-color: var(--light-yellow);
    border-top: 1px solid var(--light-gray);
}

.map-instructions i {
    color: var(--winnie-pink);
    margin-right: 10px;
}

.map-instructions p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Countdown section */
.countdown-section {
    margin-bottom: 50px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.countdown-item {
    background: linear-gradient(135deg, var(--winnie-pink) 0%, var(--winnie-gold) 100%);
    border-radius: 15px;
    padding: 25px 15px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
}

.countdown-item span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px var(--shadow);
    line-height: 1;
}

.countdown-item p {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* Actions section */
.actions-section {
    margin-bottom: 50px;
}

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

.action-item {
    background: var(--off-white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.action-icon {
    background: linear-gradient(135deg, var(--winnie-pink) 0%, var(--winnie-gold) 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.action-icon i {
    font-size: 2rem;
    color: var(--white);
}

.action-content h4 {
    font-size: 1.4rem;
    color: var(--winnie-pink);
    margin-bottom: 10px;
}

.action-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.action-btn {
    background: linear-gradient(135deg, var(--winnie-pink) 0%, var(--winnie-gold) 100%);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px var(--shadow);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--shadow-hover);
}

.action-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-purple) 100%);
    color: var(--dark-gray);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--winnie-pink);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--winnie-gold);
    text-decoration: underline;
}

.footer-separator {
    color: var(--gray);
}

.footer-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 20px;
    opacity: 0.8;
}



/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--winnie-pink) 0%, var(--winnie-gold) 100%);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-hover);
    z-index: 1001;
    display: none;
    align-items: center;
    gap: 10px;
    animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.show {
    display: flex;
}

/* Responsive styles */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .name-emma, .name-luz {
        font-size: 3.5rem;
    }
    
    .details-grid,
    .gifts-grid,
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 20px 10px;
    }
    
    .countdown-item span {
        font-size: 2.5rem;
    }
    
    .header-decoration {
        flex-direction: column;
        gap: 10px;
    }
    
    .decoration-left, .decoration-right {
        order: 2;
    }
    
    .main-title {
        order: 1;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        border-radius: 10px;
    }
    
    .header, .main-content {
        padding: 20px 15px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .name-emma, .name-luz {
        font-size: 2.8rem;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .detail-item, .gift-item, .action-item {
        padding: 20px;
    }
    
    .modal-content {
        margin: 10px;
    }
}

/* Print styles for PDF generation */
@media print {
    body {
        background: var(--white) !important;
    }
    
    .container {
        box-shadow: none !important;
        border-radius: 0 !important;
        max-width: 100% !important;
    }
    
    .action-btn,
    .modal,
    .toast,
    .footer-links a:last-child {
        display: none !important;
    }
    
    .footer {
        page-break-inside: avoid;
    }
    
    #map {
        height: 300px !important;
    }
}