/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50; /* Dark blue-gray for modern architecture */
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db; /* Blue accent */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin-bottom: 5px;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1500x800/2c3e50/ffffff?text=Arquitetura+Moderna') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-top: -80px; /* Adjust for fixed header */
}

.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    background-color: #3498db; /* Blue accent */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9; /* Darker blue */
}

/* Sections */
section {
    padding: 80px 0;
    text-align: center;
}

section:nth-of-type(even) {
    background-color: #eef4f8;
}

section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #2c3e50;
}

.about p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about img {
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

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

.project-item img {
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-item h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.project-item p {
    font-size: 0.95em;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
}

.btn-small {
    background-color: #3498db;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: #2980b9;
}

/* Contact Section */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.contact .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

/* Footer */
footer {
    background-color: #2c3e50; /* Dark blue-gray */
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 80px; /* Height of header */
        left: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .hero p {
        font-size: 1em;
    }

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

/* Image clickability */
.clickable-image {
    cursor: pointer;
}
