/* style.css - Final Premium Theme */
:root {
    --gold: #FFD700;
    --gold-dark: #D4AF37;
    --black: #111111;
    --cream: #FFFDF5;
    --white: #ffffff;
    --text-body: #444;
    --card-shadow: 0 15px 35px rgba(0,0,0,0.08);
    --hover-shadow: 0 25px 50px rgba(255, 215, 0, 0.25);
}

* { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--cream);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 { color: var(--black); font-weight: 800; margin-bottom: 0.5em; letter-spacing: -0.5px; }
p { font-size: 1.05rem; margin-bottom: 1.5rem; color: #555; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* --- Navbar (Glassmorphism) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-logo img { height: 60px; }
.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-links a { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--black); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); border-bottom: 3px solid var(--gold); }

/* --- Hero Section --- */
.hero {
    /* Dark overlay ensures text pop */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 20px;
    text-align: center;
    color: var(--white);
}

.hero h1 { 
    color: var(--white) !important; 
    font-size: 3.5rem; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.9); 
    margin-bottom: 15px; 
}
.hero .tagline { 
    color: var(--gold) !important; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    display: block; 
    margin-bottom: 20px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}
.hero p { 
    color: #f0f0f0 !important; 
    font-size: 1.4rem; 
    max-width: 800px; 
    margin: 0 auto 30px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* --- Layout --- */
.container { padding: 80px 20px; max-width: 1300px; margin: 0 auto; }

/* The Grid - Automatically adjusts columns based on screen size */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* --- THE PREMIUM CARD --- */
.premium-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
    border-color: var(--gold);
}

/* --- Founder Image Styling (The Fix) --- */
.founder-img-box {
    width: 100%;
    height: 320px; /* Big, Impressive Height */
    border-radius: 20px;
    margin-bottom: 25px;
    background: #ffffff; /* Seamless white background */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.founder-img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* Shows FULL image, no cropping */
    object-position: bottom; /* Aligns person to bottom */
    transition: transform 0.6s ease; 
}

.premium-card:hover .founder-img { transform: scale(1.08); }

/* --- Badges & Elements --- */
.role-badge { 
    background: var(--gold); 
    color: var(--black); 
    padding: 6px 18px; 
    border-radius: 50px; 
    font-weight: 800; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
    display: inline-block;
    letter-spacing: 0.5px;
}

/* --- Contact & Legacy Specifics --- */
.contact-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.year-badge {
    background: var(--black);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
    background: var(--gold);
    color: var(--black);
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}
.btn:hover { 
    background: transparent; 
    color: var(--gold); 
    transform: translateY(-3px); 
}

/* --- Footer --- */
footer { background: var(--black); color: #888; padding: 60px 20px; text-align: center; margin-top: auto; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; }
    .hero h1 { font-size: 2.5rem; }
    .founder-img-box { height: 280px; }
}