/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Semi-Classic Palette */
    --navy-primary: #1a252f;
    --navy-secondary: #2c3e50;
    --gold-accent: #c0a062;
    --gold-light: #e6dace;
    --cream-bg: #f9f9f7;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    
    /* Effects */
    --shadow-card: 0 5px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
    --border-radius: 8px; /* Slightly squarer for classic look */
}

body {
    font-family: 'Lato', 'Segoe UI', sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, .nav-title, .hero-title {
    font-family: 'Playfair Display', serif;
}

/* ========== Navigation Bar ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--navy-primary);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: transparent;
    color: var(--navy-primary);
    text-decoration: none;
    border: 1px solid var(--navy-primary);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

.nav-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--navy-primary);
    letter-spacing: -0.5px;
}

/* ========== Container ========== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ========== Hero Section ========== */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.hero-icon-container {
    font-size: 2.5em;
    color: var(--gold-accent);
    margin-bottom: 20px;
    display: inline-block;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 76px;
}

.hero-title {
    font-size: 3em;
    color: var(--navy-primary);
    margin-bottom: 15px;
}

.separator-line {
    width: 60px;
    height: 3px;
    background-color: var(--gold-accent);
    margin: 0 auto 20px auto;
}

.hero-subtitle {
    font-size: 1.25em;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== Content Card ========== */
.content-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 0; /* Header/Body split */
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
    border-top: 4px solid var(--gold-accent); /* Classic accent */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #eee;
    background: #fdfdfd;
}

.icon-box {
    font-size: 1.5em;
    color: var(--navy-secondary);
    width: 50px;
    height: 50px;
    background: var(--cream-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.section-title {
    font-size: 1.8em;
    color: var(--navy-primary);
    margin: 0;
}

.card-body {
    padding: 40px;
}

.section-content {
    color: var(--text-dark);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
}

.section-content strong {
    color: var(--navy-primary);
    font-weight: 700;
}

/* ========== Feature Grid ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.feature-item {
    background: var(--cream-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--gold-accent);
    background: var(--white);
}

.feature-icon {
    font-size: 2em;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

.feature-item h4 {
    color: var(--navy-primary);
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.5;
}

/* ========== Info & Privacy Boxes ========== */
.info-box, .privacy-box {
    padding: 25px;
    border-radius: 4px;
    margin: 30px 0;
    position: relative;
}

.classic-info {
    background-color: #f0f7ff;
    border-left: 4px solid var(--navy-secondary);
}

.classic-warning {
    background-color: #fff9e6;
    border-left: 4px solid #eebb55;
}

.privacy-box {
    background-color: #f0fdf4;
    border-left: 4px solid #16a34a;
}

.info-box h3, .privacy-box h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-primary);
}

.info-box ul, .privacy-box ul {
    list-style: none;
    padding: 0;
}

.info-box li, .privacy-box li {
    padding: 6px 0 6px 25px;
    position: relative;
    color: var(--text-dark);
}

.info-box li::before, .privacy-box li::before {
    content: "\f00c"; /* FontAwesome checkmark unicode */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    font-size: 0.9em;
    top: 10px;
}

/* ========== Developer Section ========== */
.developer-section {
    background: var(--navy-primary);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    margin: 50px 0;
    box-shadow: var(--shadow-card);
    border: 5px solid double var(--white); /* Classic double border style */
}

.developer-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.developer-photo-container {
    flex-shrink: 0;
}

.developer-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--gold-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    object-fit: cover;
    background-color: #eee;
}

.developer-info {
    flex-grow: 1;
}

.dev-header {
    margin-bottom: 20px;
}

.developer-info h2 {
    font-size: 2.2em;
    color: var(--white);
    margin-bottom: 5px;
}

.gold-line {
    width: 50px;
    height: 2px;
    background: var(--gold-accent);
}

.developer-info .role {
    font-size: 1.1em;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 700;
}

.bio-text {
    opacity: 0.9;
    font-weight: 300;
    font-size: 1.05em;
    margin-bottom: 25px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--gold-accent);
    color: var(--navy-primary);
    text-decoration: none;
    border-radius: 2px;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s;
}

.linkedin-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* ========== Footer ========== */
.footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.footer p {
    color: var(--navy-primary);
    font-weight: 700;
}

.footer-note {
    font-weight: 400 !important;
    font-size: 0.9em;
    color: var(--text-muted) !important;
    margin-top: 5px;
    font-style: italic;
}

/* ========== Responsiveness ========== */
@media (max-width: 900px) {
    .developer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .gold-line {
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2em;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .card-body {
        padding: 25px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .developer-section {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .developer-photo {
        width: 140px;
        height: 140px;
    }
    
    .navbar .nav-title {
        font-size: 1.2em;
    }
    
    .back-btn span {
        display: none; /* Hide text, show only arrow on very small screens */
    }
}