/* Estilos gerais */
:root {
    --background-color: #e6e6e6; /* Cor prata para o fundo */
    --text-color: #333333; /* Cinza escuro para os textos */
    --accent-color: #c0c0c0; /* Prata mais escuro para acentos */
    --highlight-color: #a9a9a9; /* Cinza médio para destaques */
    --light-color: #f5f5f5; /* Cinza claro quase branco */
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--highlight-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

/* Menu lateral */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--light-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px var(--shadow-color);
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--accent-color);
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    padding: 10px 20px;
    border-bottom: 1px solid var(--accent-color);
}

.sidebar-menu li a {
    display: block;
    font-size: 18px;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background-color: var(--light-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span:before,
.menu-toggle span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle span:before {
    transform: translateY(-8px);
}

.menu-toggle span:after {
    transform: translateY(8px);
}

.menu-toggle.active span {
    background-color: transparent;
}

.menu-toggle.active span:before {
    transform: rotate(45deg);
}

.menu-toggle.active span:after {
    transform: rotate(-45deg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Header */
.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    position: relative;
}

.header-content {
    z-index: 2;
}

.couple-name {
    font-size: 4rem;
    margin-bottom: 20px;
    font-family: 'Great Vibes', cursive;
}

.wedding-date {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Contador */
.countdown {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.countdown-item {
    margin: 0 15px;
    text-align: center;
}

.countdown-number {
    font-size: 3rem;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 1rem;
}

/* Seção de boas-vindas */
.welcome-section {
    background-color: var(--light-color);
    text-align: center;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Carrossel de fotos */
.photo-carousel {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    width: 100%;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.carousel-item {
    min-width: calc(25% - 20px); /* 4 fotos por vez com espaçamento */
    height: 300px;
    margin: 0 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    flex: 0 0 calc(25% - 20px);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Controles do carrossel */
.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-control {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: var(--highlight-color);
}

/* Responsividade do carrossel */
@media (max-width: 1200px) {
    .carousel-item {
        min-width: calc(25% - 20px);
        flex: 0 0 calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    .carousel-item {
        min-width: calc(33.333% - 20px);
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: calc(50% - 20px);
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .carousel-item {
        min-width: calc(100% - 20px);
        flex: 0 0 calc(100% - 20px);
    }
}

/* Formulário de confirmação */
.rsvp-section {
    background-color: var(--light-color);
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--highlight-color);
}

.qrcode-container {
    text-align: center;
    margin-top: 30px;
    display: none;
}

.qrcode-container img {
    max-width: 200px;
    margin-bottom: 15px;
}

/* Seção de localização */
.location-section {
    background-color: var(--background-color);
}

.location-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.location-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.location-card-header {
    padding: 20px;
    background-color: var(--accent-color);
    text-align: center;
}

.location-card-body {
    padding: 20px;
}

.location-card-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid var(--accent-color);
}

.map-container {
    height: 300px;
    margin-top: 20px;
}

/* Seção de hotéis e salões */
.accommodation-section,
.beauty-section {
    background-color: var(--light-color);
}

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

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.card-header {
    padding: 20px;
    background-color: var(--accent-color);
    text-align: center;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid var(--accent-color);
}

/* Seção de presentes */
.gifts-section {
    background-color: var(--background-color);
}

.gifts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.charity-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    padding: 30px;
}

.charity-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.charity-logo img {
    max-width: 80%;
    max-height: 80%;
}

.charity-description {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--light-color);
    text-align: center;
    padding: 30px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .couple-name {
        font-size: 3rem;
    }
    
    .countdown-item {
        margin: 0 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .couple-name {
        font-size: 2.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        margin: 10px;
    }
}
