:root {
    --primary-color: #8d6e63; /* Warm Brown/Taupe */
    --secondary-color: #fce4ec; /* Light Pink */
    --accent-color: #e1a4b4; /* Medium Pink */
    --text-color: #4e342e; /* Dark Brown */
    --bg-color: #fffafc; /* Very Light Pink/Off-white */
    --white: #ffffff;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --special-font: 'Dancing Script', cursive; /* Font for special titles */
    /* Added colors for contact buttons */
    --whatsapp-color: #25D366;
    --instagram-color: #E4405F; /* Or use gradient */
    --telegram-color: #0088cc;
    --threads-color: #000000; /* Threads icon color */
    --success-color: #4CAF50; /* Green for Shipping/Payment */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Enable smooth scrolling natively */
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7; /* Increased line height for readability */
    font-size: 16px; /* Base font size */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px; /* Reduced padding for mobile */
}

/* Navigation Bar */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    padding: 10px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--special-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle svg {
    display: block; /* Prevents extra space below svg */
}

/* Hero Section */
.hero {
    /* Using a softer gradient */
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    background-size: cover;
    background-position: center;
    min-height: 70vh; /* Slightly taller */
    padding-top: 10px; /* Account for navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInDown 1s ease-out forwards; /* Ensure it stays visible */
    max-width: 700px; /* Limit width for better readability */
    padding: 0 15px;
}

.hero h1 {
    font-family: var(--header-font);
    font-size: calc(2.5rem + 2vw); /* Responsive font size */
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color); /* Darker text for contrast on light bg */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); /* Lighter shadow */
}
/* Style the special font part */
.hero h1 span {
     font-family: var(--special-font);
     font-size: calc(3rem + 2.5vw);
     display: block;
     margin-bottom: -10px; /* Adjust spacing */
     color: #c2185b; /* Hot Pink for emphasis */
}

.hero p {
    font-size: calc(1rem + 0.2vw); /* Responsive font size */
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color); /* Darker text */
}
/* Highlight BURANA */
.hero p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 35px; /* Larger button */
    border-radius: 30px; /* More rounded */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none; /* Remove border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: center; /* Ensure text center */
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* Specific hover for main button */
.hero .cta-button:hover {
     background-color: var(--accent-color);
     color: var(--white);
}

.hero-flower {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    opacity: 0.5;
    z-index: 1;
    animation: subtleRotate 20s linear infinite;
}

/* Sections */
.section {
    padding: 30px 0;
    text-align: center;
}

.section h2 {
    font-family: var(--header-font);
    font-size: 2.8rem; /* Slightly larger heading */
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section p {
    font-size: 1.1rem; /* Slightly larger paragraph */
    color: #555;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    line-height: 1.6; /* Adjust line height for paragraphs */
}

.section-alt {
    background-color: var(--white);
}
.section-highlight {
    background-color: var(--secondary-color); /* Light pink background for offer */
     border-bottom: 1px solid var(--accent-color);
     border-top: 1px solid var(--accent-color);
}

.section-highlight h2 {
     font-family: var(--special-font);
     font-size: 3rem;
     color: #c2185b; /* Hot Pink */
     margin-bottom: 0.5rem;
}
.section-highlight p {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.section-highlight p em {
    font-size: 0.95rem;
    color: #777;
}

.section-border {
     border-bottom: 1px solid var(--accent-color);
	 background-color: #ffeef4;
}

/* Divider SVG */
.divider-svg {
    margin-top: 1rem;
    margin-bottom: 2.5rem; /* More space */
}

/* Shipping & Payment Section */
#envio-pagamento h2 i {
    color: var(--accent-color);
    margin: 0 5px;
}
.shipping-payment-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.info-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    flex-basis: 300px; /* Base width */
    flex-grow: 1;
}

