/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Inter:wght@400;600&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #b71c1c; /* A slightly richer red */
    --secondary-color: #212121;
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
    --text-color: #333333;
    --light-text-color: #666666;
    --border-color: #e0e0e0;
    --header-height: 70px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

/* --- Header & Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    width: 100%;
    padding: 0 5%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--light-text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    padding: var(--header-height) 2rem 0;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-text-color);
    margin-bottom: 2rem;
}

/* --- General Content Sections --- */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem;
    text-align: center;
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.content-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- Buttons --- */
.button-group, .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid;
    text-decoration: none !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: #8c1616;
    border-color: #8c1616;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* --- About Section --- */
.about-content p {
    text-align: left;
}

.list-container {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    text-align: left;
    margin-bottom: 2rem;
}

.list-container h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.list-container ul {
    list-style: none;
    padding-left: 0;
}

.list-container li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.list-container li::before {
    content: '■';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Footer --- */
#footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    color: var(--light-text-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .hero-title { font-size: 2.5rem; }
    .content-section h2 { font-size: 2rem; }
}
