:root {
    --maroon: #800000;
    --gold: #D4AF37;
    --ivory: #FFFFF0;
    --sandalwood: #F5DEB3;
    --text: #2D2D2D;
    --text-light: #555555;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--ivory);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

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

.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(128, 0, 0, 0.95);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: auto; /* Push logo to center/right when hamburger is on left */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    order: -1; /* Move to the left */
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(128, 0, 0, 0.98);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-links.active li {
    margin: 10px 0;
    text-align: center;
}

.nav-links.active li a {
    margin-left: 0;
    font-size: 1.1rem;
    display: block;
    padding: 10px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--maroon);
    color: var(--white);
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

/* SVG Swara motifs */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.1"><text x="10" y="50" fill="gold" font-family="serif" font-size="20">Sa Re Ga Ma</text></svg>');
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.tagline {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-frame {
    position: relative;
    padding: 15px;
    border: 2px solid var(--gold);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    z-index: -1;
}

.hero-image img {
    max-width: 400px;
    height: auto;
    display: block;
    box-shadow: 20px 20px 0 rgba(0,0,0,0.2);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--maroon);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

.bg-light { background-color: var(--sandalwood); }
.bg-primary { background-color: var(--maroon); color: var(--white); }
.text-white .section-title { color: var(--gold); }

/* About */
.about-text .lead {
    font-size: 1.3rem;
    color: var(--maroon);
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    border-top: 5px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.info-card h3 {
    color: var(--maroon);
    margin-bottom: 15px;
}

/* Career */
.career-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.career-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.career-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.career-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.career-item h3 {
    margin-bottom: 15px;
    color: var(--maroon);
}

/* Works */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.work-card {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.work-card:hover {
    background: rgba(255,255,255,0.15);
}

.work-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
}

/* Awards */
.awards-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.awards-list li {
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
}

.awards-list li strong {
    color: var(--maroon);
    min-width: 60px;
}

/* Legacy */
.quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--maroon);
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 2px;
}

.btn-primary {
    background: var(--gold);
    color: var(--maroon);
}

.btn-primary:hover {
    background: var(--white);
}

.btn-outline {
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--maroon);
}

/* Contact */
.contact-form {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* Footer */
.footer {
    background: var(--maroon);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.footer-note {
    margin-top: 10px;
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero { height: auto; padding-top: 120px; }
    .hero h1 { font-size: 3rem; }
    .hero .container { flex-direction: column; text-align: center; }
    .hero-image { justify-content: center; margin-top: 50px; }
    .hero-image img { max-width: 100%; height: auto; width: 300px; }
    .hero-actions { justify-content: center; }
    .career-tabs, .works-grid { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .logo { margin: 0 auto; position: absolute; left: 50%; transform: translateX(-50%); }
    .hero h1 { font-size: 2.2rem; }
    .hero-image img { width: 250px; }
    .section-title { font-size: 2rem; }
    .quote { font-size: 1.4rem; }
}