/* Product Section */
.product-grid {
    display: grid;
    /* Responsive grid: 1 column mobile, 2 medium, 3 large */
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.product-card {
    background-color: var(--white);
    padding: 0; /* Remove padding, handled by inner elements */
    border-radius: 15px; /* Softer radius */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden; /* Ensure image corner rounding */
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    overflow: hidden;
    background-color: #f0f0f0; /* Placeholder background */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.product-card h3 {
    font-family: var(--header-font);
    font-size: 1.6rem; /* Larger product title */
    margin: 20px 15px 10px 15px; /* Add padding */
    color: var(--primary-color);
}

.product-card p {
    font-size: 1rem;
    color: #666;
    margin: 0 15px 15px 15px; /* Add padding */
    flex-grow: 1; /* Push button down */
    line-height: 1.5;
}

.product-price {
    display: block;
    font-size: 1.3rem; /* Slightly larger price */
    font-weight: bold;
    color: var(--accent-color);
    margin: 0 15px 15px 15px;
}
.product-price span { /* Style for 'De R$...' */
    text-decoration: line-through;
    font-size: 1rem;
    color: #999;
    margin-right: 8px;
    font-weight: normal;
}

.buy-button {
    display: block; /* Full width */
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 15px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 15px 15px 20px 15px; /* Add padding */
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center; /* Center text */
}

.buy-button:hover {
    background-color: var(--whatsapp-color); /* Specific hover for WA buy buttons */
}

/* Contact Section */
.contact-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px; /* Space between buttons */
}

.contact-button {
    min-width: 200px; /* Ensure buttons have decent width */
    display: inline-flex; /* Align icon and text */
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between icon and text */
    padding: 14px 25px; /* Adjust padding */
}
.contact-button i {
    font-size: 1.2em; /* Make icon slightly larger */
}

.contact-button.whatsapp { background-color: var(--whatsapp-color); }
.contact-button.instagram { background-color: var(--instagram-color); }
.contact-button.telegram { background-color: var(--telegram-color); }

.contact-button.whatsapp:hover { background-color: #128C7E; } /* Darker WhatsApp */
.contact-button.instagram:hover { background-color: #C13584; } /* Darker Instagram */
.contact-button.telegram:hover { background-color: #005a91; } /* Darker Telegram */

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    padding: 40px 0; /* Increased padding */
    text-align: center;
    margin-top: 60px;
}

.footer p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.footer p:last-child {
    margin-bottom: 0; /* Remove margin from last paragraph */
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
    color: var(--white); /* Brighten on hover */
}

.social-links {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.6rem; /* Larger icons */
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline */
}
.social-links a:hover {
    color: var(--white);
    transform: scale(1.1);
}
.social-links a.highlight-social {
    color: var(--accent-color); /* Highlight Instagram */
    font-size: 1.8rem; /* Make it slightly bigger */
}
.social-links a.highlight-social:hover {
    color: var(--white);
}
/* Style Threads icon if using FontAwesome 6+ */
.fa-threads::before {
  font-family: "Font Awesome 6 Brands";
  content: "\e618"; /* Correct Unicode for Threads */
}

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

@keyframes subtleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */

/* Medium screens (tablets) */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* Large screens (desktops) */

.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.image-popup {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-popup img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 3px solid #fff; /* borda fina branca */
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.close-popup {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    color: #c2185b;
    font-size: 26px;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
    z-index: 10000;
}

.close-popup:hover {
    background: #fce4ec;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* === Mobile Menu Styles === */
.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    padding: 12px 20px;
    width: 100%;
    display: block;
    text-align: left;
    font-size: 1rem;
    color: var(--text-color);
}

/* Mostrar botão só em telas pequenas */
.menu-toggle {
    display: block;
}

/* Impede o fundo de rolar quando menu está aberto */
.no-scroll {
    overflow: hidden;
}

/* Em telas maiores, volta ao estilo normal */
@media (min-width: 768px) {
    .nav-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .nav-links a {
        text-align: center;
        padding: 5px 10px;
    }

    .menu-toggle {
        display: none;
    }
}
