/*
Theme Name: Premier Exports
Theme URI: https://example.com
Author: Your Company
Author URI: https://example.com
Description: A professional WordPress theme for wholesale food export business
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: premier-exports
Tags: e-commerce, food, export, wholesale
*/

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

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #ec106b;
    --secondary-dark: #ea580c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 85px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 7px 0;
    font-size: 14px;
}

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

.header-top a {
    color: var(--white);
}

.header-top a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: 7px 0;
}

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

/* Scrolled header class styles */
.header-main.scrolled {
    padding: 5px 0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.site-logo img {
    max-height: 70px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.cta-button:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    color: var(--white);
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-title p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.stats {
    background: var(--bg-light);
}

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

.stat-item {
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-item h3 {
    font-size: 52px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

/* Product Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: var(--white);
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.category-card p {
    color: var(--text-light);
    font-size: 15px;
}

.category-card a {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
}

.category-card a:hover {
    color: var(--secondary-color);
}

/* Page Header Styles */
.page-header {
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 50px;
    margin-bottom: 0px;
    font-weight: 700;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
}

/* Mission Section Styles */
.mission-item {
    transition: all 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Brands Section Styles */
.brand-item {
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Form Button Hover */
button {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* About Section */
.about {
    background: var(--white);
}

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

.about-text h2 {
    font-size: 40px;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--text-dark);
}

.about-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--white);
}

.footer-col p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ca3af;
    font-size: 15px;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* Banner Carousel Styles */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.banner-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.banner-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover,
.carousel-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Featured Sections */
.featured-block {
    transition: all 0.3s ease;
}

.featured-image img {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* New Arrivals */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* About Us Home Section */
.stat-box {
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Categories Grid (Home) */
.category-item {
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.category-item img {
    transition: transform 0.4s ease;
}

.category-item:hover img {
    transform: scale(1.05);
}

/* Export Markets */
.market-card {
    transition: all 0.3s ease;
}

.market-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Our Process */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-grid,
    .categories-grid,
    .footer-grid,
    .products-grid,
    .brands-grid,
    .about-wrapper,
    .featured-block,
    .category-grid,
    .markets-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .banner-carousel {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero h1,
    .hero-banner h1 {
        font-size: 34px;
    }
    
    .stats-grid,
    .categories-grid,
    .footer-grid,
    .products-grid,
    .brands-grid,
    .about-wrapper,
    .featured-block,
    .category-grid,
    .contact-grid,
    .markets-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .banner-carousel {
        height: 400px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
}
