/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografia elegante */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(45deg, #E3F2FD, #BBDEFB, #90CAF9, #64B5F6), url('https://via.placeholder.com/1920x1080/FFFFFF/1976D2?text=Natal+Pattern') no-repeat center center fixed;
    background-size: 400% 400%, cover;
    animation: wave 15s ease-in-out infinite;
    overflow-x: hidden;
    position: relative;
}

@keyframes wave {
    0% { background-position: 0% 50%, 0% 0%; }
    50% { background-position: 100% 50%, 100% 100%; }
    100% { background-position: 0% 50%, 0% 0%; }
}

/* Container para centralizar conteúdo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(25, 118, 210, 0.95);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #D32F2F;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
    font-weight: 600;
}

/* Guinlanda decorativa */
.garland {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(90deg, #388E3C 0px, #388E3C 20px, #D32F2F 20px, #D32F2F 40px);
    border-radius: 5px;
}

/* Luzes natalinas piscando */
.lights {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.light {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: blink 2s infinite;
    box-shadow: 0 0 10px currentColor;
}

.light.red { color: #D32F2F; top: 10px; left: 20%; animation-delay: 0s; }
.light.green { color: #388E3C; top: 20px; left: 40%; animation-delay: 0.5s; }
.light.blue { color: #1976D2; top: 15px; left: 60%; animation-delay: 1s; }
.light.yellow { color: #FBC02D; top: 25px; left: 80%; animation-delay: 1.5s; }

@keyframes blink {
    0%, 50% { opacity: 1; transform: scale(1); }
    51%, 100% { opacity: 0.5; transform: scale(0.8); }
}

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

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 400;
}

.nav-menu a:hover {
    color: #FFD700;
    text-shadow: 0 0 5px #FFD700;
}

/* Menu hambúrguer para mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main */
main {
    margin-top: 100px;
}

/* Seção Hero */
.hero {
    padding: 5rem 0;
    text-align: center;
    background-color: rgba(241, 248, 233, 0.9);
    border-radius: 15px;
    margin: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1976D2;
    font-weight: 600;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.bot-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid #388E3C;
}

/* Estrelas piscando */
.stars {
    position: absolute;
    top: 20px;
    right: 20px;
}

.star {
    font-size: 1.5rem;
    margin: 0 5px;
    animation: twinkle 2s infinite;
}

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

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

/* Seção Comandos */
.commands {
    padding: 5rem 0;
    background-color: rgba(227, 242, 253, 0.9);
    border-radius: 15px;
    margin: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.commands h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #1976D2;
    font-weight: 600;
}

.command-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.command {
    background-color: white;
    padding: 2rem;
    margin: 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    border: 2px solid #D32F2F;
    transition: transform 0.3s, box-shadow 0.3s;
}

.command:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.command .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.command h3 {
    color: #1976D2;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Seção Convite */
.invite {
    padding: 5rem 0;
    text-align: center;
    background-color: rgba(187, 222, 251, 0.9);
    border-radius: 15px;
    margin: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.invite h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
    color: #1976D2;
    font-weight: 600;
}

.invite-btn {
    display: inline-block;
    background: linear-gradient(45deg, #D32F2F, #B71C1C);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.invite-btn:hover {
    background: linear-gradient(45deg, #B71C1C, #D32F2F);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 300;
}

/* Footer */
footer {
    background-color: rgba(25, 118, 210, 0.95);
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.christmas-tree {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

/* Flocos de neve caindo */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.snowflake {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fall 12s linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 30%; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 40%; animation-delay: 3s; }
.snowflake:nth-child(5) { left: 50%; animation-delay: 4s; }
.snowflake:nth-child(6) { left: 60%; animation-delay: 5s; }
.snowflake:nth-child(7) { left: 70%; animation-delay: 6s; }
.snowflake:nth-child(8) { left: 80%; animation-delay: 7s; }
.snowflake:nth-child(9) { left: 90%; animation-delay: 8s; }
.snowflake:nth-child(10) { left: 100%; animation-delay: 9s; }

@keyframes fall {
    0% { top: -10%; opacity: 1; transform: rotate(0deg); }
    100% { top: 110%; opacity: 0; transform: rotate(360deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: rgba(25, 118, 210, 0.95);
        width: 100%;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .command-list {
        flex-direction: column;
        align-items: center;
    }

    .lights, .garland {
        display: none; /* Esconde decorações em mobile para performance */
    }

    .stars {
        display: none;
    }
}