/* Reset & Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Raleway:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #006937;
    --primary-gold: #F6C730;
    --primary-gold-dark: #d4a000;
    --dark-green: #004d28;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f4f4f4;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--primary-green);
    line-height: 1.2;
}

a {
    transition: all 0.3s ease-in-out;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* helper classes */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-green {
    color: var(--primary-green);
}

.text-gold {
    color: var(--primary-gold);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.pt-80 {
    padding-top: 80px;
}

.pb-80 {
    padding-bottom: 80px;
}

/* Buttons */
.btn {
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--dark-green);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: var(--primary-gold-dark);
    border-color: var(--primary-gold-dark);
    transform: translateY(-2px);
}

.btn-green {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-green:hover {
    background: var(--dark-green);
    color: var(--white);
    border-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-green);
}

/* Top Bar */
.top-bar {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 25px;
}

.top-bar-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-link:hover {
    color: var(--primary-gold);
}

.top-bar-link i {
    color: var(--primary-gold);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 4px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    padding: 34px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-green);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 130px);
    /* Adjust based on header height */
    min-height: 600px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for Hero */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 20, 0.45);
    /* Dark Green Overlay */
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    z-index: 20;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    color: var(--white);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Swiper Nav */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-gold) !important;
    background: rgba(0, 0, 0, 0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-green);
    color: var(--white) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-gold) !important;
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header .subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.section-title-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    margin: 20px auto 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.welcome-image:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--primary-gold);
    border-left: 5px solid var(--primary-gold);
    z-index: -1;
}

/* Featured Products */
.featured-products {
    padding: 100px 0;
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-gold);
}

.product-image {
    height: 240px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
    text-align: center;
}

.product-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-link:hover {
    color: var(--primary-gold);
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: var(--dark-green);
    color: var(--white);
    position: relative;
}

.video-section h2 {
    color: var(--white);
}

.video-section .subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.video-gallery-wrapper {
    margin-top: 50px;
}

.video-player-wrapper {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--primary-green);
    border-radius: 8px;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 12px;
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-content a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    display: inline-block;
}

/* Footer UI */
.footer {
    background: #111;
    color: #bbb;
    padding: 80px 0 0;
    font-size: 15px;
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-column ul li a:before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--primary-green);
}

.footer-bottom {
    background: var(--primary-green);
    padding: 20px 0;
    color: var(--white);
    font-size: 14px;
    margin-top: 0;
}

.footer-bottom p {
    opacity: 0.9;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-wrapper {
        height: 70px;
    }

    .nav-menu {
        display: none;
        /* Hide for now, implement mobile menu later if needed */
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        height: auto;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .hero-slider {
        height: auto !important;
        min-height: auto !important;
    }

    .hero-slider .swiper,
    .hero-slider .swiper-slide {
        height: auto !important;
    }

    .hero-slider .swiper-slide img {
        height: auto !important;
        object-fit: contain !important;
        position: relative !important;
        width: 100% !important;
    }

    .welcome-section {
        padding: 50px 0;
    }

    .btn {
        padding: 9px 8px;
        font-size: 12px;
    }

    h1 { font-size: 28px !important; }
    h2 { font-size: 24px !important; }
    .section-header h2 { font-size: 24px !important; }
    .hero-content h1 { font-size: 28px !important; }
    .page-header-pro h1 { font-size: 2.5rem !important; }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
    }
}

/* Professional Page Headers */
.page-header-pro {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    color: var(--white);
    overflow: hidden;
    margin-bottom: 60px;
    background-attachment: fixed;
    /* Parallax feel */
}

.page-header-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 40, 0.95) 0%, rgba(0, 105, 55, 0.8) 100%);
    z-index: 1;
}

.page-header-pro .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header-pro h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: capitalize;
    color: var(--white);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.page-header-pro p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

/* Breadcrumbs */
.pro-breadcrumb {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pro-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.pro-breadcrumb a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.pro-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 12px;
    font-size: 12px;
}

.pro-breadcrumb .current {
    color: var(--primary-gold);
    font-weight: 700;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .page-header-pro {
        padding: 100px 0 60px;
    }

    .page-header-pro h1 {
        font-size: 2.2rem;
    }

    .page-header-pro p {
        font-size: 1rem;
    }
}