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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #1c3c78;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Color Variables */
:root {
    --primary: #f37b2a;
    --secondary: #1c3c78;
    --accent: #f37b2a;
    --background: #ffffff;
    --muted: #6b7280;
    --border: #e5e7eb;
    --gradient-hero: linear-gradient(135deg, #1c3c78, #f37b2a);
    --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-corporate: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.min-h-screen {
    min-height: 100vh;
}

.bg-gradient-subtle {
    background: var(--gradient-subtle);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

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

.btn-primary:hover {
    background: #e66a1a;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: #163361;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero-content .btn-outline {
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--secondary);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20ba5a;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    position: relative;
}

.logo-img {
    height: 4rem;
    width: auto;
}

.desktop-nav {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-item.active > .nav-link {
    color: var(--primary);
    font-weight: 600;
}

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

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    padding: 0.75rem 1rem;
    display: grid;
    gap: 0.5rem;
    min-width: 12rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: all 0.2s ease;
    z-index: 10;
}

.nav-dropdown-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-dropdown-link:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: block;
    background: transparent;
    border: 2px solid var(--border);
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: var(--secondary);
    cursor: pointer;
}

@media (max-width: 767px) {
    .desktop-nav.mobile-menu-open {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-card);
        border-top: 1px solid var(--border);
        border-radius: 0 0 0.75rem 0.75rem;
        z-index: 40;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(28, 60, 120, 0.8), rgba(243, 123, 42, 0.8)), url('src/assets/hero-warehouse.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 30%, rgba(243, 123, 42, 0.35), transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(28, 60, 120, 0.4), transparent 65%),
        radial-gradient(circle at 50% 80%, rgba(243, 123, 42, 0.25), transparent 60%);
    animation: heroGradient 18s ease-in-out infinite alternate;
    opacity: 0.7;
    pointer-events: none;
    mix-blend-mode: screen;
    transform-origin: center;
    z-index: 0;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.accent-text {
    color: var(--accent);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 50rem;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-corporate);
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--muted);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Products Preview */
.products-preview {
    padding: 4rem 0;
    background: var(--gradient-subtle);
}

.product-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.product-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-corporate);
}

.flour-card .product-content {
    background: var(--gradient-hero);
    color: white;
}

.sugar-card .product-content {
    background: var(--secondary);
    color: white;
}

.energy-card .product-content {
    background: linear-gradient(135deg, #111827, #f37b2a);
    color: white;
}

.product-content {
    padding: 2rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    opacity: 0.95;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.product-highlights {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.product-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.product-highlights li::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}

@media (min-width: 1024px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
}

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

.footer-section {
    opacity: 0.9;
}

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

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.contact-info {
    font-size: 0.875rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    background: #20ba5a;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Animation Classes */
@keyframes heroGradient {
    0% {
        transform: translate(-6%, -4%) scale(0.95) rotate(0deg);
        opacity: 0.55;
    }
    50% {
        transform: translate(6%, 4%) scale(1.05) rotate(6deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-3%, 5%) scale(1) rotate(-4deg);
        opacity: 0.6;
    }
}

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

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


.brand-assurance {
    position: relative;
    padding: 4.5rem 0;
    background: var(--gradient-subtle);
    overflow: hidden;
}

.brand-assurance::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.6), transparent 50%),
                radial-gradient(circle at 90% 20%, rgba(255,255,255,0.4), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
}

.brand-assurance .container {
    position: relative;
    z-index: 1;
}

.brand-assurance__header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.brand-assurance__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 140, 0, 0.14);
    border: 1px solid rgba(255, 140, 0, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.brand-trust-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.brand-trust-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-trust-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-corporate);
}

.brand-trust-card:hover::after {
    opacity: 1;
}

.brand-trust-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: rgba(255, 140, 0, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.brand-trust-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.brand-trust-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.brand-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.brand-trust-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--secondary);
    font-weight: 500;
}

.brand-trust-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #f97316);
}

.brand-proof-bar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow-card);
    margin-bottom: 2.5rem;
}

.brand-proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-proof-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.1;
}

.brand-proof-label {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.brand-assurance__footer {
    text-align: center;
    display: grid;
    gap: 1.25rem;
}

.brand-assurance__footer p {
    color: var(--muted);
    font-size: 1.05rem;
}

.brand-region-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
}

.brand-region-label {
    font-weight: 600;
    color: var(--secondary);
    margin-right: 0.5rem;
}

.brand-region-links a {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--secondary);
    transition: background 0.2s ease, color 0.2s ease;
}

.brand-region-links a:hover {
    background: var(--secondary);
    color: white;
}

@media (min-width: 768px) {
    .product-list {
        grid-template-columns: 1fr;
    }

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

    .brand-proof-bar {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .product-icon {
        align-self: center;
    }

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