/*
 * resellers.css
 * Styles for the Resellers Page.
 */

/* ------------------------------------------- */
/* --- 1. Page Header & Layout --- */
/* ------------------------------------------- */

.resellers-body {
    background-color: var(--color-bg-dark);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin: 40px 0 60px 0;
}

.page-title {
    font-size: 2.8em;
    color: var(--color-text-light);
    font-weight: 900;
    margin-bottom: 10px;
}

.page-title i {
    color: var(--color-accent);
    margin-right: 10px;
}

.page-subtitle {
    font-size: 1.1em;
    color: var(--color-text-subtle);
    max-width: 700px;
    margin: 0 auto;
}


/* ------------------------------------------- */
/* --- 2. Reseller Grid Layout --- */
/* ------------------------------------------- */

.reseller-grid {
    display: grid;
    /* Default: 3 columns for desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-bottom: 80px;
}


/* ------------------------------------------- */
/* --- 3. Reseller Card Styling --- */
/* ------------------------------------------- */

.reseller-card {
    background-color: var(--color-bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.reseller-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15);
}

.reseller-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.reseller-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid var(--color-accent);
    padding: 3px;
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.reseller-info h3 {
    font-size: 1.4em;
    color: var(--color-text-light);
    margin: 0;
    font-weight: 800;
}

.country {
    font-size: 0.9em;
    color: #4CAF50; /* Green for country/flag */
    margin: 5px 0 0 0;
}
.country i {
    color: #4CAF50;
    margin-right: 5px;
}

/* --- Contact Details Section --- */
.reseller-contact-details {
    flex-grow: 1; /* Pushes the button to the bottom */
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1em;
}

.contact-row i {
    font-size: 1.2em;
    width: 20px;
    color: var(--color-accent);
    margin-right: 10px;
}

.contact-row a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-row a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Specific icon colors */
.fa-globe-americas { color: #85c1e9; } /* Blueish for website */
.fa-telegram-plane { color: #0088cc; } /* Telegram Blue */
.fa-whatsapp { color: #25D366; } /* WhatsApp Green */
.fa-envelope { color: #f39c12; } /* Orange for email */


/* --- Button Styling --- */
.btn-visit-store {
    display: block;
    text-align: center;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    transition: background-color 0.3s, transform 0.2s;
}

.btn-visit-store:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
}


/* ------------------------------------------- */
/* --- 4. RESPONSIVENESS (Media Queries) --- */
/* ------------------------------------------- */

/* Tablet View: 2 columns */
@media (max-width: 1000px) {
    .reseller-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile View: 1 column */
@media (max-width: 650px) {
    .page-title {
        font-size: 2.2em;
    }
    
    .page-subtitle {
        font-size: 1em;
        padding: 0 10px;
    }

    .reseller-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reseller-card {
        padding: 20px;
    }
    
    /* Ensure the footer also stacks cleanly if using the standard site-wide footer CSS */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
        display: flex;
    }
}