
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-dark: #483c32;
    --primary-red: #dc143c;
    --primary-light: #f5f5dc;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-700: #495057;
    --gray-900: #212529;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--primary-light);
    font-weight: 400;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Universal Header */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(72, 60, 50, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(72, 60, 50, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.emergency-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.call-now-btn {
    background: linear-gradient(135deg, var(--primary-red), #b01030);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
}

.call-now-btn:hover {
    background: linear-gradient(135deg, #b01030, var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.4);
}

.phone-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
    letter-spacing: 0.05em;
}

/* Navigation */
.nav {
    background: var(--primary-dark);
    padding: 0;
    border-bottom: 3px solid var(--primary-red);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav li {
    position: relative;
}

.nav a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    padding: 18px 25px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background: var(--primary-red);
    color: white;
}

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

.nav a:hover::after {
    width: 100%;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--primary-red);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(245, 245, 220, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-content a:hover {
    background: var(--primary-red);
    padding-left: 20px;
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Emergency link styling */
.emergency-link {
    background: var(--primary-red) !important;
    color: white !important;
    border-radius: 20px;
    font-weight: 600 !important;
    animation: pulse 2s infinite;
}

.emergency-link:hover {
    background: #b01030 !important;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 20, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 20, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 20, 60, 0); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(72, 60, 50, 0.9) 0%, 
        rgba(72, 60, 50, 0.7) 50%,
        rgba(220, 20, 60, 0.8) 100%
    );
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><rect x="5" y="5" width="10" height="10" fill="rgba(255,255,255,0.03)" rx="2"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background: var(--white);
}

.content-section.alt {
    background: var(--primary-light);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: 700;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--primary-light);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 16px;
    color: var(--primary-light);
    font-weight: 700;
}

.footer-section p {
    color: rgba(245, 245, 220, 0.8);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        gap: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
    }

    .nav a {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .dropdown-content {
        min-width: 220px;
    }

    .dropdown-content a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}
