/*=========================================
  1. RESET & BAZA
  ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.16;
    overflow-x: hidden;
}

/*=========================================
  2. Navigatie
  ========================================= */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
}

.logo span {
    color: #fbbf24;
}

.logo i {
    color: #fbbf24;
    margin-right: 8px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
    font-weight: 700;
}

nav ul li a:hover {
    color: #fbbf24;
}

/* =========================================
   3. HERO
   ========================================= */
.hero {
    min-height: 70vh;
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.85)),
    url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.btn-llamar {
    display: inline-block;
    padding: 15px 40px;
    background: #fbbf24;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 3px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-llamar:hover {
    background: #f59e0b;
    transform: scale(1.05);
}

.hero-logo {
    display: none;
}

/* =========================================
   4. FOOTER
   ========================================= */
.main-footer {
    background: #0f1f4a;
    padding: 30px 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.maint-footer a {
    color: #ffffff;
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

.footer-legal a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-legal {
    margin-top: 15px;
}

/* =========================================
   5. MAIN CONTENT
   ========================================= */
.main-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 50px;
    background: #f8faff;
    border: 1px solid #dce6f7;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(30,58,138,0.07);
}

.main-content h1 {
    font-family: 'Oswald', sans-serif;
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #fbbf24;
    text-transform: uppercase;
}

.main-content h2 {
    font-family: 'Oswald', sans-serif;
    color: #1e3a8a;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.main-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444444;
}

/* =========================================
   6. HEADER
   ========================================= */
.main-header {
    background: #ffffff;
    padding: 2px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0px;
}

.logo-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #1e3a8a;
}

.logo-text span {
    color: #fbbf24;
}

.header-contact {
    display: flex;
    gap: 20px;
    margin-top: 4px;
}

.header-contact a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-contact a:hover {
    color: #fbbf24;
}

.header-contact .fa-whatsapp {
    color: #25d366;
    font-size: 1.4rem;
}

/* =========================================
   7. CONTAINER & TITLURI
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   8. SERVICIOS
   ========================================= */
.servicios {
    padding: 80px 20px;
    background: #ffffff;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.servicio-card {
    background: #162d6e;
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    transition: 0.3s;
}

.servicio-card:hover {
    transform: translateY(-5px);
}

.servicio-card i {
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 18px;
}

.servicio-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.servicio-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* =========================================
   9. CONTACTO
   ========================================= */
.contacto {
    padding: 40px 20px;
    background: #1e3a8a;
}

.section-title.white {
    color: #ffffff;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
}

.contacto-item i {
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 18px;
}

.contacto-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contacto-item a,
.contacto-item p {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.3s;
}

.contacto-item a:hover {
    color: #fbbf24;
    background: rgba(255,255,255,0.25);
}

/* =========================================
   10. BTN VOLVER
   ========================================= */
.btn-volver {
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 25px;
    background: #1e3a8a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-volver:hover {
    background: #fbbf24;
    color: #1a1a1a;
}

/* =========================================
   11. PROYECTOS CAROUSEL
   ========================================= */
.proyectos {
    padding: 80px 20px;
    background: #f8f9fa;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    text-align: center;
    background: #ffffff;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-slide p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30,58,138,0.85);
    color: #ffffff;
    padding: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: 0 0 12px 12px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(251,191,36,0.9);
    color: #1a1a1a;
    border: none;
    padding: 15px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #fbbf24;
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-logo-placeholder {
    width: auto;
    height: 200px;
    object-fit: contain;
    margin: 18px auto;
    display: block;
}

/* =========================================
   11. HAMBURGER
   ========================================= */
.hamburger {
    display: none;
}

/* =========================================
   12.RESPONSIVE MOBIL
   ========================================= */
@media (max-width: 768px) {

    .main-header {
        padding: 10px;
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        width: 100%;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 0px;
        width: 100%;
        padding: 0;
    }

    .logo-img {
        height: 45px !important;
    }

    .logo-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        flex: 1;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .header-contact {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
    }

    .header-contact a {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #1e3a8a;
        cursor: pointer;
        align-self: flex-end;
        margin-bottom: 2px;
        margin-left: 4px;
    }

    .main-nav {
        display: none;
        width: 100%;
        padding: 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .main-nav ul li a {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

}