/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo and text */
}

.nav-brand .logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nav-brand h2 {
    color: #fff;
    font-size: 24px;
    margin: 0;
}

.nav-brand h3 {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #fffbfb;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6b35;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    height: 60vh;
    background-image: url('./src/images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(122, 121, 121, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5530;
}

.btn-small {
    color: white;
    background: #e55a2b;
    padding: 10px 20px;
    font-size: 14px;
}

/* ========== Section Titles ========== */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c5530;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff6b35;
}

/* ========== About Section ========== */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c5530;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.features {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: #2c5530;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.about-image .placeholder-image {
    background: #000;
    height: 400px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Slider styles for about section */
.about-image .image-slider {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.about-image .image-slide-item {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.about-image .image-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reuse the same slider button styles */
.about-image .slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 85, 48, 0.7);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.about-image .placeholder-image:hover .slide-btn {
    opacity: 1;
}

.about-image .slide-btn:hover {
    background: rgba(44, 85, 48, 0.9);
}

.about-image .prev-slide {
    left: 10px;
}

.about-image .next-slide {
    right: 10px;
}

.about-image .slide-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.about-image .slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.about-image .slide-indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.partners {
    text-align: center;
}

.partners h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c5530;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logo {
    background: white;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #666;
}

/* ========== Products Section ========== */
.products {
    padding: 80px 0;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    padding: 20px 20px 10px;
    color: #2c5530;
    font-size: 22px;
    margin: 0;
}

.product-card p {
    padding: 0 20px;
    color: #666;
    font-size: 15px;
    margin-bottom: 10px;
}

.product-card .price {
    color: #ff6b35;
    font-weight: 700;
    font-size: 18px;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.product-card .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
    display: inline-block;
}

/* ========== Promotion Section ========== */
.promotion {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.promotion .section-title {
    color: white;
}

.promotion .section-title::after {
    background: white;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.promo-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.promo-card:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

.promo-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.promo-card p {
    font-size: 20px;
    margin-bottom: 10px;
}

.promo-detail {
    font-size: 16px !important;
    opacity: 0.9;
}

.promo-highlight {
    background: rgba(255,107,53,0.3);
    border-color: #ff6b35;
}

/* Video Section with Text */
.promo-video-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-video {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.promo-video video {
    display: block;
    border-radius: 15px;
}

.promo-video-text {
    padding: 20px;
}

.promo-video-text h3 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.promo-video-text p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.promo-video-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.promo-video-text ul li {
    font-size: 18px;
    margin-bottom: 12px;
    padding-left: 10px;
}

.promo-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.promo-btn:hover {
    background: #764ba2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .promo-video-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .promo-video-text h3 {
        font-size: 28px;
    }
}

/* ========== Portfolio Section ========== */
.portfolio {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c5530;
    margin-bottom: 40px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #2c5530;
    background: white;
    color: #2c5530;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2c5530;
    color: white;
}

/* ========================================= */
/* Portfolio Grid Layout */
/* ========================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h4 {
    color: #2c5530;
    margin-bottom: 8px;
    font-size: 18px;
}

.portfolio-info p {
    color: #666;
    font-size: 14px;
}

/* ========================================= */
/* SLIDER / CAROUSEL STYLES (FIXED) */
/* ========================================= */

/* Container that defines the visible area */
.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden; /* Hides slides outside viewport */
    background: #000;
}

/* Slider track that holds all slides */
.image-slider {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

/* Individual slide - each takes full width of viewport */
.image-slide-item {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.image-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 85, 48, 0.7);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-image:hover .slide-btn {
    opacity: 1;
}

.slide-btn:hover {
    background: rgba(44, 85, 48, 0.9);
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

/* Slide indicators (dots) */
.slide-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.slide-indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}
/* ========== Testimonials ========== */
.testimonials {
    margin-top: 40px;
}

.testimonials h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c5530;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #ff6b35;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.customer-name {
    font-weight: 600;
    color: #2c5530;
    font-style: normal !important;
}

/* ========== Process Section ========== */
.process {
    padding: 80px 0;
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: #2c5530;
    color: white;
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.process-step p {
    font-size: 15px;
    line-height: 1.6;
}

.process-step:hover .step-number {
    background: white;
    color: #2c5530;
}

/* ========== Contact Section ========== */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c5530;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 32px;
    width: 50px;
}

.contact-item h4 {
    color: #2c5530;
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-item p {
    color: #666;
    font-size: 16px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5530;
}

.contact-form button {
    width: 100%;
}

.map-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .product-grid,
    .promo-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .contact-form {
        padding: 25px;
    }
}
