/*
Theme Name: Midhusa Enterprise
Theme URI: https://green-sheep-234464.hostingersite.com
Author: Midhusa Dev
Description: Custom industrial theme with sticky scroll and 3D levitation effects.
Version: 2.0
Text Domain: midhusa
*/

/* --- 1. CORE VARIABLES --- */
:root {
    --primary-red: #E31837; /* Mahindra Red */
    --dark-metal: #1a1a1a;
    --light-grey: #f4f4f4;
    --pure-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--dark-metal);
    background-color: var(--dark-metal);
    overflow-x: hidden;
}

/* --- 2. HEADER (MAHINDRA STYLE) --- */
header.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 0 40px; /* Horizontal padding */
    height: 80px;     /* Fixed height like the image */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff; /* Always white per image */
    box-shadow: 0 1px 0px rgba(0,0,0,0.05); /* Very subtle bottom border */
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

/* LEFT: LOGO styling */
.logo {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: #E31837; /* Mahindra Red */
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
}
.logo .rise {
    font-size: 12px;
    font-weight: 400;
    color: #555;
    margin-left: 4px;
    transform: translateY(-8px); /* Lifts "Rise" up */
}

/* CENTER: NAVIGATION styling */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px; /* Space between links */
}

.main-navigation a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 28px; /* Space for the underline */
    display: block;
    top: 2px;
}

/* The Red Underline Effect */
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #E31837;
    transition: width 0.3s ease;
}

/* Hover State & Active State */
.main-navigation a:hover::after,
.main-navigation li.active a::after {
    width: 100%; /* Expands to full width */
}

.main-navigation li.active a {
    color: #E31837; /* Optional: Makes text red too */
}

/* RIGHT: ICONS styling */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: 0.3s;
}
.icon-link:hover {
    opacity: 1;
    color: #E31837;
}

/* The Anniversary Badge */
.header-badge {
    border-left: 1px solid #ddd;
    padding-left: 20px;
    margin-left: 10px;
    text-align: right;
    line-height: 1.1;
    color: #d4af37; /* Gold color */
}

.badge-text {
    font-weight: 700;
    font-size: 14px;
    display: block;
}
.badge-text small {
    font-weight: 400;
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
}

/* Mobile Responsive Tweaks */
@media (max-width: 900px) {
    .main-navigation { display: none; } /* Hides menu on mobile for now */
    header.site-header { padding: 0 20px; }
}

/* --- 3. CURTAIN REVEAL PANELS --- */
.panel {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

/* Panel 1: Hero */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://source.unsplash.com/1600x900/?industrial,factory') no-repeat center/cover;
    color: var(--pure-white);
    z-index: 1;
    flex-direction: column;
}

/* Panel 2: About (White) */
.about-section {
    background: var(--pure-white);
    z-index: 2;
}

/* Panel 3: Product (Grey) */
.product-section {
    background: var(--light-grey);
    z-index: 3;
    display: flex;
    flex-direction: row;
}

/* --- 4. TYPOGRAPHY & BUTTONS --- */
h1 { font-size: 4rem; text-transform: uppercase; margin: 0; letter-spacing: -1px; }
h2 { font-size: 3rem; margin-bottom: 20px; color: var(--primary-red); }
p { font-size: 1.1rem; line-height: 1.6; max-width: 600px; margin: 0 auto 30px auto; }

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: 0.3s;
}

.btn-red { background: var(--primary-red); color: white; }
.btn-red:hover { background: #b00e26; }

.btn-dark { background: var(--dark-metal);
	
