/* Base Variables & Theme */
:root {
    /* Colors */
    --primary: #2A84FF;
    --primary-dark: #1A60CC;
    --primary-light: #EBF3FF;
    --secondary: #FFB020;
    --secondary-hover: #E59D17;
    --emergency: #FF4D4F;
    
    --text-main: #0f172a;
    --text-muted: #4b5563;
    --bg-main: #FFFFFF;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 18px;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    color: white;
    font-size: 14px;
    z-index: 1001;
    height: 40px;
    display: flex;
    align-items: center;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.top-bar a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Status Banner */
.status-banner {
    margin-top: 120px;
    background-color: var(--primary-light);
    border-bottom: 1px solid #D6E6FE;
    padding: 10px 0;
}

.status-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-dark);
}

.status-item.emergency {
    color: var(--emergency);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.15) saturate(1.2) drop-shadow(0 0 10px rgba(0,0,0,0.1));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.4) 100%);
    z-index: -1;
}

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

.hero h1 {
    font-size: 64px;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.hero p {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary);
    transition: height 0.3s ease;
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    line-height: 1;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 18px;
}

.feature-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 4/5;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    transition: filter 0.3s ease;
}

.about-img:hover {
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

/* Photo Placeholders */
.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    color: #64748B;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    padding: 24px;
    border: 2px dashed #CBD5E1;
    border-radius: inherit;
}

.about-photo {
    font-size: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 250px;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    display: flex;
    align-items: flex-end;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    box-shadow: var(--shadow-hover);
}

/* Footer Design */
.footer {
    background-color: #0b1120;
    color: #e2e8f0;
    padding: 120px 0 40px;
    position: relative;
    border-top: none;
    margin-top: 100px;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-top: -160px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin: 0;
}

.cta-btn {
    background-color: white;
    color: var(--primary-dark);
    white-space: nowrap;
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 50px;
}

.cta-btn:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    height: 60px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.social-circles {
    display: flex;
    gap: 16px;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-circle:hover {
    background-color: var(--primary);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.footer-links h3, .footer-contact-info h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 32px;
    font-weight: 700;
    position: relative;
}

.footer-links h3::after, .footer-contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #cbd5e1;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: #cbd5e1;
    line-height: 1.6;
}

.contact-list .icon {
    font-size: 20px;
    line-height: 1;
}

.contact-list span:last-child {
    flex: 1;
}

.contact-list a {
    color: #cbd5e1;
}

.contact-list a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.hours-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: -2px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 10px;
    gap: 16px;
    line-height: 1.4;
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-label {
    font-weight: 500;
    color: #94a3b8;
}

.hours-time {
    text-align: right;
    font-weight: 600;
    color: #f8fafc;
}

.emergency-row .hours-time {
    color: var(--primary-light);
}

.footer-map-col {
    width: 100%;
}

.footer-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    height: 240px;
}

.footer-map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #64748b;
    font-size: 14px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--primary-light);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .footer-cta {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .navbar {
        top: 0;
    }
    .status-banner {
        margin-top: 80px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .status-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
