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

html {
    scroll-behavior: smooth;
}

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

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

/* Header Styles */
.header {
    background: #f2f1e8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8ba863;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > .nav-link::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover > .nav-link::after {
    transform: translateY(2px);
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #8ba863;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background: #8ba863;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #8ba863 0%, #a4c46a 100%);
    color: white;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/products/temperos.jpg') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.1rem !important;
    opacity: 0.9;
    margin-bottom: 2rem !important;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #8ba863;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #8ba863;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #555;
}

.about-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Products Section */
.product-category {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8ba863;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #8ba863;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.category-title.highlight-title {
    animation: titleHighlight 2s ease;
}

@keyframes titleHighlight {
    0%, 100% {
        color: #8ba863;
        transform: scale(1);
    }
    50% {
        color: #6d8a4a;
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(139, 168, 99, 0.5);
    }
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 370px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
}

.product-sizes {
    display: flex;
    gap: 0.5rem;
}

.size {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #555;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #8ba863;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

.contact-item a {
    color: #8ba863;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8ba863;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    background: #8ba863;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Company Info Styles */
.company-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #8ba863;
}

.info-label {
    font-weight: 600;
    color: #8ba863;
    min-width: 80px;
}

.info-value {
    color: #333;
    text-align: right;
    flex: 1;
}

/* Contact Methods Styles */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-method {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.method-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    min-width: 50px;
    text-align: center;
}

.method-info h4 {
    color: #8ba863;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.method-info a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.method-info a:hover {
    color: #8ba863;
}

/* CNPJ Info Styles */
.cnpj-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #8ba863;
    margin-top: 1rem;
}

.cnpj-label {
    font-weight: 600;
    color: #8ba863;
    min-width: 80px;
}

.cnpj-value {
    color: #333;
    text-align: right;
    flex: 1;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #8ba863;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #ccc;
    font-style: italic;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    color: #8ba863;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
        display: none;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-item-dropdown.active > .nav-link::after {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-category {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 20px;
    }

    .category-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.modal-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #8ba863;
    padding-bottom: 0.5rem;
}

.modal-info p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-sizes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.modal-sizes .size {
    background: #8ba863;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-image {
        padding: 1.5rem 1.5rem 0;
    }

    .modal-info {
        padding: 0 1.5rem 1.5rem;
    }

    .modal-info h2 {
        font-size: 1.5rem;
    }

    .modal-info p {
        font-size: 1rem;
    }
}

/* Product Card Cursor */
.product-card {
    cursor: pointer;
    scroll-margin-top: 100px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Highlight effect for clicked products */
.product-card.highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 10px 50px rgba(139, 168, 99, 0.6);
        transform: translateY(-8px);
    }
}

/* Success Page Styles */
.success-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.success-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin-bottom: 2rem;
}

.success-content h1 {
    color: #8ba863;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1rem !important;
    color: #888 !important;
    font-style: italic;
    margin-bottom: 2rem !important;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #8ba863;
    padding: 12px 30px;
    text-decoration: none;
    border: 2px solid #8ba863;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #8ba863;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 168, 99, 0.3);
}

.contact-info-success {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
    margin-top: 2rem;
}

.contact-info-success h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info-success p {
    margin-bottom: 0.5rem;
}

.contact-info-success a {
    color: #8ba863;
    text-decoration: none;
}

.contact-info-success a:hover {
    text-decoration: underline;
}

/* Success Page Responsive */
@media (max-width: 768px) {
    .success-content {
        margin: 0 1rem;
        padding: 2rem;
    }

    .success-content h1 {
        font-size: 2rem;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp Button Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}
