/* Variable Definitions */
:root {
    --primary-color: #0f172a;
    /* Dark Navy */
    --secondary-color: #1e293b;
    /* Slightly lighter navy */
    --accent-color: #f59e0b;
    /* Construction Gold/Orange */
    --text-color: #334155;
    /* Slate Grey */
    --light-text: #94a3b8;
    --background-color: #ffffff;
    --light-bg: #f8fafc;
    --white: #ffffff;

    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    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 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-light {
    color: var(--white);
}

.text-light-muted {
    color: var(--light-text);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    /* Ensure no default border */
    font-weight: 700;
    /* Bolder text */
    text-transform: uppercase;
    /* Make it more button-like */
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Add depth */
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.logo-icon {
    display: none;
}

.logo-img {
    height: auto;
    width: 250px;
    object-fit: contain;
}

.logo-text h1,
.logo-text h3 {
    font-size: 1.5rem;
    margin-bottom: -5px;
    color: var(--white);
}

.logo-text span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    color: #cbd5e1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:not(.btn-primary):hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    /* Gradient Background */
    /* background-size: cover; - Not needed for gradient */
    /* background-position: center; - Not needed */
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Info Bar */
.info-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.info-item div {
    display: flex;
    flex-direction: column;
}

/* Services */
.services {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin: 10px 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(15, 23, 42, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
}

/* ART Services Grid */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.art-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.art-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 158, 11, 0.3);
}

.art-icon {
    width: 55px;
    height: 55px;
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.art-card:hover .art-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

.art-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.art-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    /* Push content up if needed, but flex handles it */
    flex-grow: 1;
}

.featured-card {
    border: 2px solid var(--accent-color);
    background-color: #fffbeb;
    /* Light yellow tint */
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: "Destaque";
    position: absolute;
    top: 12px;
    right: -30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    border: none;
}

.highlight-card h3 {
    color: var(--white);
}

.highlight-card p {
    color: #cbd5e1;
}

.highlight-card .art-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-text {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: auto;
    /* Push to bottom */
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-text:hover {
    gap: 12px;
    color: #ffd700;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 300px;
    /* Fixed height for uniformity */
    position: relative;
    background-color: #f1f5f9;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 700;
    box-shadow: var(--shadow);
    z-index: 5;
}

.about-placeholder-visual {
    width: 100%;
    height: 400px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.about-placeholder-visual i {
    font-size: 8rem;
    color: #cbd5e1;
    transition: var(--transition);
}

.about-image:hover .about-placeholder-visual {
    background-color: #cbd5e1;
}

.about-image:hover .about-placeholder-visual i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.experience-badge .years {
    font-size: 1.8rem;
    line-height: 1;
}

.about-features {
    margin: 30px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-features i {
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding-bottom: 0;
    /* Space for footer is handled by footer top padding */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

.contact-items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.contact-form-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    color: var(--text-color);
}

.contact-form-box h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #94a3b8;
    padding-top: 60px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-icon,
.footer-logo h3 {
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Responsive */
@media (max-width: 992px) {
    .header .btn-primary {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .header-container {
        justify-content: space-between;
        padding: 0 15px;
    }

    .logo {
        max-width: 75%;
    }

    .logo-img {
        width: 160px;
        /* Reduced for mobile */
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        /* Adjusted for header height */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        /* Dark bg for mobile menu */
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .nav-list li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Contact Section Mobile Tweaks */
    .contact-items {
        margin-top: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-form-box {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-bar {
        padding: 20px 0;
        margin-top: 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
        /* Constrain width to center the block */
        margin: 0 auto;
        /* Center the block */
    }

    .info-item {
        justify-content: flex-start;
        /* Align structure to left */
        padding-left: 10px;
    }
}