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

:root {
    --primary-color: #1B4332;
    --primary-dark: #0b2d1f;
    --primary-light: #2D6A4F;
    --secondary-color: #D4A373;
    --accent-color: #8FB339;
    --yellow: #FFC107;
    --text-dark: #2D3142;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --white: #ffffff;
    --blue-dark: #0F2331;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(27, 67, 50, 0.3);
}

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

.btn-secondary:hover {
    background-color: #bc8a5f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.3);
}

/* Top Header */
.top-header {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.header-info {
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    color: var(--primary-color);
}

.info-item .detail {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.info-item .value {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: relative;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: var(--primary-dark);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo-text .name,
.navbar.scrolled .nav-menu a {
    color: var(--primary-dark) !important;
    text-shadow: none !important;
}

.navbar.scrolled .logo-text .tagline {
    color: var(--text-light) !important;
    text-shadow: none !important;
}

.navbar.scrolled .mobile-toggle {
    color: var(--primary-dark) !important;
}

.navbar.scrolled .nav-menu a.active,
.navbar.scrolled .nav-menu a:hover {
    color: var(--primary-color) !important;
}

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

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text .tagline {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.nav-menu a {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    padding: 1.5rem 0;
    display: inline-block;
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-whatsapp-nav {
    background: #25D366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.nav-menu a::after {
    display: none;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--yellow);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-menu ul {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }
}

/* Hero Slider Section */
.slider-container {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.slide .hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.slide.active .hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

.slide.active .hero-content .hero-subtitle { transition-delay: 0.2s; }
.slide.active .hero-content .slider-title { transition-delay: 0.4s; }
.slide.active .hero-content .categories { transition-delay: 0.6s; }
.slide.active .hero-content p { transition-delay: 0.8s; }
.slide.active .hero-content .hero-btns { transition-delay: 1.0s; }

.slider-title {
    font-size: 3.5rem !important;
    color: var(--white) !important;
    font-weight: 800 !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.hero-subtitle {
    display: block;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--yellow);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

.dot {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--yellow);
    border-color: var(--yellow);
    transform: scale(1.3);
}

.hero-grid {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    z-index: 2;
    padding: 3rem 0;
    max-width: 900px;
}

.hero .categories {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0.9;
}

.hero p {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.hero-images {
    position: relative;
    height: 400px;
    display: flex;
    gap: 1rem;
}

.hero-img-left {
    flex: 1.2;
    background: url('../images/ship.png') center/cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.hero-img-right {
    flex: 1;
    background: url('../images/ingredients-hero.png') center/cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}



.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

/* Features & Inquiry */
.features-container {
    display: flex;
    gap: 2rem;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    flex: 3;
}

.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.inquiry-box {
    flex: 1;
    background: var(--primary-dark);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.inquiry-box h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.inquiry-box p {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.inquiry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-family: inherit;
}

.form-group textarea {
    resize: none;
}

.btn-quote {
    background: var(--yellow);
    color: var(--primary-dark);
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn-quote.full-width {
    grid-column: span 2;
}

@media (max-width: 480px) {
    .inquiry-form {
        grid-template-columns: 1fr;
    }
    .form-group.full-width, .btn-quote.full-width {
        grid-column: span 1;
    }
}

/* Category Sections */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}

.category-block {
    background: #f8fbf9;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    border: 1px solid #eee;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    color: var(--primary-color);
}

.category-header h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
}

.category-content {
    display: flex;
    gap: 1.5rem;
}

.category-img {
    flex: 1;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
}

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

.product-list-cols {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
}

.product-list-cols li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-list-cols li i {
    color: var(--primary-color);
    width: 14px;
}

.btn-view-all {
    margin-top: 1.5rem;
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Stats Section */
.stats-bar {
    background: var(--primary-dark);
    color: white;
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 250px;
}

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.category-desc {
    grid-column: 1 / -1;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--secondary-color);
    font-size: 1.1rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    font-weight: 500;
}

.products-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-info .logo {
    margin-bottom: 1.5rem;
}

.footer-info .footer-logo-text .name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-info .footer-logo-text .tagline {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.footer-info p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-contact h3,
.footer-map h3 {
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-map h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

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

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

.footer-links ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item .icon {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.map-container {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Quality Page Styles */
.page-header-quality {
    background: linear-gradient(rgba(27, 67, 50, 0.9), rgba(27, 67, 50, 0.8)), url('../images/products/milling-wheat.jpg') center/cover;
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.page-header-quality h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.process-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary-color);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 163, 115, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-images {
        display: none;
    }
    
    .features-container {
        flex-direction: column;
        margin-top: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
        color: white;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 0;
    }
    
    .stat-item {
        border-right: none;
    }
    
    .category-content {
        flex-direction: column;
    }
    
    .product-list-cols {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-download {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}