/* ==========================================================================
   Ingsolp LLC - Premium Construction Website Styles
   Color Palette: Charcoal (#36454F), Burnt Orange (#CC5500), White (#FFFFFF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700;900&display=swap');

:root {
  --primary-charcoal: #2A2F33; /* Slightly deeper than standard charcoal for premium look */
  --secondary-charcoal: #36454F;
  --accent-orange: #CC5500;
  --accent-orange-hover: #E66000;
  --text-white: #FFFFFF;
  --text-light-grey: #F0F2F5;
  --text-dark: #1A1A1A;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: var(--font-body);
  color: var(--primary-charcoal);
  background-color: var(--text-light-grey);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-charcoal);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-orange { color: var(--accent-orange) !important; }
.bg-charcoal { background-color: var(--primary-charcoal) !important; }
.bg-orange { background-color: var(--accent-orange) !important; }

.btn-premium {
  background-color: var(--accent-orange);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 30px;
  border-radius: 4px;
  border: 2px solid var(--accent-orange);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(204, 85, 0, 0.3);
}

.btn-premium:hover {
  background-color: transparent;
  color: var(--accent-orange);
  box-shadow: 0 6px 20px rgba(204, 85, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline-premium {
  background-color: transparent;
  color: var(--primary-charcoal);
  border: 2px solid var(--primary-charcoal);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 30px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn-outline-premium:hover {
  background-color: var(--primary-charcoal);
  color: var(--text-white);
}

.section-padding { padding: 100px 0; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 4px;
  background-color: var(--accent-orange);
}
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-premium {
  background-color: rgba(228, 225, 225, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-orange);
  padding: 15px 0;
  transition: var(--transition-smooth);
}

.navbar-premium .navbar-brand img {
  height: 80px;
  transition: var(--transition-smooth);
}

.navbar-premium .nav-link {
  color: var(--primary-charcoal) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin: 0 10px;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar-premium .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: width 0.3s ease;
}

.navbar-premium .nav-link:hover::before,
.navbar-premium .nav-link.active::before {
  width: 100%;
}

.navbar-premium .nav-link:hover {
  color: var(--accent-orange) !important;
}

/* Lang Switcher */
.lang-switcher {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.2);
  color: var(--primary-charcoal);
  padding: 5px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}
.lang-switcher:hover {
  background: var(--primary-charcoal);
  color: white;
  border-color: var(--primary-charcoal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-slider {
  height: 100vh;
  min-height: 600px;
  position: relative;
  background-color: var(--primary-charcoal);
  display: flex;
  align-items: center;
  color: var(--text-white);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-slide.active { opacity: 1; z-index: 2; }
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(42,47,51,0.9) 0%, rgba(42,47,51,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 80px; /* Offset for navbar */
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: slideUp 1s ease forwards;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: var(--text-light-grey);
  animation: slideUp 1.2s ease forwards;
}

/* Page Headers */
.page-header {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
}
.page-header::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(42, 47, 51, 0.8);
}
.page-header-content {
  position: relative;
  z-index: 1;
  color: white;
}
.page-header-title {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ffffff !important;
}
.breadcrumb-premium {
  background: transparent;
  padding: 0;
  justify-content: center;
  margin-bottom: 0;
}
.breadcrumb-premium .breadcrumb-item, .breadcrumb-premium .breadcrumb-item a {
  color: var(--accent-orange);
  text-decoration: none;
}
.breadcrumb-premium .breadcrumb-item.active {
  color: white;
}

/* ==========================================================================
   Cards & Components
   ========================================================================== */
.service-card {
  background: var(--text-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
  height: 100%;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-bottom-color: var(--accent-orange);
}

.service-img-wrap {
  height: 200px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(204, 85, 0, 0.1);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--accent-orange);
  color: white;
}

/* Feature Icons (Why Choose Us) */
.feature-item {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  height: 100%;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.feature-icon-lg {
  font-size: 3rem;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

/* Contact Info Cards */
.contact-info-card {
  background: var(--primary-charcoal);
  color: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  height: 100%;
  border-top: 4px solid var(--accent-orange);
  transition: var(--transition-smooth);
}
.contact-info-card:hover {
  background: var(--secondary-charcoal);
  transform: translateY(-5px);
}
.contact-info-card i {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 15px;
}
.contact-info-card h4 { color: white; margin-bottom: 15px;}
.contact-info-card a { color: var(--text-light-grey); text-decoration: none; transition: 0.3s;}
.contact-info-card a:hover { color: var(--accent-orange); }

/* Forms */
.form-premium .form-control {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.form-premium .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-orange);
  background: white;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-premium {
  background-color: #c9c9c9;
  color: var(--secondary-charcoal);
  padding: 80px 0 30px;
  border-top: 5px solid var(--accent-orange);
}
.footer-title {
  color: var(--primary-charcoal);
  font-family: var(--font-heading);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 30px; height: 2px;
  background: var(--accent-orange);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--secondary-charcoal);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--primary-charcoal);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 991px) {
  .hero-title { font-size: 3rem; }
  .navbar-premium { background-color: #ffffff; }
  .navbar-premium .nav-link::before { display: none; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2.5rem; }
  .section-padding { padding: 60px 0; }
}

/* ==========================================================================
   Centralized Components (From Page Inline Styles)
   ========================================================================== */

/* Hero Slider (Premium Ken Burns) - From index.html */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #111;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.hero-slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    transition: transform 8s ease-out;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(20,20,20,0.85) 0%, rgba(20,20,20,0.3) 100%);
    z-index: 1;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 800px;
    text-align: left;
}
.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}
.hero-content p {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    border-left: 4px solid var(--accent-orange);
    padding-left: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s;
}
.hero-content .hero-btns {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s;
    margin-top: 40px;
}
.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-content .hero-btns {
    opacity: 1;
    transform: translateY(0);
}

.hero-indicators {
    position: absolute;
    bottom: 50px;
    left: 10%;
    z-index: 10;
    display: flex;
    gap: 15px;
}
.hero-indicator-dot {
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.hero-indicator-progress {
    position: absolute;
    top: 0; left: 0; height: 100%; width: 0;
    background: var(--accent-orange);
}
.hero-indicator-dot.active .hero-indicator-progress {
    width: 100%;
    transition: width 6s linear;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1.2rem; }
}

/* Floating Experience Badge - index.html */
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary-charcoal);
    color: white;
    padding: 30px;
    border-radius: 8px;
    border-bottom: 5px solid var(--accent-orange);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 10;
    max-width: 250px;
}

/* Premium Detail Card - Used in index & servicios */
.premium-detail-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    border-bottom: 5px solid transparent;
}
.premium-detail-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--accent-orange);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.premium-img-container {
    position: relative;
    height: 250px; /* Standardized for both */
    overflow: hidden;
}
.premium-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.premium-detail-card:hover .premium-img-container img {
    transform: scale(1.08);
}
.premium-card-body {
    padding: 30px;
}

