/* Root Variables */
:root {
    --primary-color: #6B4423;
    --primary-dark: #4A2F1A;
    --primary-light: #8B6239;
    --secondary-color: #D4A574;
    --accent-color: #A67C52;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --bg-light: #FAF8F5;
    --bg-white: #FFFFFF;
    --border-color: #E5E5E5;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header & Navigation */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 60%;
    }

/* CTA Navigation Links */
.nav-cta-seller,
.nav-cta-dealer {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white !important;
    border-radius: 8px;
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(107, 68, 35, 0.2);
}

    .nav-cta-seller:hover,
    .nav-cta-dealer:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(107, 68, 35, 0.3);
        color: white !important;
    }

    .nav-cta-seller::after,
    .nav-cta-dealer::after {
        display: none;
    }

.nav-cta-seller {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.nav-cta-dealer {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

@media (max-width: 991px) {

    .nav-cta-seller,
    .nav-cta-dealer {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
        text-align: center;
    }
}

/* Outline CTA Navigation Link */
.nav-outline-cta-dealer {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

    .nav-outline-cta-dealer:hover {
        background: var(--primary-color);
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(107, 68, 35, 0.3);
    }

    .nav-outline-cta-dealer::after {
        display: none;
    }

@media (max-width: 991px) {
    .nav-outline-cta-dealer {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
        text-align: center;
    }
}


/* Hero Section with Slider */
.hero-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

    .hero-slide.active {
        opacity: 1;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 68, 35, 0.85) 0%, rgba(74, 47, 26, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Page-Specific Hero Sections (Shorter with Static Background) */
.hero-section-page {
    position: relative;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

    .hero-section-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(107, 68, 35, 0.85) 0%, rgba(74, 47, 26, 0.75) 100%);
        z-index: 1;
    }

    .hero-section-page .container {
        position: relative;
        z-index: 2;
    }

    .hero-section-page .hero-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: white;
        line-height: 1.2;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-section-page .hero-subtitle {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.95);
        margin-bottom: 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

/* Specific Background Images for Each Page */
.hero-services, .hero-about, .hero-catalog, .hero-contact, .hero-faq, .hero-dealer {
    background-image: url('/images/hero-header.png');
}


.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Service Cards */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    border: none;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-company {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-rating {
    color: #FFB800;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
}

    .accordion-button:not(.collapsed) {
        background: var(--primary-color);
        color: white;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: var(--primary-color);
    }

.accordion-body {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: none;
}

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .newsletter-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
    }

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: #CCCCCC;
    padding: 60px 0 20px;
}

.footer-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-subtitle {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-text {
    line-height: 1.8;
    color: #AAAAAA;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: #AAAAAA;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--secondary-color);
        }

.footer-contact {
    list-style: none;
    padding: 0;
}

    .footer-contact li {
        margin-bottom: 0.75rem;
        color: #AAAAAA;
    }

    .footer-contact i {
        color: var(--secondary-color);
        margin-right: 0.5rem;
    }

.social-links {
    margin-top: 1.5rem;
}

    .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        margin-right: 0.75rem;
        color: white;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #888888;
}

/* Product Cards */
.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-light);
}

.product-body {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(107, 68, 35, 0.1);
    }

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
}

.alert-danger {
    background: #F8D7DA;
    color: #721C24;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
}

.page-link {
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem;
}

    .page-link:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-light-custom {
    background: var(--bg-light);
}

/* CTA Cards Section */
.cta-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .cta-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.cta-seller {
    border-color: #2563eb;
}

.cta-dealer {
    border-color: var(--primary-color);
}

.cta-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-seller .cta-icon {
    color: #2563eb;
}

.cta-dealer .cta-icon {
    color: var(--primary-color);
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

    .cta-benefits li {
        padding: 0.5rem 0;
        color: var(--text-dark);
        font-weight: 500;
    }

    .cta-benefits i {
        margin-right: 0.75rem;
        font-size: 1.1rem;
    }

.cta-seller .cta-benefits i {
    color: #2563eb;
}

.cta-dealer .cta-benefits i {
    color: var(--primary-color);
}

.btn-cta-seller,
.btn-cta-dealer {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-seller {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-cta-dealer {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

    .btn-cta-seller:hover,
    .btn-cta-dealer:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        color: white;
    }
