/* =========================================
   AAROHAN ENTERPRISES - MASTER CSS
   ========================================= */

:root {
    --primary-color: #0B2545;
    --accent-color: #E63946;
    --text-color: #333333;
    --bg-light: #F8F9FA;
    --font-stack: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

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

.site-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Dropdown specific flex wrapper */
.nav-item-flex {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    color: var(--primary-color);
    padding: 5px;
}

/* --- Desktop Dropdown Hover --- */
@media (min-width: 993px) {
    .has-dropdown, .sub-dropdown { position: relative; }

    .dropdown, .dropdown-menu-right {
        position: absolute;
        background: #ffffff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        min-width: 220px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        z-index: 100;
        list-style: none;
        border-top: 3px solid var(--accent-color);
    }

    .dropdown {
        top: 100%;
        left: 0;
        transform: translateY(10px);
    }

    .dropdown-menu-right {
        top: 0;
        left: 100%;
        transform: translateX(10px);
        border-top: none;
        border-left: 3px solid var(--accent-color);
    }

    /* Hover Triggers */
    .has-dropdown:hover > .dropdown,
    .sub-dropdown:hover > .dropdown-menu-right {
        opacity: 1;
        visibility: visible;
        transform: translate(0);
    }

    .dropdown li { border-bottom: 1px solid #f1f1f1; }
    
    .dropdown li a {
        display: block;
        padding: 12px 20px;
        font-weight: 500;
    }
    
    .dropdown li:hover > .nav-item-flex {
        background: #f8f9fa;
    }
}

/* --- Mobile Menu --- */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
    line-height: 1;
}

@media (max-width: 992px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        display: none; /* Hidden until toggled via JS */
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links > li > a, .nav-item-flex {
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-arrow {
        font-size: 1.2rem;
        padding: 0 15px;
        border-left: 1px solid #eee;
    }

    /* Mobile Accordion Logic */
    .dropdown, .dropdown-menu-right {
        display: none;
        background: #f8f9fa;
        list-style: none;
        width: 100%;
    }

    .dropdown li a, .dropdown .nav-item-flex {
        padding: 12px 20px 12px 40px;
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-menu-right li a {
        padding-left: 60px;
    }

    /* JS Toggles this class */
    .open > .dropdown,
    .open > .dropdown-menu-right {
        display: block;
    }
}

/* =========================================
   HERO SECTION (Fixed Stretching)
   ========================================= */

.hero-section {
    position: relative;
    height: 65vh; /* Better mobile proportion */
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    background-color: #222;
}

/* This is the strict fix for the video distortion */
.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.city-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #c52834;
}

/* =========================================
   GRIDS & CONTENT
   ========================================= */

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.service-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eeeeee;
    transition: transform 0.3s;
}

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

.service-card img, .image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.service-card h3 {
    margin: 15px 0 10px;
    color: var(--primary-color);
}

/* Fallback styling for broken images at the bottom */
.image-wrapper {
    background: #f1f1f1;
    border-radius: 6px;
    border: 1px solid #ddd;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-hq, .footer-areas {
    flex: 1;
    min-width: 280px;
}

footer h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

footer address, footer ul {
    font-style: normal;
    line-height: 1.8;
    list-style: none;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

footer a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}
