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

:root {
    /* Colors based on Paranaqua brand */
    --primary-blue: #1B5E8F;
    --secondary-blue: #2E8BC0;
    --accent-green: #7BC143;
    --accent-cyan: #4ECDC4;
    --light-green: #A8D08D;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-dark: #212529;
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 25, 45, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: none;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
    background: var(--primary-blue);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header.scrolled .logo-img {
    height: 65px;
}

.header.scrolled .nav {
    padding: 0.3rem 0;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(8, 25, 45, 0.25), transparent);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.header.scrolled::after {
    opacity: 0;
}

.nav {
    padding: 0.8rem 0;
    transition: padding 0.4s ease;
}

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

.logo-img {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: height 0.4s ease;
}

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

.nav-link {
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-green);
}

.nav-link.active {
    color: var(--accent-green);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* ===== Hero Section - Slider ===== */
.hero {
    position: relative;
    height: 100vh;
    margin-top: 0;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: white;
    font-size: 1.1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #6AB032;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 193, 67, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ===== Section Styles ===== */
.section-label {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-label.center {
    display: block;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.section-title.center {
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-description.center {
    text-align: center;
}

/* ===== About Section ===== */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
}

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

.about-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 94, 143, 0.3), rgba(78, 205, 196, 0.3));
}

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

/* ===== Process Section ===== */
.process {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.process-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
    display: block;
}

.process-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(27, 94, 143, 0.95) 0%, transparent 100%);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    flex-shrink: 0;
    line-height: 1;
    min-width: 52px;
}

.step-content h3 {
    font-size: 1.05rem;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.step-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Process Result & Advantages ===== */
.process-result {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: rgba(27, 94, 143, 0.05);
    border-radius: 16px;
    border-left: 4px solid var(--primary-blue);
}

.result-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.result-icon {
    font-size: 1.8rem;
    color: var(--accent-green);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.result-banner p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-blue);
    margin: 0;
}

.process-advantages h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantages-list li {
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.advantages-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-size: 0.8rem;
}

/* ===== Dispenser Card ===== */
.dispenser-svg {
    width: 70%;
    height: 70%;
    display: block;
}

.dispenser-img-wrap {
    background: rgba(27, 94, 143, 0.04) !important;
}

.badge-service {
    background: var(--accent-cyan);
}

/* ===== Products Section ===== */
.products {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    position: relative;
    background-color: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.product-card.featured {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.product-card.featured h3,
.product-card.featured p {
    color: var(--white);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-img-wrap {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    aspect-ratio: 1 / 1;
    width: 100%;
    background: rgba(27, 94, 143, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
    display: block;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-card.featured .product-img-wrap {
    background: rgba(255, 255, 255, 0.12);
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.product-features {
    text-align: left;
    padding-left: 1rem;
}

.product-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--medium-gray);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.product-card.featured .product-features li {
    color: rgba(255, 255, 255, 0.9);
}

.product-card.featured .product-features li::before {
    color: var(--accent-cyan);
}

/* ===== Products CTA ===== */
.products-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--light-gray);
    border-radius: 16px;
}

.products-cta p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ===== Delivery Section ===== */
.delivery {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
}

.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.delivery-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.delivery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    min-height: 420px;
    display: block;
}

.delivery-description {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.delivery-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.delivery-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.delivery-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-description {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--medium-gray);
    margin-bottom: 0.3rem;
}

.contact-details a {
    color: var(--secondary-blue);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-green);
    transform: translateY(-5px);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 90px;
    max-width: 350px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--primary-blue);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

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

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .features {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .process-image img,
    .delivery-image img {
        min-height: 260px;
    }
}
