﻿/* styles/responsive.css - Media queries e responsividade - Updated for new layout */

/* Tablet Portrait and smaller */
@media (max-width: 768px) {

    /* Navigation */
    /* Navegação Responsiva - Substituir apenas a seção de navegação no responsive.css */

/* Tablet Portrait and smaller */
    @media (max-width: 768px) {

        .section {
            padding: 4rem 1rem;
            padding-top: 7rem; /* NOVA: mais espaço para o menu espesso */
        }


        /* Navigation - Mantém horizontal mas compacta */
        .nav {
            padding: 0.8rem 0;
        }
    
        .nav ul {
            flex-direction: row; /* Mudança principal: manter horizontal */
            gap: 0.8rem;
            padding: 0 1rem;
            justify-content: space-around; /* Distribuir uniformemente */
            flex-wrap: nowrap;
            overflow-x: auto; /* Permitir scroll horizontal se necessário */
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
    
        .nav ul::-webkit-scrollbar {
            display: none;
        }
    
        .nav li {
            flex-shrink: 0; /* Impede que os itens encolham */
        }
    
        .nav a {
            font-size: 0.85rem;
            padding: 0.5rem 0.8rem;
            white-space: nowrap;
            border-radius: 20px;
            text-transform: none;
            letter-spacing: 0.5px;
        }
    
        .nav a:hover,
        .nav a.active {
            background: rgba(212, 175, 55, 0.1);
            color: #d4af37;
        }
    
        .nav a::after {
            display: none; /* Remove underline em mobile */
        }
    }

    /* Mobile Landscape and smaller */
    @media (max-width: 480px) {
        .nav {
            padding: 0.6rem 0;
        }
    
        .nav ul {
            gap: 0.5rem;
            padding: 0 0.5rem;
            justify-content: space-between;
        }
    
        .nav a {
            font-size: 0.8rem;
            padding: 0.4rem 0.6rem;
        }
    }

    /* Menu hamburger para telas muito pequenas */
    @media (max-width: 400px) {
        .nav {
            padding: 0.5rem 0;
        }
    
        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1rem;
        }
    
        .nav ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(255,255,255,0.98);
            backdrop-filter: blur(20px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            border-radius: 0 0 15px 15px;
            flex-direction: column;
            padding: 1rem;
            gap: 0.5rem;
            z-index: 1001;
        }
    
        .nav ul.mobile-open {
            display: flex;
            animation: slideDown 0.3s ease-out;
        }
    
        .mobile-menu-toggle {
            display: block;
        }
    
        .nav a {
            font-size: 0.9rem;
            padding: 0.8rem 1rem;
            text-align: center;
            border-radius: 8px;
            width: 100%;
        }
    }

    /* Ajustes para telas muito pequenas */
    @media (max-width: 320px) {
        .nav a {
            font-size: 0.75rem;
            padding: 0.3rem 0.5rem;
        }
    
        .nav ul {
            gap: 0.3rem;
            padding: 0 0.3rem;
        }
    }

    /* Adicionar indicador visual de scroll em navegação horizontal */
    @media (max-width: 768px) and (min-width: 401px) {
        .nav ul {
            position: relative;
        }
    
        .nav ul::after {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 20px;
            background: linear-gradient(to left, rgba(255,255,255,0.8), transparent);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
    
        .nav ul::-webkit-scrollbar {
            height: 2px;
        }
    
        .nav ul::-webkit-scrollbar-track {
            background: rgba(0,0,0,0.05);
            border-radius: 1px;
        }
    
        .nav ul::-webkit-scrollbar-thumb {
            background: rgba(212, 175, 55, 0.4);
            border-radius: 1px;
        }
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-date {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* General Sections */
    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* About Section */
    .couple-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Event Section */
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .countdown-container {
        padding: 2rem 1.5rem;
    }

    .time-unit {
        padding: 1rem 0.8rem;
    }

    .time-number {
        font-size: 2rem;
    }

    /* Form Section */
    .radio-group {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-secondary {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}

/* Mobile Landscape and smaller */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }

    .heart {
        font-size: 2.5rem;
        margin: 0 0.5rem;
    }

    /* General Sections */
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Event Section */
    .countdown-container {
        padding: 2rem 1rem;
    }

    .countdown-title {
        font-size: 1.5rem;
    }

    .time-unit {
        padding: 1rem 0.5rem;
    }

    .time-number {
        font-size: 1.8rem;
    }

    .time-label {
        font-size: 0.8rem;
    }

    .detail-card {
        padding: 2rem 1.5rem;
    }

    .detail-icon {
        font-size: 2.5rem;
    }

    .detail-title {
        font-size: 1.3rem;
    }

    /* About Section */
    .bride-card {
        padding: 2rem 1.5rem;
    }

    .bride-name {
        font-size: 2rem;
    }

    /* Form Section */
    .rsvp-container {
        padding: 0 1rem;
    }

    .rsvp-form {
        padding: 1.5rem 1rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .radio-label {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 1rem;
    }
}

/* Grid responsivo para seções principais */
.couple-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* Cards responsivos */
.bride-card,
.detail-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bride-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.bride-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
}

.bride-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.detail-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Event Section Specific */
.event-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 6rem 0;
}

.event-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.countdown-container {
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.countdown-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.time-unit {
    background: rgba(255,255,255,0.2);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.time-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.detail-title {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 500;
}

.detail-content {
    color: #555;
    line-height: 1.6;
}

/* About Section Specific */
.bride-name {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 300;
}

.bride-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Ajustes para telas muito pequenas */
@media (max-width: 320px) {
    .couple-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .countdown-timer {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .time-number {
        font-size: 1.5rem;
    }

    .bride-card,
    .detail-card {
        padding: 1.5rem 1rem;
    }

    .rsvp-form {
        padding: 1.2rem 0.8rem;
    }
}