/* Google Fonts */

:root {
    --primary-color: #c5a059;
    /* Premium Gold/Bronze */
    --primary-dark: #a38243;
    --secondary-color: #1a1a1a;
    /* Dark Grey/Black */
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    margin-left: 15px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.highlight {
    color: var(--primary-color);
}

.center-text {
    text-align: center;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    /* Make logo white if it's dark, adjust as needed */
}

/* Fix for the specific logo provided if it has background */
.logo img {
    border-radius: 5px;
    filter: none;
    /* Reset if the logo looks good as is */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: white;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--primary-color) !important;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: white !important;
}

.btn-nav::after {
    display: none;
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    margin-top: 0;
    /* Header is fixed */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://barrosreformas.com.br/wp-content/uploads/2025/08/projeto-casa-contemporanea-pequena-campo-grande-12-e1755386784980.jpg') center/cover no-repeat fixed;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

/* About Section */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    filter: contrast(1.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--primary-color);
    border-left: 5px solid var(--primary-color);
    z-index: -1;
}

.about-text h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.features-list i {
    color: var(--primary-color);
}

/* Specialties Section */
.specialties {
    background-color: var(--bg-light);
}

/* Services Section */
.services {
    background-color: white;
}

.section-header h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 3px solid var(--primary-color);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.img-icon img {
    height: 160px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 25px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .img-icon img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

/* Process Section */
.process {
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.step-content p {
    color: #666;
    font-size: 0.95rem;
}

/* SEO Banner */
.seo-banner {
    position: relative;
    padding: 80px 0;
    background: url('https://barrosreformas.com.br/wp-content/uploads/2025/08/projeto-casa-contemporanea-pequena-campo-grande-12-e1755386784980.jpg') center/cover fixed;
    color: white;
    text-align: center;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.seo-banner .content {
    position: relative;
    z-index: 1;
}

.seo-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.seo-banner p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: var(--secondary-color);
    color: white;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-info>p {
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.glass-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
}

.glass-form h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.form-footer {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
}

/* Footer */
footer {
    background: black;
    color: white;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-footer img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: 1s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 1s ease;
}

.reveal-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s ease;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

.active-reveal {
    opacity: 1;
    transform: translate(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid,
    .contact-wrapper,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-steps {
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        /* Fixed to cover screen */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* Full screen */
        background: rgba(26, 26, 26, 0.99);
        /* Slightly more opaque */
        flex-direction: column;
        justify-content: center;
        /* Center items vertically */
        padding: 0;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    /* Ensure hamburger is above the menu overlay */
    .hamburger {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* More space between buttons */
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        /* Full width buttons for better mobile touch */
        text-align: center;
        margin: 0;
        /* Reset margins if any */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Refined Service Images for Mobile */
    .service-card .img-icon img {
        height: 200px;
        /* Larger */
        border-radius: 20px;
        /* Rounded */
        transition: all 0.3s ease;
    }

    .service-card:active .img-icon img,
    .service-card:hover .img-icon img {
        box-shadow: 0 0 30px rgba(197, 160, 89, 0.6);
        /* Glow effect */
        transform: scale(1.02);
    }

    .contact-wrapper {
        padding: 0;
    }

    .glass-form {
        padding: 25px;
    }
}

/* Careers Section - Redesigned */
.careers {
    background: linear-gradient(to bottom, #ffffff, #f4f4f4);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.careers::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(50px);
}

.careers-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 2fr;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.careers-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
}

.careers-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
}

.careers-icon {
    font-size: 5rem;
    color: var(--primary-color);
    animation: floatIcon 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

@keyframes floatIcon {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.careers-content-box {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.careers-content-box h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
}

.careers-content-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.careers-content-box p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.application-instruction {
    background: rgba(197, 160, 89, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.instruction-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.application-instruction p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.btn-glow {
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: glowMove 3s infinite linear;
}

@keyframes glowMove {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Careers Responsive */
@media (max-width: 768px) {
    .careers-card {
        grid-template-columns: 1fr;
    }

    .careers-icon-wrapper {
        padding: 40px 20px;
    }

    .careers-icon {
        font-size: 4rem;
    }

    .careers-content-box {
        padding: 40px 30px;
        text-align: center;
    }

    .application-instruction {
        text-align: left;
    }

    .btn-glow {
        align-self: center;
        width: 100%;
    }
}