/* ===============================
   VARIABLES - ESTILO RINCÓN VERDE
================================= */
:root {
    --primary: #2d5016;
    --primary-light: #f4623a;
    --secondary: #d4a574;
    --accent: #e8c590;
    --dark: #1a1a1a;
    --light: #f8f6f3;
    --earth: #8b7355;
    --bs-primary: #f4623a;
    --bs-primary-rgb: 45, 80, 22;
}

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

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
}

.page-section {
    padding: 6rem 0;
}

hr.divider {
    height: 3px;
    max-width: 60px;
    margin: 1.5rem auto;
    background-color: var(--secondary);
    opacity: 1;
    border: none;
}

hr.divider-light {
    background-color: white;
}

/* ===============================
   BOOTSTRAP PRIMARY COLOR
================================= */
:root {
  --bs-primary: #f4623a;
  --bs-primary-rgb: 244, 98, 58;
}

.btn-primary {
  background-color: #f4623a;
  border-color: #f4623a;
}

.btn-primary:hover {
  background-color: #e04e2a;
  border-color: #e04e2a;
}

.text-primary {
  color: #f4623a !important;
}

.bg-primary {
  background-color: #f4623a !important;
}

/* ===============================
   NAVBAR
================================= */
#mainNav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

#mainNav.navbar-shrink {
    background-color: #fff;
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

#mainNav .navbar-brand {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}

#mainNav .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

#mainNav .nav-link:hover {
    color: var(--primary) !important;
}

/* ===============================
   HERO / MASTHEAD
================================= */
.masthead {
    padding-top: 10rem;
    padding-bottom: 8rem;
    background: linear-gradient(
        rgba(244, 98, 58, 0.7),
        rgba(255, 204, 186, 0.5)
    ), url("../assets/img/bg-masthead.png");
    background-position: center;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.masthead h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.masthead p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.text-white-75 {
    color: rgba(255,255,255,.85);
}

/* ===============================
   BUTTONS
================================= */
.btn-primary {
    background: var(--secondary);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
    color: white;
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.btn-light {
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 600;
}

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

/* ===============================
   SECTIONS
================================= */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

/* ===============================
   CARACTERÍSTICAS / SERVICES
================================= */
.caracteristicas {
    background: white;
    position: relative;
}

.caracteristicas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
    opacity: 0.1;
}

.feature-box {
    background: var(--light);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 80, 22, 0.1);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.feature-box i {
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-box:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}

.feature-box h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--primary);
    margin-top: 1rem;
}

/* ===============================
   PORTFOLIO
================================= */
.portfolio-box {
    position: relative;
    display: block;
    overflow: hidden;
}

.portfolio-box img {
    transition: transform 0.3s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-box-caption {
    position: absolute;
    inset: 0;
    background: rgba(245, 136, 47, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    color: white;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

.portfolio-box-caption .project-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.portfolio-box-caption .project-name {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

/* ===============================
   CONTACTO
================================= */
.contacto {
    background: white;
    padding: 6rem 0;
}

.contact-info {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(244,58,98,0.08);
}

.contact-info h4 {
    font-family: 'Crimson Pro', serif;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--secondary);
    min-width: 30px;
    margin-top: 5px;
}

.contact-info-item h5 {
    font-family: 'Crimson Pro', serif;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    margin: 0;
    color: var(--dark);
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--secondary);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* ===============================
   FOOTER
================================= */
.footer {
    background: #f4623a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer h3,
.footer h5 {
    font-family: 'Crimson Pro', serif;
    color: white;
}

.footer p {
    color: rgba(255,255,255,0.8);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

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

.footer ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(247, 244, 244, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ===============================
   NAVBAR TOGGLER
================================= */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 991px) {
    .masthead {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
    
    .masthead h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .masthead h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .map-container {
        min-height: 350px;
    }
    
    .map-container iframe {
        min-height: 350px;
    }
}

/* ===============================
   BOOTSTRAP PRIMARY COLOR
================================= */
:root {
  --bs-primary: #f4623a;
  --bs-primary-rgb: 244, 98, 58;
}

.btn-primary {
  background-color: #f4623a;
  border-color: #f4623a;
}

.btn-primary:hover {
  background-color: #e04e2a;
  border-color: #e04e2a;
}

.text-primary {
  color: #f4623a !important;
}

.bg-primary {
  background-color: #f4623a !important;
}

  .whatsapp-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
            color: white;
            text-decoration: none;
        }