/* UKUS-2026 Master Stylesheet 
   Theme: Industrial Green, Corporate Navy, & Energy Orange
   Author: KVGEA Pvt Ltd
*/

:root {
    --primary-green: #006837;    /* Growth & Uttarakhand's Nature */
    --accent-orange: #f37021;    /* Energy & Innovation */
    --navy-blue: #1c2b4b;       /* Professionalism & Trust */
    --white: #ffffff;
    --light-grey: #f4f4f4;
    --dark-grey: #333333;
    --transition: all 0.3s ease-in-out;
}

/* 1. RESET & BASE STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--navy-blue);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

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

/* 2. HEADER & MOBILE HAMBURGER MENU */
header {
    background: var(--white);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img { height: 100px; }

/* Hamburger Icon Logic */
.nav-toggle { display: none; }

.nav-toggle-label {
    display: block;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--navy-blue);
    height: 3px;
    width: 25px;
    position: relative;
    transition: var(--transition);
}

.nav-toggle-label span::before { content: ''; position: absolute; top: -8px; }
.nav-toggle-label span::after { content: ''; position: absolute; top: 8px; }

nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: var(--transition);
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

nav ul { list-style: none; text-align: center; padding: 10px 0; }
nav li { margin-bottom: 10px; }
nav a { text-decoration: none;color: var(--navy-blue); font-weight: 700; font-size: 1rem; }

/* Show menu when checkbox is checked */
.nav-toggle:checked ~ nav { transform: scale(1, 1); }

/* 3. HERO & SUB-PAGES */
.hero, .hero-sub {
    padding: 80px 5%;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
	display: flex;
    justify-content: center;
    align-items: center;
    
}

.hero { background: linear-gradient(rgba(28, 43, 75, 0.85), rgba(28, 43, 75, 0.85)), url('hero-bg.jpg'); }
.hero h1 { font-size: 2.5rem; text-transform: uppercase; }

/* 4. BUTTONS */
.cta-button {
    background: var(--accent-orange);
    color: white !important;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
}

.cta-button:hover { background: #d65d1a; transform: translateY(-2px); }

.cta-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
}

/* 5. COUNTDOWN TIMER */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 2px 0;
}

.time-box {
    background: rgba(255,255,255,0.15);
    padding: 5px;
    border-radius: 8px;
    min-width: 80px;
    border: 1px solid var(--accent-orange);
}

.time-box span { font-size: 1.8rem; font-weight: bold; display: block; }
.time-box p { font-size: 0.7rem; margin: 0; text-transform: uppercase; }


/* Flex Container for BSPEX/BLRIX */
.feature-container {
    display: flex;
    flex-direction: column; /* Stacked on mobile */
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
}
 /* Corrected Media Query for BSPEX/BLRIX Side-by-Side */
@media screen and (min-width: 768px) {
    .feature-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .feature-box { flex: 1; }
}
/* Feature & Action Grids */
.feature-grid, .action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
	
    padding: 20px 0;
}

.feature-card, .action-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    text-decoration: none;
    color: var(--navy-blue);
    transition: 0.3s;
}
.action-item { border: 2px solid var(--primary-green); font-weight: bold; }
.action-item:hover { background: var(--primary-green); color: white; }

.dark-box { background: var(--navy-blue) !important; color: white !important; }
.btn-sm { padding: 8px 15px; background: var(--accent-orange); border: none; color: white; border-radius: 4px; cursor: pointer; }

.layout-preview {
    background: #eee;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

/* 6. GRIDS & LAYOUTS */
.section { padding: 60px 5%; }
.bg-light { background: var(--light-grey); }

.feature-grid, .sector-grid, .tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card, .sector-item, .tier-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.tier-label {
    font-size: 0.8rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin: 20px 0;
}
.tier-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.tier-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.tier-benefits li::before {
    content: "💠 ";
}
/* 7. AD SLOTS & REVENUE */
.news-ticker { background: var(--primary-green); color: white; padding: 10px 0; }
.ad-slot { padding: 20px; background: #eee; text-align: center; border: 1px dashed #bbb; margin: 20px 0; }
.ad-label { font-size: 0.6rem; color: #888; letter-spacing: 1px; }

.ad-placeholder {
    max-width: 728px;
    height: 90px;
    background: #ddd;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #bbb;
}

.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ad-square {
    background: #eee;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.ad-square img { width: 100%; height: auto; }

.stats-bg {
    background: var(--navy-blue);
    color: white;
    text-align: center;
    padding: 60px 5%;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item h3 { font-size: 2.5rem; color: var(--accent-orange); }





/* 8. FORMS */
.service-form-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* 9. ADMIN DASHBOARD */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.stat-card { background: white; padding: 20px; border-radius: 8px; text-align: center; border-bottom: 4px solid var(--primary-green); }
.stat-card h3 { font-size: 2rem; color: var(--navy-blue); }

/* 10. FOOTER */
footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 50px 5% 20px;
}

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

/* 11. DESKTOP MEDIA QUERIES */
@media screen and (min-width: 900px) {
    .nav-toggle-label { display: none; }
    
    nav {
        position: relative;
        transform: scale(1, 1);
        width: auto;
        background: none;
        box-shadow: none;
    }

    nav ul { display: flex; gap: 30px; padding: 0; }
    nav li { margin-bottom: 0; }

    .hero h1 { font-size: 4rem; }
    
    .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }
}

/* INTERACTIVE MAP STYLES */
.map-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow-x: auto; /* For mobile scrolling */
}

.floorplan-svg {
    width: 100%;
    height: auto;
    min-width: 600px; /* Ensures detail on small screens */
}

.pavilion-rect {
    fill: #d4edda; /* Default Green for available */
    stroke: var(--primary-green);
    stroke-width: 2;
    cursor: pointer;
    transition: 0.3s;
}

.stall-group:hover .pavilion-rect {
    fill: var(--accent-orange);
}

.stall-label {
    font-size: 14px;
    font-weight: bold;
    fill: var(--navy-blue);
    pointer-events: none;
}

/* Tooltip Logic */
.tooltip {
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.stall-group:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.tooltip-box {
    background: var(--navy-blue);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 10px;
    text-align: center;
}

.map-legend {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 0.9rem;
}