:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-700: #374151;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
}

.container {
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.text-orange {
    color: var(--orange);
}

.text-black {
    color: var(--black);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--black);
    z-index: 50;
    padding: 0;
}

.nav-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 16rem;
    width: auto;
    margin-top: -2rem;
    margin-bottom: -4rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12rem 1rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
}

.hero-content h1 span {
    color: var(--orange);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--orange-dark);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 0rem;
    background: none;
    border: none;
    cursor: pointer;
    animation: bounce 2s infinite;

}

.scroll-arrow {
    font-size: 2rem;
    color: var(--orange);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Main Content Wrapper with Background */
.main-content-wrapper {
    background-image: url(FUNDOFOUR.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Features Section */
.features-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    transform: translateY(-0.5rem);
}

.icon-container {
    width: 4rem;
    height: 4rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    background-color: var(--gray-100);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--orange);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-700);
    font-size: 1.125rem;
}

/* Services Section */
.services-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.services-section h2,
.projects-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 2px solid var(--gray-200);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--orange);
    transform: translateY(-0.25rem);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--orange);
    margin-right: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Projects Section */
.projects-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.projects-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 800px;
}

.carousel-container {
    width: 600px;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    background-image: url('MARCA\'ÁGUA\ 01\ \(3\).png');
    background-size: 15rem;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 3;
    pointer-events: none;
}

.nav-btn {
    position: absolute;
    background-color: var(--orange);
    border: none;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-btn:hover {
    background-color: var(--orange-dark);
    transform: scale(1.1);
}

.nav-btn:disabled {
    background-color: var(--gray-300);
    cursor: not-allowed;
}

.prev-btn {
    left: -2rem;
}

.next-btn {
    right: -2rem;
}

.nav-btn img {
    width: 24px;
    height: 24px;
}

.projects-counter {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Contact Section */
.contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--black);
}

.contact-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.contact-grid {
    display: grid;
    gap: 2rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    width: 5rem;
    height: 5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    background-color: var(--orange);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-item a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.125rem;
}

.contact-item a:hover {
    color: var(--orange-dark);
}

/* Footer */
footer {
    background-color: var(--black);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: var(--gray-400);
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
    .hero-content p {
        font-size: 1.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
    .services-section h2,
    .projects-section h2 {
        font-size: 3rem;
    }
    .contact-section h2 {
        font-size: 2.25rem;
    }
}