/* Process Steps - index.html */
.process-step {
    position: relative;
    padding: 40px 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    z-index: 1;
}
.process-step:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-10px);
}
.process-step .step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(204, 85, 0, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    transition: all 0.3s ease;
    z-index: -1;
}
.process-step:hover .step-number {
    color: rgba(255, 255, 255, 0.2);
}
.process-step:hover h4, .process-step:hover p, .process-step:hover i {
    color: white !important;
}
.process-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

/* Category Title - servicios.html */
.category-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 800;
}
.category-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent-orange);
}

/* Service List - servicios.html */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: var(--secondary-charcoal);
    font-size: 0.95rem;
}
.service-list li:last-child {
    border-bottom: none;
}
.service-list li i {
    color: var(--accent-orange);
    margin-right: 10px;
}
.title-icon-wrapper i {
    font-size: 2rem;
    color: var(--accent-orange);
}

/* Contact Page Styles - contactos.html */
.contact-info-card-premium {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--accent-orange);
}
.contact-info-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.contact-info-card-premium i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
    display: inline-block;
}
.premium-form-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 50px;
    border: 1px solid rgba(0,0,0,0.05);
}
.form-control-premium {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 15px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.form-control-premium:focus {
    background-color: #fff;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.25rem rgba(204, 85, 0, 0.25);
}
.contact-image-side {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    height: 100%;
    min-height: 500px;
}
.contact-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
.info-list li:last-child {
    border-bottom: none;
}
.info-list li i {
    color: var(--accent-orange);
    font-size: 1.5rem;
    margin-right: 15px;
}
