/* ==========================================================================
   DISTRIBUTION PAGE STYLES
   ========================================================================== */

/* -----------------------------------------
   General Layout & Helpers
----------------------------------------- */
.dist-container {
    max-width: var(--container-max-width, 1440px);
    margin: 0 auto;
    padding: 0 var(--spacing-md, 24px);
    width: 100%;
}

/* Animations (Scroll triggered) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-animated {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* -----------------------------------------
   1. Hero Section
----------------------------------------- */
.dist-hero-section {
    position: relative;
    width: 100vw;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dist-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dist-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: heroZoomOut 10s ease-out forwards;
}

@keyframes heroZoomOut {
    to { transform: scale(1); }
}

.dist-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Premium dark gradient overlay */
    background: linear-gradient(135deg, rgba(11, 11, 11, 0.85) 0%, rgba(11, 11, 11, 0.4) 100%);
}

.dist-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--gnv-white, #fff);
    max-width: 900px;
    padding: 0 20px;
}

.dist-tagline {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    color: var(--gnv-green, #8CB33F); 
    border-bottom: 2px solid var(--gnv-green, #8CB33F);
    padding-bottom: 5px;
}

.dist-h1 {
    font-family: var(--font-heading, 'Playfair Display');
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gnv-white, #fff);
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dist-subheading {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------
   2. Key Statistics Section
----------------------------------------- */
.dist-stats-section {
    background-color: var(--gnv-black, #0B0B0B);
    color: var(--gnv-white, #fff);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    margin-top: -40px; /* Slight overlap with hero */
}

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

.dist-stat-box {
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.dist-stat-box:last-child {
    border-right: none;
}

.dist-stat-number {
    font-family: var(--font-heading, 'Playfair Display');
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gnv-green, #8CB33F);
    margin-bottom: 10px;
    line-height: 1;
}

.dist-stat-label {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.dist-stat-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* -----------------------------------------
   3. The 'Port to Pet' Journey
----------------------------------------- */
.dist-process-section {
    padding: 100px 0;
    background-color: var(--gnv-bg-light, #F8F9FA);
}

.dist-process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.dist-process-header h2 {
    font-family: var(--font-heading, 'Playfair Display');
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--gnv-black, #0B0B0B);
    margin-bottom: 20px;
}

.dist-process-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.dist-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dist-step-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dist-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.dist-step-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.dist-step-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dist-step-card:hover .dist-step-img-wrapper img {
    transform: scale(1.08);
}

.dist-step-number {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--gnv-green, #8CB33F);
    color: #fff;
    font-family: var(--font-heading, 'Playfair Display');
    font-size: 1.5rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

.dist-step-content {
    padding: 40px 24px 30px;
}

.dist-step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--gnv-black, #0B0B0B);
    line-height: 1.3;
}

.dist-step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* -----------------------------------------
   4. Why Choose Us?
----------------------------------------- */
.dist-features-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: #fff;
}

.dist-features-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 11, 11, 0.85); /* Dark overlay */
    z-index: 1;
}

.dist-features-section .dist-container {
    position: relative;
    z-index: 2;
}

.dist-features-header {
    text-align: center;
    margin-bottom: 60px;
}

.dist-features-header h2 {
    font-family: var(--font-heading, 'Playfair Display');
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #fff;
}

.dist-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.dist-feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.dist-feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.dist-feature-icon {
    color: var(--gnv-green, #8CB33F);
    margin-bottom: 20px;
}

.dist-feature-box h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.dist-feature-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* -----------------------------------------
   5. Call to Action
----------------------------------------- */
.dist-cta-section {
    padding: 100px 0;
    background-color: var(--gnv-bg-light, #F8F9FA);
    text-align: center;
}

.dist-cta-container {
    max-width: 800px;
}

.dist-cta-section h2 {
    font-family: var(--font-heading, 'Playfair Display');
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: var(--gnv-black, #0B0B0B);
    margin-bottom: 20px;
}

.dist-cta-section p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Buttons */
.gnv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gnv-btn-primary {
    background-color: var(--gnv-green, #8CB33F);
    color: #fff;
}

.gnv-btn-primary:hover {
    background-color: #7AA034;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(140, 179, 63, 0.3);
}

.gnv-btn-outline {
    background-color: transparent;
    color: var(--gnv-black, #0B0B0B);
    border: 2px solid var(--gnv-black, #0B0B0B);
}

.gnv-btn-outline:hover {
    background-color: var(--gnv-black, #0B0B0B);
    color: #fff;
    transform: translateY(-2px);
}


/* -----------------------------------------
   Responsive Design
----------------------------------------- */
@media (max-width: 1024px) {
    .dist-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .dist-stat-box:nth-child(2) {
        border-right: none;
    }
    
    .dist-stat-box:nth-child(3),
    .dist-stat-box:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 30px;
    }

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

@media (max-width: 768px) {
    .dist-features-grid {
        grid-template-columns: 1fr;
    }
    
    .dist-hero-section {
        min-height: 70vh;
    }
    
    .dist-cta-buttons {
        flex-direction: column;
    }
    
    .gnv-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .dist-stats-grid,
    .dist-process-grid {
        grid-template-columns: 1fr;
    }
    
    .dist-stat-box {
        border-right: none !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        padding: 20px 0 !important;
    }
    
    .dist-stat-box:first-child {
        border-top: none !important;
    }
}
