/* ========================================
   NOVA URBANO - PROFESSIONAL STYLES
   ======================================== */

:root {
    /* Color Palette - Dark/Black with Green Accents */
    --primary-color: #1a1a1a;        /* Very dark gray - main backgrounds */
    --secondary-color: #2a2a2a;      /* Dark gray - cards and boxes */
    --accent-color: #3a3a3a;         /* Medium gray - borders */
    --green-accent: #00a055;         /* Bright green - buttons and highlights */
    --dark-gray: #505050;
    --medium-gray: #707070;
    --light-gray: #d0d0d0;
    --dark-bg: #0f0f0f;              /* Almost black */
    --light-bg: #242424;             /* Lighter dark background */
    --text-dark: #2c2c2c;
    --text-light: #b0b0b0;
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Work Sans', sans-serif;

    /* Spacing */
    --section-padding: 6rem 2rem;
    --container-max: 1400px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--primary-color);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 242, 0.98) 50%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--secondary-color);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo-img {
    height: 65px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--green-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    display: inline-block;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--green-accent);
    color: var(--primary-color);
    border-color: var(--green-accent);
    font-weight: 700;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--green-accent);
    color: var(--green-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(92, 179, 118, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========== SECTION HEADERS ========== */
.section-subtitle {
    color: var(--green-accent);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 3rem;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: var(--section-padding);
    background: var(--primary-color);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--accent-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(92, 179, 118, 0.2);
    border-color: var(--green-accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--green-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--light-gray);
    font-weight: 500;
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: var(--section-padding);
    background: var(--light-bg);
    color: var(--white);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.service-card {
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(92, 179, 118, 0.2);
    border-color: var(--green-accent);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--light-gray);
    line-height: 1.7;
}

/* ========== PROJECTS SECTION ========== */
.projects {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: var(--white);
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.project-card:hover .project-bg {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.project-location {
    font-size: 0.9rem;
    color: var(--green-accent);
}

/* ========== PROJECT GALLERY ========== */
.project-gallery {
    display: none;
    margin-top: 3rem;
}

.project-gallery.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 1.5rem;
    color: white;
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.gallery-item-desc {
    font-size: 0.85rem;
    opacity: 0.9;
}

.toggle-gallery-btn {
    text-align: center;
}

/* ========== CLIENTS CAROUSEL ========== */
.clients {
    padding: var(--section-padding);
    background: var(--light-bg);
    color: var(--white);
}

.clients-header {
    text-align: center;
    margin-bottom: 4rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 4rem;
    will-change: transform;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.client-logo {
    height: 200px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    flex-shrink: 0;
    padding: 2rem 2.5rem;
    border-radius: 8px;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.client-logo.no-hover {
    filter: none;
    opacity: 1;
    pointer-events: none;
}

/* ========== VALUES CARDS ========== */
.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-top-color: var(--green-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ========== AWARDS SECTION ========== */
.awards {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: var(--white);
}

.awards-header {
    text-align: center;
    margin-bottom: 4rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.award-card {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--green-accent);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.award-year {
    font-size: 0.9rem;
    color: var(--green-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.award-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.award-description {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.award-project {
    font-size: 0.9rem;
    color: var(--light-gray);
    font-style: italic;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: var(--section-padding);
    background: var(--light-bg);
    color: var(--white);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--primary-color);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    background: var(--green-accent);
    color: var(--primary-color);
    padding: 1rem 3rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: transparent;
    border: 2px solid var(--green-accent);
    color: var(--green-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(92, 179, 118, 0.3);
}

.contact-info {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-color);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    font-family: var(--font-heading);
    color: var(--green-accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p,
.info-item a {
    color: var(--light-gray);
    line-height: 1.6;
    text-decoration: none;
}

.info-item a:hover {
    color: var(--green-accent);
}

#map {
    height: 350px;
    width: 100%;
    border-radius: 8px;
    margin-top: 2rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--green-accent);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: transparent;
    border: 2px solid var(--green-accent);
    color: var(--green-accent);
    transform: translateY(-5px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .projects-preview,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info {
        padding: 2rem;
    }

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