/* Variables CSS para consistencia */
:root {
    --primary-color: #d4af37; /* Dorado del logo Dram Agency */
    --text-color: #333;
    --light-bg: #f5f5f5;
    --dark-bg: #000000; /* Negro del logo */
    --font-family: sans-serif;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
}

/* BOTONES */
.btn-primary, .btn-secondary {
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
}
.logo img {
    height: 80px; 
    width: auto;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg); /* Texto oscuro para contrastar con dorado */
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-contact {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}

/* ESTRUCTURA GENERAL */
.section {
    padding: 60px 5%;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

/* 1. HEADER / BANNER */
.hero-banner {
    background-image: url('placeholder_banner.jpg');
    background-size: cover;
    background-position: center;
    background-color: #111; /* Fallback */
    color: white;
    height: 70vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    position: fixed;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semi-transparente */
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}
.navbar nav a:hover {
    color: var(--primary-color);
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background-image: url('assets/imgs/hero.webp');
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: 3em;
    max-width: 800px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* 2. NUESTROS SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: left;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    text-decoration: none;
    color: var(--text-color);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 250px;
}

.service-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.large-card {
    min-height: 350px;
}

.card-content {
    padding: 30px;
    z-index: 10;
    position: relative;
    flex-grow: 1;
}

.icon-title-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.icon-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #fff;
    flex-shrink: 0;
}

.icon-placeholder img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.8em;
    margin: 0;
    line-height: 1.1;
}

.card-description {
    font-size: 0.95em;
    color: #555;
    margin-top: 5px;
}

