/*
Theme Name: Harez Portfolio Elementor
Theme URI: http://example.com
Author: Md Harez Al Baki
Description: Elementor-ready portfolio theme.
Version: 2.0
*/

:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

/* Fix for WordPress Menu output */
.nav-links ul {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Clean background so you can overlay Elementor widgets if needed */
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin-top: 60px; /* Offset for fixed header */
}

.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; color: #fff; }
.hero-content h2 { font-size: 1.5rem; font-weight: 300; margin-bottom: 2rem; color: var(--light); }

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn:hover { background: #2980b9; }

/* Sections */
section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
h2.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; color: var(--primary); }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.education-card { background: #f9f9f9; padding: 1.5rem; border-left: 4px solid var(--accent); margin-bottom: 1rem; }

/* Skills */
.skills-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.skill-tag { background: #f1f1f1; padding: 0.5rem 1.5rem; border-radius: 20px; font-weight: 600; color: var(--dark); }

/* Experience */
.timeline-item { padding: 2rem; border-bottom: 1px solid #eee; }
.timeline-item:last-child { border-bottom: none; }
.role-header { display: flex; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; }
.role-title { font-size: 1.2rem; font-weight: bold; color: var(--primary); }
.company { color: var(--accent); font-weight: 600; }
.date { color: #7f8c8d; font-style: italic; }
.achievements li { margin-left: 1.5rem; margin-bottom: 0.5rem; }

/* Contact */
.contact-info { text-align: center; }
.contact-item { margin-bottom: 1rem; font-size: 1.2rem; }

footer { background: var(--dark); color: #fff; text-align: center; padding: 2rem; margin-top: 4rem; }

/* Mobile */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .nav-links ul { flex-direction: column; }
    .nav-links li { margin: 10px 0; margin-left: 0; }
}