/* VARIABLES */
:root {
    /* DARK THEME (DEFAULT) */
    --bg-primary: #121212;
    --bg-secondary: #1f1f1f;
    --bg-card: #2a2a2a;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --accent: #7F7FFF;
    --accent-hover: #5555ff;
    --border-color: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* LIGHT THEME CLASS */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f9;
    --bg-card: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent: #5a5aff;
    --accent-hover: #3333cc;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* HEADER */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* CONTROLS (Lang & Theme) */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cta-button {
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: var(--accent-hover);
}

/* HAMBURGER (Mobile) */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* SECTIONS */
section {
    padding: 80px 5%;
}

/* HERO */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    margin-right: 15px;
    display: inline-block;
}

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

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

.secondary-btn {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.secondary-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.hero-image-container img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--accent);
}

/* ABOUT & STATS */
.about-section {
    background-color: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box, .service-box {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--accent);
}

/* TIMELINE */
.timeline ul {
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    margin-left: 10px;
}

.timeline li {
    margin-bottom: 20px;
    position: relative;
}

.timeline li::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: -27px;
    top: 5px;
}

/* PORTFOLIO GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-link {
    color: var(--accent);
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
}

/* AWARDS */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.award-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.award-icon {
    font-size: 2rem;
    color: var(--accent);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Add JS to toggle this later if needed */
    }
    
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .header-controls {
        margin-left: auto;
        margin-right: 15px;
    }

    .cta-button {
        display: none;
    }

    .hamburger {
        display: block;
        color: var(--text-primary);
    }
}