/* ===== MAIN STYLES ===== */
:root {
    --primary-color: #731628;
    --secondary-color: #8e1f35;
    --accent-color: #e8b3bc;
    --light-accent: #f0c9d0;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(115, 22, 40, 0.15);
    --radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 35px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

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

/* ===== HEADER ===== */
.header {
    background: var(--primary-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== EMERGENCY WIDGET ===== */
.emergency-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
}

.emergency-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #dc3545;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.emergency-btn:hover {
    background: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3); }
    50% { box-shadow: 0 5px 20px rgba(220, 53, 69, 0.6); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

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

    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        grid-template-columns: 1fr;
    }

    .emergency-widget {
        bottom: 20px;
        left: 20px;
    }

    .emergency-btn span {
        display: none;
    }

    .emergency-btn {
        padding: 1rem;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
}
/* ==================== */
/* LOGO FIXES - Add this section */
/* ==================== */

/* Header Logo - Consistent sizing for all pages */
.logo img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    background: white !important;
    padding: 5px !important;
    border-radius: 8px !important;
    display: block !important;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    white-space: nowrap;
}

/* Footer Logo - Consistent sizing */
.footer-logo {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    background: white !important;
    padding: 10px !important;
    border-radius: 10px !important;
    display: block !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo img {
        width: 35px !important;
        height: 35px !important;
    }

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

    .footer-logo {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 30px !important;
        height: 30px !important;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .footer-logo {
        width: 50px !important;
        height: 50px !important;
    }
}

/* ==================== */
/* LOGO FIXES - Add this section */
/* ==================== */

/* Header Logo - Consistent sizing for all pages */
.logo img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    background: white !important;
    padding: 5px !important;
    border-radius: 8px !important;
    display: block !important;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    white-space: nowrap;
}

/* Footer Logo - Consistent sizing */
.footer-logo {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    background: white !important;
    padding: 10px !important;
    border-radius: 10px !important;
    display: block !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo img {
        width: 35px !important;
        height: 35px !important;
    }

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

    .footer-logo {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 30px !important;
        height: 30px !important;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .footer-logo {
        width: 50px !important;
        height: 50px !important;
    }
}
