/* --- COMPLETE STYLE.CSS (Desktop & Mobile Fixed) --- */

/* 1. IMPORTS & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700&family=Playfair+Display:ital,wght@1,600&display=swap');

:root {
    --primary-color: #d4af37; /* Gold */
    --dark-bg: #050505;       /* Deep Black */
    --card-bg: #111;
    --text-light: #ffffff;
    --navbar-height-desktop: 80px;
    --navbar-height-mobile: 160px; /* Safe area for mobile */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* --- 2. DESKTOP NAVIGATION (Default) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height-desktop);
    padding: 0 50px;
    display: flex;
    justify-content: space-between; /* Logo Left, Menu Right */
    align-items: center;
    background-color: #000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    padding: 8px 15px;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 8px 12px;
    transition: 0.3s;
}

.menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 5px;
}

/* --- 3. SECTIONS (Padding for Desktop) --- */
/* Desktop par content 80px niche shuru hoga */
.hero-section, .services-section, .page-hero {
    padding-top: var(--navbar-height-desktop); 
    min-height: 100vh;
}

/* Hero Styling */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero-slogan {
    font-size: 2rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
}

/* Button */
.premium-btn {
    padding: 15px 45px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    background: rgba(0,0,0,0.8);
    transition: 0.3s;
}
.premium-btn:hover { background: var(--primary-color); color: #000; }

/* --- 4. SERVICES & ABOUT STYLING --- */
.container { max-width: 1200px; margin: 0 auto; text-align: center; padding: 20px; }
.section-title { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 10px; }
.section-subtitle { color: #888; margin-bottom: 50px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
/* --- INFRA GRID (NEW SYMMETRY FIX) --- */
.infra-grid {
    display: grid;
    /* Desktop: 4 cards ek line me */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

/* Laptop/Tablet: 2 Upar, 2 Niche */
@media (max-width: 1200px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 ke niche 1 */
@media (max-width: 768px) {
    .infra-grid {
        grid-template-columns: 1fr !important;
    }
}
.service-card, .infra-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border: 1px solid #333;
    border-radius: 12px;
    text-align: left;
    transition: 0.3s;
}
.service-card:hover, .infra-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.service-card h3, .infra-card h3 { color: #fff; margin: 15px 0; font-size: 1.4rem; }
.service-card p, .infra-card p { color: #ccc; line-height: 1.6; }
.icon-box, .infra-card i { font-size: 2.5rem; color: var(--primary-color); }
.read-more { color: var(--primary-color); text-decoration: none; font-weight: bold; }

/* About Page Specifics */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.7), #000), url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
}
.page-title { font-size: 3.5rem; color: #fff; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; text-align: left; align-items: center; }
.story-image img { width: 100%; border-radius: 10px; border: 2px solid #333; }

/* Footer */
footer { padding: 30px; text-align: center; background: #000; border-top: 1px solid #222; margin-top: auto; }


/* --- 5. MOBILE RESPONSIVENESS (The Real Fix) --- */
@media screen and (max-width: 768px) {
    
    /* Navbar turns vertical */
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        justify-content: center;
        background: #000; /* Solid Black */
    }

    /* Menu stacking */
    .menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .menu a {
        font-size: 13px;
        background: #222;
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid #333;
    }

    /* IMPORTANT: Content pushed down specifically for mobile */
    .hero-section, .services-section, .page-hero {
        padding-top: var(--navbar-height-mobile) !important; /* 160px gap */
        background-attachment: scroll; /* Disable parallax */
        height: auto; /* Allow growth */
    }

    /* Text resizing */
    .hero-title, .page-title { font-size: 2.2rem; }
    .hero-slogan { font-size: 1.4rem; }
    
    /* Grids become single column */
    .story-grid, .services-grid, .infra-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Container adjustment */
    .container { padding: 0 20px; }
}