:root {
    --primary-color: #243D69;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #ffffff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ccc;
}

/* Parallax Common */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px; /* Default height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Overlay for parallax to improve text readability */
.parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    color: var(--white);
    text-align: center;
}

/* Specific Parallax Sections */
.hero {
    background-image: url('../images/1.jpg'); /* Office vibe */
    height: 100vh;
}

.separator-1 {
    background-image: url('../images/2.jpg'); /* Phone/tech vibe */
}

.separator-2 {
    background-image: url('../images/3.jpg'); /* Architecture */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.alternate-bg {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#parceria ul {
    list-style: none;
    text-align: center;
    margin-top: 2rem;
}

#parceria ul li {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#parceria ul li::before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* Video CTA */
.video-cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.video-cta h2 {
    color: var(--white);
}

.btn-primary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card .icon {
    margin-bottom: 1.5rem;
}

.contact-card .icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--text-color);
}

.contact-card p {
    font-size: 1rem;
    color: #666;
}

/* Footer */
footer {
    background-color: #1a2b4a; /* Darker version of primary */
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8); /* Dimmed background */
}

.modal-content {
    background-color: #000;
    margin: 10% auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.close-btn {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 5px;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    nav ul {
        display: none; /* Simplification for this exercise */
    }
}
