/* Yama Transporte - cleaned template */

@font-face {
  font-family: 'Plain-Regular';
  src: url('../fonts/Plain-Regular.woff2') format('woff2'), url('../fonts/Plain-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Plain-Light';
  src: url('../fonts/Plain-Light.woff2') format('woff2'), url('../fonts/Plain-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Plain-Bold';
  src: url('../fonts/Plain-Bold.woff2') format('woff2'), url('../fonts/Plain-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

:root {
  --primary-color: #960505;
  --menu-bg: #960505;
  --secondary-color: #D9D9D9;
  --white-color: #FFFFFF;
  --dark-color: #171819;
  --project-bg: #F5F5F5;
  --title-color: #15141A;
  --gray-color: #909090;
  --link-color: #404040;
  --p-color: #666262;
  --base-font-family: 'Plain-Light', Arial, sans-serif;
  --title-font-family: 'Plain-Regular', Arial, sans-serif;
  --font-bold-family: 'Plain-Bold', Arial, sans-serif;
  --font-weight-bold: bold;
  --h1-font-size: 42px;
  --h2-font-size: 32px;
  --h3-font-size: 24px;
  --p-font-size: 18px;
  --base-font-size: 16px;
  --menu-font-size: 14px;
  --border-radius-large: 100px;
  --border-radius-small: 8px;
}

* { box-sizing: border-box; }
body { background: var(--white-color); font-family: var(--base-font-family); }
h1,h2,h3,h4,h5,h6 { font-family: var(--title-font-family); line-height: 1.25; }
h1 { color: var(--title-color); font-size: var(--h1-font-size); }
h2 { font-size: var(--h2-font-size); font-weight: 100; }
h3 { font-size: var(--h3-font-size); font-weight: 100; margin-bottom: 0; }
h4 { color: var(--gray-color); font-family: var(--base-font-family); font-size: var(--p-font-size); letter-spacing: 1px; text-transform: uppercase; }
p { color: var(--p-color); font-size: var(--p-font-size); line-height: 1.6em; }
strong { color: var(--primary-color); font-family: var(--font-bold-family); }
a { color: var(--link-color); text-decoration: none; }
a:hover,
a:active,
a:focus {
    color: var(--white-color);
    outline: none;
    text-decoration: none;
}
::selection { background: var(--primary-color); color: var(--white-color); }
.section-padding { padding: 7em 0; }
.section-padding-half { padding: 4em 0; }

/* Buttons */
.custom-btn {
  background: transparent;
  border: 2px solid var(--dark-color);
  border-radius: var(--border-radius-large);
  padding: 12px 28px 14px;
  color: var(--dark-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  white-space: nowrap;
  transition: all .3s ease;
}
.custom-btn.btn-bg {background: #e8e8e8;color: var(--primary-color);border-color: #88262600;}
.custom-btn:hover, .custom-btn:focus { background: var(--dark-color); color: var(--white-color); border-color: var(--dark-color); }


/* Menu */
.navbar {
    background: var(--menu-bg);
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    padding: 1.5em;
    position: relative;
    overflow: hidden;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.35);
}

@keyframes ambientMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(12%) translateY(-10px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.navbar-brand { color: var(--white-color); font-size: var(--h2-font-size); display: flex; align-items: center; gap: 12px; }
.navbar-brand img {
    width: 220px;
    height: auto;
}
.nav-link { color: var(--white-color); font-size: var(--menu-font-size); letter-spacing: 0.4px; margin: 0 1.6em; padding: 0.6em; }
.nav-link.active, .nav-link:hover { color: var(--secondary-color); }
.navbar-expand-lg .navbar-nav .nav-link { padding-right: 0; padding-left: 0; }
.navbar-expand-lg .navbar-nav .nav-link.contact {
  border: 2px solid var(--white-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--font-bold-family);
  padding: 0.6em 2em 0.8em;
}
.navbar-expand-lg .navbar-nav .nav-link.contact:hover,
.navbar-expand-lg .navbar-nav .nav-link.contact.active { background: var(--white-color); color: var(--primary-color); }
.navbar-toggler { border: 0; padding: 0; cursor: pointer; margin: 0 10px 0 0; width: 30px; height: 35px; outline: none; }
.navbar-toggler:focus { outline: none; }
.navbar-toggler .navbar-toggler-icon,
.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after { background: var(--white-color); display: block; width: 30px; height: 2px; position: relative; content: ''; }
.navbar-toggler .navbar-toggler-icon::before { position: absolute; top: -8px; left: 0; }
.navbar-toggler .navbar-toggler-icon::after { position: absolute; top: 8px; left: 0; }

/* Hero */
.hero { position: relative; padding: 5em 0 7em; overflow: hidden; min-height: 680px; }
.hero-bg {
  background: var(--primary-color);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90px;

  background: linear-gradient(
    179deg,
    #960505 0%,
    #960505 50%,
    #0d0000 80%
  );

  clip-path: polygon(0 65%, 100% 20%, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}
.hero-text h1 { font-size: 44px; line-height: 1.28; }
.hero-text .hero-points { color: var(--white-color); font-size: 17px; line-height: 1.8; margin-top: 18px; }
.hero-contact { color: var(--white-color); font-family: var(--font-bold-family); }
.hero-image { position: relative; top: 2em; }
.hero-image img {
    max-height: 420px;
    object-fit: contain;
}

/* Services */
.service-card {
  background: var(--white-color);
  border: 1px solid #E8E8E8;
  border-radius: 14px;
  padding: 32px 26px;
  height: 100%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,0.10); }
.service-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--primary-color); color: var(--white-color); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }

/* About */
.about { position: relative; overflow: hidden; }
.about-box { background: var(--project-bg); border-radius: 16px; padding: 46px; }
.about-list { padding-left: 0; margin-top: 20px; }
.about-list li { list-style: none; margin-bottom: 12px; font-size: 17px; color: var(--p-color); }
.about-list li::before { content: '✓'; color: var(--primary-color); font-family: var(--font-bold-family); margin-right: 10px; }

/* Contact */
.contact-hero { background: var(--primary-color); padding: 5em 0 4em; }
.contact-hero h1, .contact-hero p { color: var(--white-color); }
.contact-form .form-control { box-shadow: none; background: var(--project-bg); border: 0; padding: 1.4em 1.2em; margin: 14px 0; }
.contact-form textarea.form-control { min-height: 170px; }
.contact-form #submit-button { background: var(--primary-color); border-radius: var(--border-radius-large); color: var(--white-color); cursor: pointer; font-size: var(--p-font-size); padding: 1.2em; height: auto; }
.contact-form #submit-button:hover { background: var(--dark-color); }
.contact-info-card { background: var(--project-bg); border-radius: 14px; padding: 32px; height: 100%; }
.google-map iframe { display: block; width: 100%; }

/* Footer */
.site-footer { background: var(--dark-color); padding: 5em 0 4em; }
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4 { color: var(--white-color); }
.site-footer p, .site-footer a { color: #cfcfcf; }
.site-footer a:hover, .footer-icon { color: var(--secondary-color); }
.footer-link { padding-left: 0; margin-top: 20px; }
.footer-link li { display: inline-block; list-style: none; margin: 0 12px 8px 0; }
.copyright-text { margin-top: 28px; font-size: 15px; }

@media screen and (max-width: 991px) {
  .hero { padding-top: 4em; min-height: auto; }
  .hero-bg { background: var(--primary-color); }
  .hero::after {
    height: 45px;
    clip-path: polygon(0 75%, 100% 45%, 100% 100%, 0% 100%);
  }
  .hero-text h1 { font-size: 36px; }
  .hero-image { top: 1em; margin-top: 2em; text-align: center; }
  .navbar { padding: 1.5em; }
  .navbar-collapse { text-align: center; padding: 2.5em 0; }
  .nav-link { display: inline-block; }
  .navbar-expand-lg .navbar-nav .nav-link.contact { margin: 1em 0; }
}
@media screen and (max-width: 767px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .section-padding { padding: 4em 0; }
  .hero-text h1 { font-size: 32px; }
  .about-box { padding: 28px; }
}
