/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: #4B5842;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background-color: #5A6A50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-map {
    background-color: #ffffff;
    color: #4B5842;
    border: 2px solid #ffffff;
    font-weight: bold;
}

.btn-map:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4B5842;
}

.btn-large {
    font-size: 1.2rem;
    padding: 15px 30px;
}

.btn-small {
    padding: 5px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.copied {
    background-color: #63a35c !important;
    color: white !important;
    transition: background-color 0.3s ease;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.bg-light {
    background-color: #E1E8D9;
}

/* Header */
header {
    height: 100vh;
    background-image: url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-overlay {
    background-color: rgba(75, 88, 66, 0.85);
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.wedding-date {
    font-size: 1.5rem;
    margin-top: 10px;
    font-family: 'Playfair Display', serif;
}

/* Countdown */
#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.countdown-item {
    background-color: #4B5842;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    min-width: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.countdown-item span {
    display: block;
}

#days, #hours, #minutes, #seconds {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* Info Cards */
#info .container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: #4B5842;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    width: 300px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 2rem;
    color: #4B5842;
    margin-bottom: 15px;
}

/* Message */
blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 40px;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 0;
    top: -10px;
    color: #4B5842;
    font-family: serif;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 800px;
    height: 500px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

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

.carousel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E1E8D9;
    border: 2px dashed #4B5842;
    border-radius: 10px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(75, 88, 66, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-button:hover {
    background-color: rgba(75, 88, 66, 0.9);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
}

/* Gifts */
.pix-container {
    background-color: #4B5842;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 30px auto 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.pix-key {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.pix-key p {
    margin-bottom: 0;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

/* RSVP */
#rsvp {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/rsvp-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Footer */
footer {
    background-color: #4B5842;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    #countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }
    
    #days, #hours, #minutes, #seconds {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-overlay {
        padding: 20px;
    }
    
    blockquote {
        font-size: 1.2rem;
        padding: 10px 30px;
    }
    
    .pix-container {
        padding: 20px 15px;
    }
    
    .pix-key {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pix-key button {
        align-self: center;
        margin-top: 10px;
    }
}
