/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --accent-color: #444;
    --light-gray: #eee;
    --text-color: #333;
    --text-light: #666;
    --container-width: 1200px;
    --container-padding: 1rem;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header > div {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

nav ul {
    display: none; /* Hidden on mobile by default */
    list-style: none;
    gap: 2rem;
}

.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-button span:nth-child(1) {
    top: 0;
}

.mobile-menu-button span:nth-child(2) {
    top: 9px;
}

.mobile-menu-button span:nth-child(3) {
    top: 18px;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

nav ul.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

nav ul.active li {
    margin-bottom: 1rem;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #666;
}

.contact-button {
    background-color: #333;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #111;
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 5rem 0 2rem;
    background-color: var(--secondary-color);
}

.hero .container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hero-content {
    padding: 2rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-color);
}

.hero-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Projects Section */
.projects {
    padding: 4rem 0;
}

.projects .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

.project-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.project-image {
    aspect-ratio: 1 / 1;
    background-color: var(--light-gray);
    margin-bottom: 1rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.category-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.project-category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: lowercase;
}

.project-category:not(:last-child)::after {
    content: "";
    margin-left: 0.5rem;
}

.project-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.read-more {
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

.more-projects {
    margin-top: 2rem;
    text-align: center;
}

.more-link {
    font-size: 1rem;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--primary-color);
    transition: color 0.3s ease;
}

.more-link:hover {
    color: var(--accent-color);
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.about-content {
    max-width: 100%;
    text-align: center;
}

.about h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.about p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
}

.learn-more {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.learn-more:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

.service-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--secondary-color);
}

.contact h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.email-link {
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 0.2rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 3rem 0;
    background-color: var(--primary-color);
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ccc;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #999;
}

/* Projects Page Styles */
.projects-page {
    padding: 5rem 0 4rem;
}

.project-header {
    text-align: center;
    margin-bottom: 2rem;
}

.project-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
}

.filter-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.filter-label {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.filter-option {
    background: none;
    border: 1px solid var(--light-gray);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-radius: 2px;
    width: 100%;
}

.filter-option:hover {
    background-color: var(--light-gray);
}

.filter-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Project Detail Page Styles */
.project-detail {
    padding: 5rem 0 4rem;
}

.project-detail-header {
    margin-bottom: 3rem;
}

.project-detail-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-detail-category {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: lowercase;
}

.project-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.project-detail-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-detail-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item h4 {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item p {
    font-size: 1rem;
    color: var(--primary-color);
}

.project-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.project-image-full {
    width: 100%;
    height: auto;
}

.project-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.project-content {
    margin-bottom: 3rem;
}

.project-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.related-projects {
    margin-top: 4rem;
}

.related-projects h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.navigation-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.prev-link, .next-link, .back-to-projects {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.prev-link:hover, .next-link:hover, .back-to-projects:hover {
    color: var(--primary-color);
}

.prev-link:before {
    content: "←";
    margin-right: 0.5rem;
}

.next-link:after {
    content: "→";
    margin-left: 0.5rem;
}

/* Tablet styles (768px+) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }

    .logo {
        font-size: 1.8rem;
    }

    .mobile-menu-button {
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: row;
    }

    .hero-content {
        text-align: left;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .project-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .filter-bar {
        flex-direction: row;
        align-items: center;
        margin-bottom: 3rem;
    }

    .filter-label {
        margin-right: 1rem;
        margin-bottom: 0;
    }

    .filter-options {
        flex-direction: row;
        width: auto;
        gap: 0.75rem;
    }

    .filter-option {
        width: auto;
    }

    .project-detail-title {
        font-size: 2.5rem;
    }

    .project-detail-info {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .project-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .navigation-links {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop styles (1024px+) */
@media (min-width: 1024px) {
    :root {
        --container-padding: 3rem;
    }

    .hero {
        min-height: 100vh;
        padding: 7rem 0 3rem;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .hero-content {
        flex: 1;
    }

    .hero-image {
        flex: 1;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-content, .project-detail-header, .project-content {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }

    .project-detail-title {
        font-size: 3rem;
    }
} 