/* Dealer Page Styles */

/* Hero Section */
.dealer-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.dealer-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/slider/slider-image-retail.jpg') center/cover no-repeat;
}

.dealer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(26, 37, 47, 0.85) 100%);
}

.dealer-hero .container {
    position: relative;
    z-index: 1;
}

.dealer-hero-content {
    color: var(--bg-white);
    padding: 40px 20px;
}

.dealer-tagline {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-green-light);
    margin-bottom: 15px;
}

.dealer-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

/* Tab Navigation */
.dealer-tabs {
    background-color: var(--bg-dark);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dealer-tabs-list {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.dealer-tab {
    display: block;
    padding: 18px 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.dealer-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.dealer-tab:hover,
.dealer-tab.active {
    color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.dealer-tab:hover::after,
.dealer-tab.active::after {
    width: 100%;
}

/* Dealer Sections */
.dealer-section {
    padding: 80px 0;
}

.dealer-section.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
}

.section-highlight {
    color: var(--primary-green) !important;
    font-weight: 600;
    font-size: 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dealer Brands Grid */
.dealer-brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dealer-brand-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 25px 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: var(--transition);
}

.dealer-brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dealer-brand-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.dealer-brand-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.5;
}

.feature-list svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Serving Section */
.serving-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.serving-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.serving-map img {
    width: 100%;
    height: auto;
    display: block;
}

/* Quote Block */
.dealer-quote {
    position: relative;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-green);
}

.bg-light .dealer-quote {
    background-color: var(--bg-white);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 40px;
    height: 40px;
    fill: var(--primary-green);
    opacity: 0.2;
}

.dealer-quote p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

/* Beliefs Section */
.beliefs-content {
    max-width: 900px;
    margin: 0 auto;
}

.beliefs-list {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 12px;
}

/* Service Features Grid */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-feature-card {
    background-color: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-green);
}

.service-feature-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-feature-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* Growing Together Section */
.growing-content {
    max-width: 1000px;
    margin: 0 auto;
}

.growing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.growing-card {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.growing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.growing-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.growing-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-green);
}

.growing-card p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Become a Dealer CTA Section */
.dealer-cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    text-align: center;
}

.dealer-cta-content h2 {
    font-size: 42px;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.dealer-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.dealer-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.dealer-cta-section .btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-green);
    border-color: var(--bg-white);
}

.dealer-cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .dealer-hero-content h1 {
        font-size: 42px;
    }

    .dealer-tabs {
        top: 70px;
    }

    .dealer-tab {
        padding: 15px 18px;
        font-size: 13px;
    }

    .dealer-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .serving-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .serving-map {
        order: -1;
    }

    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .growing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dealer-hero {
        min-height: 400px;
    }

    .dealer-hero-content h1 {
        font-size: 32px;
    }

    .dealer-tagline {
        font-size: 14px;
    }

    .dealer-tabs {
        position: relative;
        top: 0;
    }

    .dealer-tabs-list {
        flex-wrap: wrap;
    }

    .dealer-tab {
        padding: 12px 15px;
        font-size: 12px;
        flex: 1 1 auto;
        text-align: center;
    }

    .dealer-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .dealer-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .dealer-quote {
        padding: 30px;
    }

    .dealer-quote p {
        font-size: 16px;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .growing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dealer-cta-content h2 {
        font-size: 32px;
    }

    .dealer-cta-content p {
        font-size: 16px;
    }

    .dealer-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .dealer-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .dealer-hero {
        min-height: 350px;
    }

    .dealer-hero-content h1 {
        font-size: 28px;
    }

    .dealer-tab {
        padding: 10px 12px;
        font-size: 11px;
    }

    .dealer-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 15px;
    }

    .dealer-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .dealer-brand-item {
        padding: 20px 10px;
        min-height: 80px;
    }

    .feature-list li {
        font-size: 14px;
    }

    .dealer-quote {
        padding: 25px;
    }

    .dealer-quote p {
        font-size: 15px;
    }

    .quote-icon {
        width: 30px;
        height: 30px;
        top: 15px;
        right: 15px;
    }

    .service-feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .growing-card {
        padding: 25px;
    }

    .dealer-cta-content h2 {
        font-size: 26px;
    }

    .beliefs-list {
        padding: 25px;
    }
}
