/* GLOBAL DESIGN SYSTEM - P. S. NARASIMHA */

:root {
    /* Color Palette */
    --color-navy: #0B1F3A;
    --color-navy-dark: #051020;
    --color-navy-light: #1A3459;
    --color-gold: #C9A646;
    --color-gold-light: #DFBB5C;
    --color-gold-muted: #8E783A;
    --color-light: #F8F6F1;
    --color-white: #FFFFFF;
    --color-gray-dark: #1A1A1A;
    --color-gray-medium: #4A4A4A;
    --color-gray-light: #A0A0A0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Spacing & Layout */
    --max-width: 1400px;
    --section-padding: 8rem 2rem;
    --section-padding-mobile: 4rem 1.5rem;
    --header-height: 90px;
    
    /* Effects */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-deep: 0 20px 40px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(11, 31, 58, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-navy-dark);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 4.5rem; letter-spacing: -2px; }
h2 { font-size: 3.5rem; letter-spacing: -1px; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.5rem; font-weight: 500; }

.font-serif { font-family: var(--font-secondary); font-style: italic; }

.text-gold { color: var(--color-gold); }
.text-light { color: var(--color-light); }
.text-gray { color: var(--color-gray-light); }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-800 { font-weight: 800; }

.ls-tight { letter-spacing: -1px; }
.ls-wide { letter-spacing: 2px; }
.ls-widest { letter-spacing: 4px; }

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(248, 246, 241, 0.85);
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-light);
    font-weight: 300;
}

/* LAYOUT CLASSES */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* OVERLAYS & BACKGROUNDS */
.bg-navy { background-color: var(--color-navy); }
.bg-navy-dark { background-color: var(--color-navy-dark); }
.bg-charcoal { background-color: var(--color-gray-dark); }

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
}

/* IMAGES & MEDIA */
/* Adhering strictly to standard: Use ONLY ONE IMAGE, fully visible, object-fit contain, no distortion */
.strict-img {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    display: block;
    border-radius: 4px;
}

.img-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    background: var(--color-navy); /* Base color in case image is not matching ratio */
}

/* NAV BUTTONS & LINKS */
a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-light);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--color-navy);
}

.btn-primary:hover::before {
    width: 100%;
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAVIGATION HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(5, 16, 32, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--color-gold);
    font-weight: 500;
}

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

.nav-links li a {
    color: var(--color-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 1.5rem;
}

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--color-gold);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s;
}

/* FOOTER */
.site-footer {
    background-color: #030811;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-light);
    letter-spacing: 1px;
}

.footer-brand p {
    color: var(--color-gray-light);
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--color-gold);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--color-gray-light);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: var(--color-gray-light);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-gray-light);
}

.footer-bottom a {
    color: var(--color-light);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .section { padding: 6rem 1.5rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .section { padding: var(--section-padding-mobile); }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(5, 16, 32, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active { right: 0; }
    .nav-links li { margin: 1rem 0; }
    .hamburger { display: block; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
}
