/* ====== RESET E VARIÁVEIS ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --emerald-light: #e6ffe6;
    --emerald-grad: linear-gradient(135deg, #ffffff, #e0f7e0);
    --emerald: #50C878;
    --emerald-dark: #3da861;
    --emerald-glow: rgba(80, 200, 120, 0.25);
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.25);
    --text-dark: #333;
    --bg-white: #fafafa;
}

body {
    background: var(--emerald-grad);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ====== HERO SECTION ====== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: var(--emerald-grad);
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    height: 70px;
    filter: drop-shadow(0 0 8px var(--gold-glow));
    z-index: 10;
}

.couple-image {
    max-width: 320px;
    margin: 20px 0;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 12px var(--gold-glow));
    border-radius: 10px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.date {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #555;
}

.location {
    font-size: 1.2rem;
    color: #666;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border: 2px solid var(--emerald);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: #ffffff;
    color: #000;
}

.btn.primary {
    background: #ffffff;
    color: #000;
    border: 2px solid var(--emerald);
}

.btn.secondary {
    background: #ffffff;
    color: #000;
    border: 2px solid var(--emerald);
}

.btn:hover {
    background: var(--emerald);
    color: #ffffff;
    border-color: var(--emerald);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px var(--emerald-glow);
}

.btn.primary:hover {
    background: var(--emerald);
    color: #ffffff;
    border-color: var(--emerald);
}

.btn.secondary:hover {
    background: var(--emerald);
    color: #ffffff;
    border-color: var(--emerald);
}

/* ====== COMO FUNCIONA ====== */
.how-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-white);
}

.how-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-8px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ====== LISTA DE PRESENTES ====== */
.gifts-section {
    padding: 80px 20px;
    text-align: center;
}

.gifts-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gift-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid transparent;
    perspective: 1000px;
}

.gift-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--emerald);
    box-shadow: 0 12px 25px var(--emerald-glow);
}

.gift-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gift-card h3 {
    font-size: 1.2rem;
    padding: 15px 20px 5px;
    color: #333;
}

.gift-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e67e22;
    padding: 0 20px 15px;
}

/* ====== CONTAGEM REGRESSIVA ====== */
.countdown-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to right, #ffffff, #f9f9f9);
    border-top: 1px solid var(--emerald-glow);
    border-bottom: 1px solid var(--emerald-glow);
}

.countdown-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.time-unit {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    min-width: 100px;
}

.value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--emerald);
    display: block;
}

.label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator {
    font-size: 2.5rem;
    font-weight: 300;
    color: #888;
}

/* ====== RODAPÉ ====== */
.footer {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer p {
    margin-bottom: 10px;
}

/* ====== MODAL ====== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--emerald);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

#modal-image {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

#modal-name {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

#modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--emerald);
    margin: 15px 0 25px;
}

.present-btn {
    background: #ffffff;
    color: #000;
    font-size: 1.2rem;
    padding: 15px 40px;
    border: 2px solid var(--emerald);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.present-btn:hover {
    background: var(--emerald);
    color: #ffffff;
    border-color: var(--emerald);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px var(--emerald-glow);
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.2rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 80%; max-width: 280px; }
    .countdown { gap: 8px; }
    .time-unit { padding: 12px 15px; min-width: 70px; }
    .value { font-size: 1.8rem; }
}

/* REMOVE LOGO DO TOPO (SEM QUEBRAR LAYOUT) */
.logo {
    display: none !important;
}

/* BOTÃO GOOGLE MAPS */
.maps-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 22px;
    border-radius: 25px;
    background: #ffffff;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--emerald);
    transition: all 0.3s ease;
}

.maps-btn:hover {
    background: var(--emerald);
    color: #ffffff;
    border-color: var(--emerald);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px var(--emerald-glow);
}

/* REMOVE SUBLINHADO E COR AZUL DOS LINKS DOS PRESENTES */
.gift-card {
    text-decoration: none !important;
    color: inherit !important;
}

