/* Configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #f8f8f8;
    --text-color: #333;
    --accent-color: #d4a373; /* Dourado mais suave do segundo design */
    --accent-hover: #c79963;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(248, 248, 248, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

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

.nav-link {
    margin: 0 1.5rem;
    padding: 0.5rem 0;
    position: relative;
    font-weight: 300;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
}

.scroll-indicator a {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: white;
}

.about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: var(--primary-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature p {
    color: #555;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: var(--primary-bg);
}

.gallery h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.gallery h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.slideshow-container {
    max-width: 1000px;
    margin: 0 auto 4rem;
    position: relative;
}

.slideshow {
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* Proporção 3:2 para as imagens */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

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

.slideshow-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.nav-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-button:hover {
    opacity: 1;
    color: var(--accent-color);
}

.dots-container {
    display: flex;
    justify-content: center;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.grid-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.grid-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.grid-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: white;
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.contact h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-wrapper {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr 0.7fr;
    gap: 2rem;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.2);
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 1rem;
    min-width: 2rem;
    text-align: center;
}

.info-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.info-content a {
    color: #555;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--accent-color);
}

.whatsapp-button {
    margin-top: 2.5rem;
}

.whats-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: #25D366;
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.whats-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.whats-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Vertical Video Container */
.vertical-video-container {
    height: 100%;
    max-height: 600px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#vertical-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    padding: 3rem 5%;
    background-color: #333;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: #aaa;
    font-size: 0.9rem;
}

.social-icons a {
    font-size: 1.8rem;
    opacity: 0.8;
    transition: var(--transition);
}

.social-icons a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsividade */
@media screen and (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .vertical-video-container {
        grid-column: span 2;
        max-height: 300px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 1.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form,
    .contact-info,
    .vertical-video-container {
        width: 100%;
    }

    .contact-form h3,
    .contact-info h3 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .info-item {
        align-items: center;
    }

    .info-icon {
        font-size: 1.5rem;
        margin-right: 0.8rem;
    }

    .whatsapp-button {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .whats-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .vertical-video-container {
        order: -1; /* Move vertical video to top on mobile */
        max-height: 400px;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .photo-grid {
         grid-template-columns: 1fr; /* Single column on small screens */
         gap: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
}

/* Ensure only 4 items are displayed */
.photo-grid > *:nth-child(n+5) {
    display: none;
}

/* Animações e efeitos */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax */
.parallax {
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.8, 1);
}

/* Logo Styles */
.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo-image {
    height: 50px; /* Adjust height as needed */
    max-width: 200px; /* Adjust width as needed */
    object-fit: contain;
}

/* Hero Logo Styles */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content .hero-logo {
    max-width: 250px; /* Smaller size */
    width: 70%; /* Responsive width */
    margin-bottom: 20px; /* Space between logo and button */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content .hero-logo {
        max-width: 200px; /* Even smaller on mobile */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar .logo-image {
        height: 40px;
        max-width: 150px;
    }
}

/* Slight adjustments for very small screens */
@media screen and (max-width: 480px) {
    .contact-container {
        gap: 1.5rem;
    }

    .vertical-video-container {
        max-height: 250px;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}