/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c6a063;
    --primary-dark: #a88445;
    --secondary-color: #f5f1e8;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --black: #000;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    object-fit: contain;
    margin-right: 15px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: black;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--black);
    padding: 0 20px;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(198, 160, 99, 0.4);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(198, 160, 99, 0.5);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(198, 160, 99, 0.3);
}

/* About Section */
#about {
    padding: 100px 0;
    background-color: var(--white);
}

#about h2, #services h2, #gallery h2, #testimonials h2, #contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
    position: relative;
}

#about h2::after, #services h2::after, #gallery h2::after, #testimonials h2::after, #contact h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content img {
    width: 20%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-text {
    width: 55%;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.8;
}

/* Services Section */
#services {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--light-text);
}

/* Gallery Section */
#gallery {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
#testimonials {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    transition: all 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    width: 100%;
}

.testimonial-content p {
    color: var(--light-text);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding: 0 15px;
    text-align: left;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -15px;
    left: -5px;
}

.testimonial-content p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    bottom: -35px;
    right: -5px;
}

.testimonial-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: right;
}

.stars {
    color: #ffd700;
    font-size: 0.8rem;
    margin-bottom: 2px;
    text-align: right;
}

.carousel-slide .testimonial {
    max-width: 85%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .testimonial {
        padding: 20px 15px;
        max-width: 100%;
    }

    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
        padding: 0 5px;
    }

    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 2.5rem;
    }

    .testimonial-content h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .stars {
        margin-top: 5px;
    }

    #testimonials .carousel-slide {
        min-height: 350px;
        padding: 10px;
    }

    .carousel-slide .testimonial {
        padding: 15px 10px;
    }

    .carousel-slide .testimonial-content {
        padding: 0 5px;
    }

    .carousel-slide .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .testimonial {
        padding: 15px 10px;
    }

    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0;
    }

    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 2rem;
    }

    #testimonials .carousel-slide {
        min-height: 320px;
    }
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.info-item p {
    color: var(--light-text);
}

.social-media {
    margin-top: 30px;
}

.social-media a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-slide .service-card {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}

.carousel-slide .service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.carousel-slide .service-card h3 {
    font-size: 1.5rem; /* Título maior */
    padding: 25px 25px 15px; /* Mais espaço interno */
}

.carousel-slide .service-card p {
    font-size: 1.1rem; /* Texto maior */
    padding: 0 25px 25px; /* Mais espaço interno */
    line-height: 1.6;
}

.carousel-nav {
    display: none;
    justify-content: center;
    margin-top: 20px;
}

.carousel-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-slide .testimonial {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    flex-direction: row;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.carousel-slide .testimonial-image {
    width: 30%;
    height: 100%;
}

.carousel-slide .testimonial-content {
    width: 70%;
    padding: 25px;
}

.carousel-slide .testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.carousel-slide .testimonial-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    height: 170px;
    object-fit: contain;
    background-color: var(--white);
    padding: 10px;
    border-radius: 10px;
}

.footer-links h4,
.footer-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-hours p {
    color: #ddd;
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-content img,
    .about-text {
        width: 100%;
    }
    
    .about-content img {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .hero {
        background-image: none;
        background-color: var(--secondary-color);
        height: auto;
        min-height: 80vh;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .testimonial {
        flex-direction: column;
        max-width: 350px;
    }

    .testimonial-image {
        width: 100%;
        height: 200px;
    }

    .testimonial-content {
        width: 100%;
    }

    .services-grid, .gallery-grid, .testimonials-slider {
        display: none;
    }

    #testimonials .carousel-slide {
        min-height: 400px;
        padding: 20px;
    }

    .carousel-container {
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .carousel-track {
        display: flex;
        transition: transform 0.5s ease;
        width: 100%;
    }

    .carousel-slide {
        min-height: 450px;
    }

    .carousel-nav {
        display: flex;
    }

    .footer-logo img {
        height: 200px;
        object-fit: contain;
        background-color: var(--white);
        padding: 10px;
        border-radius: 10px;
    }

    .footer-content {
        gap: 30px;
    }

    /* New carousel styles for mobile */
    .services-grid, .gallery-grid, .testimonials-slider {
        display: none;
    }

    #testimonials .carousel-slide {
        min-height: 400px;
        padding: 20px;
    }

    .carousel-container {
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .carousel-track {
        display: flex;
        transition: transform 0.5s ease;
        width: 100%;
    }

    .carousel-slide {
        min-height: 450px;
    }

    .carousel-nav {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 70vh;
        background-image: none;
        background-color: var(--secondary-color);
        background-size: auto;
        background-position: center;
    }

    .hero-content {
        padding: 0 15px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    #about h2, #services h2, #gallery h2, #testimonials h2, #contact h2 {
        font-size: 2rem;
    }
    
    .logo img {
        height: 50px;
    }
}
