/* ===========================
   GENERAL STYLES & VARIABLES
   =========================== */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f97316;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-link:hover {
    border-bottom-color: var(--secondary-color);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ===========================
   SECTION HEADERS
   =========================== */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===========================
   MAP SECTION
   =========================== */

.map-section {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
    max-width: 1400px;
    margin: 0 auto;
}

.map-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    min-height: 600px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-sidebar {
    padding: 2rem;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
}

.map-sidebar h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    text-align: left;
}

.location-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.location-btn.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
}

.location-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
}

.map {
    border-radius: 0 12px 12px 0;
    z-index: 10;
}

.location-info {
    padding: 2rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    grid-column: 1 / -1;
}

.location-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===========================
   FACILITIES SECTION
   =========================== */

.facilities {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.facility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.facility-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.facility-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.view-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.view-btn:hover {
    background: #ea6317;
    transform: scale(1.05);
}

/* ===========================
   DIRECTIONS SECTION
   =========================== */

.directions {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
    max-width: 1200px;
    margin: 0 auto;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.direction-card {
    background: white;
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.direction-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.direction-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.address-box {
    background: white;
    border: 2px solid var(--primary-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.address-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.address-box p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.address-box p strong {
    color: var(--primary-color);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .hero-stats {
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .nav {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .map-container {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1rem;
    }

    .map-sidebar {
        border-right: none;
        border-bottom: none;
        padding: 1.5rem;
    }

    .map-sidebar h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .location-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .location-btn {
        padding: 0.75rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .location-icon {
        font-size: 1.25rem;
        width: 1.5rem;
    }

    .map {
        border-radius: 8px;
        min-height: 350px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .facilities,
    .directions,
    .map-section {
        padding: 2rem 1rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .facility-card {
        padding: 1.5rem;
    }

    .facility-icon {
        font-size: 2.5rem;
    }

    .facility-card h3 {
        font-size: 1.1rem;
    }

    .facility-card p {
        font-size: 0.9rem;
    }

    .directions-grid {
        gap: 1rem;
    }

    .direction-card {
        padding: 1.5rem;
    }

    .direction-card h3 {
        font-size: 1rem;
    }

    .direction-card p {
        font-size: 0.9rem;
    }

    .address-box {
        padding: 1.5rem;
    }

    .address-box h3 {
        font-size: 1.1rem;
    }

    .address-box p {
        font-size: 0.9rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.75rem;
        margin: 0;
    }

    .nav {
        gap: 0.3rem;
    }

    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .stat {
        width: 100%;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .map-section {
        padding: 1.5rem 1rem;
    }

    .map-sidebar {
        padding: 1rem;
    }

    .map-sidebar h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .location-list {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .location-btn {
        padding: 0.6rem;
        font-size: 0.75rem;
        min-height: 42px;
    }

    .location-icon {
        font-size: 1.1rem;
        width: 1.25rem;
    }

    .map {
        min-height: 300px;
    }

    .location-info {
        padding: 1rem;
    }

    .location-info h4 {
        font-size: 1rem;
    }

    .location-info p {
        font-size: 0.85rem;
    }

    .facilities {
        padding: 1.5rem 1rem;
    }

    .facility-card {
        padding: 1rem;
    }

    .facility-icon {
        font-size: 2rem;
    }

    .facility-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .facility-card p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .view-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 40px;
    }

    .directions {
        padding: 1.5rem 1rem;
    }

    .directions-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .direction-card {
        padding: 1rem;
    }

    .direction-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .direction-card p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .address-box {
        padding: 1rem;
    }

    .address-box h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .address-box p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .footer {
        padding: 1.5rem 1rem 0.5rem;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    .footer-section ul li {
        margin-bottom: 0.3rem;
    }

    .footer-section a {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.75rem;
    }
}