.gift-card:hover {
    text-decoration: none !important;
}
/* =========================================================
   MOBILE FIX (SEM ALTERAR O DESKTOP)
   Cole NO FINAL do styles.css para sobrescrever só no celular
   ========================================================= */

/* Ajustes gerais pra links-card (evita sublinhado/azul no mobile também) */
.gift-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {

    /* HERO */
    .hero {
        min-height: auto;
        padding: 26px 16px 36px 16px;
    }

    .couple-image {
        max-width: 240px;
        margin: 14px 0 10px 0;
        border-radius: 12px;
    }

    .hero-text h1 {
        font-size: 2.0rem;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .date {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .location {
        font-size: 1.0rem;
        line-height: 1.25;
        padding: 0 6px;
    }

    /* Botões do topo: 100% largura e confortáveis no toque */
    .cta-buttons {
        margin-top: 18px;
        gap: 12px;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 360px;
        padding: 14px 18px;
        font-size: 1.05rem;
    }

    /* Se você tiver o botão maps abaixo da location */
    .maps-btn {
        width: 100%;
        max-width: 360px;
        text-align: center;
        padding: 12px 18px;
        font-size: 1.05rem;
    }

    /* COMO FUNCIONA */
    .how-section {
        padding: 60px 16px;
    }

    .how-section h2 {
        font-size: 1.85rem;
        margin-bottom: 26px;
    }

    .steps {
        gap: 16px;
        padding: 0 4px;
    }

    .step-card {
        width: 100%;
        max-width: 360px;
        padding: 18px;
        border-radius: 14px;
    }

    .icon {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    /* LISTA DE PRESENTES */
    .gifts-section {
        padding: 60px 16px;
    }

    .gifts-section h2 {
        font-size: 1.85rem;
        margin-bottom: 26px;
    }

    .gifts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    /* Card clicável com toque melhor no mobile */
    .gift-card {
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(0,0,0,0.08);
        -webkit-tap-highlight-color: transparent;
    }

    .gift-card img {
        height: 200px;
        object-fit: cover;
    }

    .gift-card h3 {
        font-size: 1.08rem;
        line-height: 1.25;
        padding: 14px 16px 6px 16px;
    }

    .gift-card .price {
        font-size: 1.2rem;
        padding: 0 16px 14px 16px;
    }

    /* Evita “virar”/rotacionar no toque (fica estranho em celular) */
    .gift-card:hover {
        transform: translateY(-6px);
    }

    /* CONTAGEM REGRESSIVA */
    .countdown-section {
        padding: 44px 16px;
    }

    .countdown-section h2 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .countdown {
        gap: 10px;
    }

    .time-unit {
        padding: 12px 14px;
        min-width: 78px;
        border-radius: 12px;
    }

    .value {
        font-size: 1.9rem;
    }

    .separator {
        font-size: 1.9rem;
    }

    /* RODAPÉ */
    .footer {
        padding: 34px 16px;
        font-size: 0.95rem;
    }

    /* MODAL (se você ainda estiver usando modal em alguma versão) */
    .modal-content {
        width: calc(100% - 28px);
        max-width: 420px;
        padding: 18px;
        border-radius: 16px;
    }

    #modal-image {
        height: 210px;
    }

    #modal-name {
        font-size: 1.3rem;
    }

    #modal-price {
        font-size: 1.6rem;
        margin: 12px 0 18px;
    }

    .present-btn {
        width: 100%;
        max-width: 360px;
        padding: 14px 18px;
        font-size: 1.08rem;
        border-radius: 14px;
    }
}

/* ====== MOBILE PEQUENO (ex: iPhone SE) ====== */
@media (max-width: 380px) {
    .couple-image { max-width: 210px; }
    .hero-text h1 { font-size: 1.75rem; }
    .btn, .maps-btn { max-width: 320px; }
    .gift-card img { height: 180px; }
    .time-unit { min-width: 70px; }
    .value { font-size: 1.75rem; }
}