.learn-more {
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.learn-more i {
    font-size: 0.8em;
    margin-left: 5px;
}

/* Estilos de Iconos Específicos adaptados al logo */
.janitorial-icon { background-color: #1a1a1a; color: var(--primary-color); }
.maintenance-icon { background-color: #1a1a1a; color: var(--primary-color); }
.concierge-icon { background-color: #1a1a1a; color: var(--primary-color); }
.security-icon { background-color: #1a1a1a; color: var(--primary-color); }


.card-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 5;
    border-radius: 0 12px 12px 0;
}

.janitorial-card .card-image { background-image: url('placeholder_janitorial_woman.jpg'); height: 90%; background-position: right bottom; }
.maintenance-card .card-image { background-image: url('placeholder_maintenance_man.jpg'); height: 90%; background-position: right bottom; }
.concierge-card .card-image { background-image: url('placeholder_concierge_bell.jpg'); height: 100%; width: 60%; }
.security-card .card-image { background-image: url('placeholder_security_guard.jpg'); height: 100%; width: 60%; }

/* 3. POR QUÉ PLANNED? -> DRAM AGENCY */
.why-planned .description {
    max-width: 700px;
    margin: 20px auto 40px;
    text-align: justify;
}

/* GALERÍA ESTRUCTURADA */
.gallery-structured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.main-feature { grid-column: span 2; height: 480px; }
.sub-feature { grid-column: span 1; height: 480px; }
.standard-img { grid-column: span 1; height: 280px; }

@media (max-width: 992px) {
    .gallery-structured { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .main-feature { grid-column: span 2; height: 400px; }
    .sub-feature { grid-column: span 2; height: 350px; }
    .standard-img { height: 250px; }
    .standard-img:nth-child(3) { grid-column: span 2; }
}

@media (max-width: 600px) {
    .gallery-structured { grid-template-columns: 1fr; }
    .main-feature, .sub-feature, .standard-img, .standard-img:nth-child(3) { grid-column: auto; height: 300px; }
}

/* 4. ÁREA DE SERVICIO */
.service-area { background-color: white; }
.map-placeholder {
    margin: 30px auto;
    width: 100%;
    max-width: 800px;
    height: 400px;
    background-color: var(--light-bg);
    border: 1px solid #ddd;
}

/* 5. BANNER INFERIOR */
.bottom-banner {
    background-color: var(--dark-bg);
    color: white;
    padding: 40px 5%;
    position: relative;
    overflow: hidden;
    height: 250px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url('placeholder_acquisition.jpg');
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
}

.bottom-banner .banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.bottom-banner .text-content p { font-size: 1.5em; font-weight: 300; }

/* 6. TECNOLOGÍA / STANDARDS */
.technology { background-color: var(--light-bg); }
.tech-grid { display: flex; justify-content: center; gap: 30px; margin-top: 40px; }
.tech-card { text-align: center; width: 250px; }
.tech-card .icon-placeholder {
    width: 100px; height: 100px; background-color: #fff; border-radius: 50%;
    margin: 0 auto 15px; border: 1px solid #eee;
    display: flex; align-items: center; justify-content: center;
}

/* FOOTER */
.main-footer { background-color: var(--dark-bg); color: #ccc; padding: 40px 5%; font-size: 0.9em; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; max-width: 1200px; margin: 0 auto; }
.footer-logo img { height: 60px; }
.footer-logo p { font-size: 0.75em; color: #888; margin-top: 5px; }

.social-links-container { display: flex; gap: 15px; }
.social-card { background-color: #1a1a1a; border-radius: 4px; padding: 10px 15px; display: flex; align-items: center; text-decoration: none; color: inherit; transition: background-color 0.3s; width: 200px; border: 1px solid #333; }
.social-card:hover { background-color: #333; border-color: var(--primary-color); }
.social-card .icon-box i { font-size: 1.5em; margin-right: 10px; color: var(--primary-color); }
.social-card .label { display: block; font-size: 0.7em; color: #999; }
.social-card .handle { display: block; font-weight: bold; color: #fff; font-size: 0.9em; }
.social-card .fa-chevron-right { margin-left: auto; color: var(--primary-color); }

.footer-divider { border: 0; border-top: 1px solid #333; margin: 20px 0; max-width: 1200px; margin: 20px auto; }

.footer-bottom-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 20px; max-width: 1200px; margin: 40px auto 0; text-align: left; }
.footer-column { padding-right: 20px; }
.column-title { display: block; font-weight: bold; color: var(--primary-color); margin-bottom: 15px; }
.footer-column p, .footer-column a, .footer-column li { line-height: 1.8; color: #ccc; text-decoration: none; }
.footer-column ul { list-style: none; }
.footer-column a:hover { color: var(--primary-color); }
.contact-info a { display: block; margin-top: 10px; }
.footer-copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: 0.8em; color: #888; }

/* SECCIÓN DE CONTACTO */
.contact-section { background-color: #f9f9f9; padding: 4rem 5%; }
.contact-container { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; background: #ffffff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.contact-info-side { flex: 1; min-width: 300px; background-color: var(--dark-bg); color: #ffffff; padding: 3rem; display: flex; flex-direction: column; justify-content: center; border-right: 2px solid var(--primary-color); }
.contact-info-side h2 { font-size: 2.2rem; margin-bottom: 1rem; color: var(--primary-color); }
.contact-info-side p { color: #ccc; margin-bottom: 2.5rem; line-height: 1.6; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 1.5rem; width: 100%; }
.info-item .info-item-content{ width: calc(100% - 2.2rem); text-align: left; }
.info-item i { color: var(--primary-color); font-size: 1.2rem; margin-right: 1rem; margin-top: 5px; }
.info-item strong { display: block; font-size: 1.1rem; margin-bottom: 0.2rem; }
.info-item p { margin-bottom: 0; font-size: 0.95rem; }

.contact-form-side { flex: 1.5; min-width: 300px; padding: 3rem; background-color: #ffffff; }
.form-box { display: flex; flex-direction: column; gap: 1.5rem; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 1rem; border: 1px solid #e0e0e0; border-radius: 8px; background-color: #f8f8f8; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--primary-color); background-color: #fff; }
.btn-primary.full-width { width: 100%; border: none; cursor: pointer; font-size: 1.1rem; padding: 1rem; }

@media (max-width: 768px) {
    .contact-container { flex-direction: column; }
    .contact-info-side, .contact-form-side { padding: 2rem; }
    .navbar nav { display: none; }
    .navbar { flex-direction: row; justify-content: center; padding: 15px 5%; position: absolute; top: 0; }
    .logo img { height: 50px; width: auto; }
    .services-grid { grid-template-columns: 1fr; padding: 0 10px; }
    .service-card { min-height: auto; }
    .card-content { padding-bottom: 60px; }
    .hero-banner { height: 100%; }
    .hero-content .btn-primary{ margin-bottom: 20px; }
    .hero-content h1 { font-size: 2em; margin-top: 100px; }
    .tech-grid { flex-direction: column; align-items: center; }
    .footer-top { flex-direction: column; text-align: center; gap: 20px; }
    .social-links-container { flex-direction: column; width: 100%; }
    .social-card { width: 100%; justify-content: space-between; }
    .footer-bottom-grid { grid-template-columns: 1fr; gap: 30px; }
    .bottom-banner .banner-content { flex-direction: column; text-align: center; gap: 20px; }
    .bottom-banner { height: auto; padding: 60px 5%; }
}

@media (max-width: 480px) {
    .section h2 { font-size: 2em; }
    .service-card h3 { font-size: 1.5em; }
    .contact-info-side, .contact-form-side { padding: 1.5rem; }
}
