/* --- Variables & Reset --- */
:root {
    --primary: #007bff;
    --dark: #333;
    --light: #f4f4f4;
    --white: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: sans-serif; line-height: 1.6; color: var(--dark); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Layout Utilities --- */
.container { max-width: 1100px; margin: auto; padding: 0 20px; }
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover { background: #0056b3; }
.bg-light { background: var(--light); }

/* --- Navbar --- */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
.nav-menu { display: flex; gap: 20px; }
.nav-link { font-weight: 500; }
.nav-link:hover { color: var(--primary); }

/* --- Hamburger Menu (Hidden on Desktop) --- */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; background: var(--dark); margin: 5px auto; transition: 0.3s; }

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://source.unsplash.com/random/1920x1080/?technology');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 70px; /* Offset for fixed nav */
}
.hero-section h1 { font-size: 3rem; margin-bottom: 10px; }
.hero-section p { font-size: 1.2rem; margin-bottom: 20px; }

/* --- Content Sections --- */
.content-section { padding: 60px 0; }
.content-section h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.placeholder-img {
    width: 100%;
    height: 300px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* --- Contact Form & Socials --- */
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.social-icons { margin-top: 15px; display: flex; gap: 15px; }
.social-icons a {
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.social-icons a:hover { transform: translateY(-3px); }

/* --- Footer --- */
footer { background: #222; color: var(--white); text-align: center; padding: 20px 0; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        transition: 0.3s;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active { left: 0; }
    
    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .split-layout { grid-template-columns: 1fr; } /* Stack content on mobile */
    .hero-section h1 { font-size: 2rem; }
}