/* Base Styles */
:root {
    --primary-color: #333;
    --accent-color: #555;
    --light-color: #fff;
    --dark-color: #000;
    --gray-color: #f0f0f0;
    --link-color: #4a4a4a;
    --active-color: #000;
    --font-primary: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--active-color);
}

h1,
h2,
h3 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.logo img {
    width: 20px;
    height: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

nav ul li.active a {
    font-weight: bold;
    color: var(--active-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    padding-top: 80px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    flex: 1;
    padding: 4rem 5%;
    z-index: 1;
}

.hero h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero .tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer Styles */
footer {
    background-color: var(--gray-color);
    padding: 2rem 5%;
    text-align: center;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
}

.social-links a {
    margin-left: 1rem;
    font-size: 1.2rem;
}

/* Projects Section Styles */
.projects-section {
    padding: 6rem 5%;
    background-color: #fff;
}

.section-header {
    text-align: left;
    margin-bottom: 3.5rem;
    padding-left: 5%;
}

.section-header h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: none;
    margin: 0 0 3rem 5%;
    width: 90%;
}

.project-card {
    display: block;
    background-color: var(--light-color);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    justify-self: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-info p {
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .hero {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
    }

    .projects-section {
        padding: 5rem 5%;
    }

    .section-header {
        text-align: center;
        padding-left: 0;
    }

    .section-subtitle {
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        margin: 0 auto 3rem;
    }

    .project-info {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 0.5rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .projects-section {
        padding: 4rem 5%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
