@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --green-primary: #166132;
    --green-light: #107d47;
    --black: #000000;
    --brown-light: #cf8b5d;
    --brown-dark: #a06238;
    --white: #ffffff;
    --gray-light: #f4f7f6;
    --beige: #fef9f1;
    --text-main: #222222;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

strong {
    color: var(--green-primary);
}

header {
    background-color: var(--green-light);
    padding: 20px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
    max-width: 250px;
    width: 100%;
    display: block;
}

.header-right,
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--white);
    gap: 5px;
}

.header-info-item,
.footer-info-item {
    font-size: 1.0rem;
    /* Increased from 0.85rem */
    font-weight: 600;
    /* Slightly bolder for presence */
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-info-item a,
.footer-info-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.header-info-item a:hover,
.footer-info-item a:hover {
    color: var(--brown-light);
}

.header-social,
.footer-social {
    display: flex;
    align-items: center;
    /* Center items vertically */
    gap: 15px;
    margin-top: 5px;
}

.social-label {
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 5px;
    opacity: 0.9;
    color: #FFCC33
}

.header-social a,
.footer-social a {
    color: #FFCC33; /* Changed from var(--white) */
    font-size: 1.6rem;
    transition: var(--transition);
}

.header-social a:hover,
.footer-social a:hover {
    color: var(--brown-light);
}

section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carousel */
.hero {
    padding: 20px 0;
    position: relative;
    max-width: 1400px;
    margin: 0 auto 10px auto;
}

.carousel-viewport {
    overflow: hidden;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 10px);
    aspect-ratio: 1080 / 1350;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10;
    transition: var(--transition);
}

.prev {
    left: 5px;
}

.next {
    right: 5px;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--beige);
    border-radius: 30px;
    padding: 60px;
    margin: 10px auto 40px auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid #f2e7d8;
}

.about-text h2 {
    color: var(--green-primary);
    margin-bottom: 25px;
    font-size: 2.0rem; /* Reduced from 2.2rem */
}

.about-text p {
    margin-bottom: 20px; /* Added for better paragraph separation */
}

.specialty-text {
    margin: 20px 0;
    font-weight: 700;
    color: var(--brown-dark);
}

.btn-wrapper {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.btn-menu {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background-color: var(--brown-light);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(207, 139, 93, 0.3);
}

.about-image {
    flex: 0 0 450px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

/* Hours Section */
.hours-section {
    text-align: center;
    padding: 60px 20px;
}

.hours-section h2 {
    color: var(--green-primary);
    margin-bottom: 40px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hours-section h2.mobile-title {
    display: none;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.hour-item {
    background-color: var(--beige);
    padding: 30px 15px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    /* Slightly adjusted shadow */
    border: 1px solid #efe3d3;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.hour-item i {
    font-size: 1.8rem;
    color: var(--brown-light);
    margin-bottom: 12px;
}


.hour-day {
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 5px;
}

.hour-day-feriado {
    font-weight: 700;
    color: #F00;
    margin-bottom: 5px;    
    
}


/* Fabrica Photo Optimized - Border Radius Removal */
.full-width-photo {
    width: 100%;
    max-width: none;
    /* Break from global section constraint if any */
    margin: 40px auto;
    padding: 0;
    /* Remove padding for true centering */
    display: flex;
    justify-content: center;
    background: transparent;
}

.full-width-photo img {
    width: 90%;
    max-width: 1100px;
    height: auto;
    display: block;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    /* Rounded corners! */
}

/* Footer Two-Column Refinement */
footer {
    padding: 60px 20px;
    background-color: var(--brown-dark);
    color: var(--white);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    /* Centered like header */
    margin: 0 auto;
}

.footer-left .logo {
    max-width: 250px;
    /* To match header */
    width: 100%;
    margin-bottom: 20px;
}

.footer-right {
    text-align: right;
}

.footer-divider {
    max-width: 1000px;
    margin: 40px auto 20px auto;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.95rem;
    /* Increased from 0.85rem */
    opacity: 0.8;
}

.giffa-site-link {
    color: var(--beige);
    text-decoration: none;
    font-weight: 700;
    /* More prominent */
    margin-top: 15px;
    font-size: 1.1rem;
    /* Increased from 0.95rem */
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1024px) {
    .about-section {
        flex-direction: column;
        padding: 40px;
    }

    .about-image {
        flex: 0 0 400px;
        width: 100%;
        height: 400px;
    }

    .carousel-item {
        flex: 0 0 calc(50% - 10px);
    }

    .hours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    /* Header: Only Logo Centered */
    .header-container {
        justify-content: center;
        padding: 10px;
    }

    .header-right {
        display: none;
    }

    .logo {
        max-width: 200px;
    }

    /* Carousel Adjustment */
    .carousel-viewport {
        padding: 0 10px;
    }

    .carousel-item {
        flex: 0 0 100%;
        aspect-ratio: 1080 / 1350; /* Restored proportion as per user assets */
        height: auto; /* Removed fixed height to allow natural scaling */
    }

    .prev,
    .next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Typography Scaling */
    .about-text h2 {
        font-size: 1.6rem;
        text-align: center;
        gap: 10px;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .specialty-text {
        font-size: 1.1rem;
        text-align: center;
    }

    .about-section {
        padding: 30px 20px;
    }

    .hours-section h2.desktop-title {
        display: none;
    }

    .hours-section h2.mobile-title {
        display: flex;
        /* Flex to keep icon and text nested */
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hide Factory Photo on Mobile */
    .full-width-photo {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-right {
        align-items: center;
        text-align: center;
    }
}