/* ==========================================================================
   STYLE.CSS  |  YPF Estaciones Argentina
   Autor: Equipo Front-End
   Diseño: Neomorfo / Neo-Brutalismo + Animaciones elásticas
   ========================================================================== */

/* -------------------- @import & Variables -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;800&family=Rubik:wght@300;400;500;700&display=swap');

:root {
  /* Paleta brillante */
  --primary: #ff6b00;
  --primary-dark: #c95000;
  --accent: #00caff;
  --accent-dark: #0090b8;
  --secondary: #ffd600;
  --bg: #f2f3f7;
  --bg-alt: #ffffff;
  --text: #222222;
  --text-light: #ffffff;

  /* Neomorfismo */
  --radius: 18px;
  --shadow-light: 6px 6px 14px rgba(0,0,0,0.15),
                  -6px -6px 14px rgba(255,255,255,0.8);
  --shadow-inset: inset 6px 6px 14px rgba(0,0,0,0.12),
                  inset -6px -6px 14px rgba(255,255,255,0.8);

  /* Brutalism accents */
  --stroke: 3px;
  --brutal-border: var(--stroke) solid #000;

  /* Transiciones */
  --transition-fast: .2s ease;
  --transition-med: .4s cubic-bezier(.68,-0.55,.27,1.55); /* elastic */
}

/* -------------------- Global Reset -------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body{
  font-family: 'Rubik', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: .5em;
  text-align: center;
  color: var(--text);
}

p, li, a, label, input, textarea, button{
  font-size: 1rem;
}

img{ display:block; width:100%; height:auto; }

a{ color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover{ color: var(--primary-dark); }

/* utilidades */
.container{ width:90%; max-width:1200px; margin:auto; }

/* -------------------- Header -------------------- */
.header{
  position:fixed; top:0; left:0; width:100%;
  background: var(--bg-alt);
  box-shadow: var(--shadow-light);
  z-index:900;
}
.header .container{ display:flex; align-items:center; justify-content:space-between; padding:.8rem 0; }
.logo{ font-family:'Manrope',sans-serif; font-size:1.5rem; font-weight:800; color:var(--primary); }
.nav ul{ display:flex; gap:1.2rem; list-style:none; }
.nav a{ font-weight:500; padding:.2rem .5rem; }
.nav a:hover{ background:var(--accent); color:var(--text-light); border-radius:8px; transition:background var(--transition-fast); }

/* Burger */
.burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; }
.burger span{ width:25px; height:3px; background:#000; transition:transform .3s ease; }

/* Responsive nav */
@media (max-width: 768px){
  .burger{ display:flex; }
  .nav{ position:absolute; top:100%; right:0; background:var(--bg-alt); width:220px; transform:translateX(100%); transition:transform var(--transition-fast); box-shadow:var(--shadow-light); }
  .nav.open{ transform:translateX(0); }
  .nav ul{ flex-direction:column; padding:1rem; }
}

/* -------------------- Generic Sections -------------------- */
.section{
  padding:4.5rem 0;
}

.section-title{
  font-size:2.2rem;
  margin-bottom:2rem;
  text-shadow:1px 1px 3px rgba(0,0,0,.15);
}

/* -------------------- Hero -------------------- */
.hero{
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  color:var(--text-light);
  text-align:center;
  position:relative;
}
.hero h1{ color:#FFFFFF; font-size:3rem; }
.hero p{ color:#FFFFFF; max-width:640px; margin:1rem auto 2rem; }

/* -------------------- Buttons -------------------- */
.btn,
button,
input[type='submit']{
  display:inline-block;
  padding:.8rem 1.6rem;
  border:none;
  border-radius:var(--radius);
  font-weight:600;
  color:var(--text-light);
  background:var(--primary);
  box-shadow:var(--shadow-light);
  cursor:pointer;
  transition:transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.btn.primary{ background:var(--primary); }
.btn.secondary{ background:var(--accent); }
.btn:hover,
button:hover,
input[type='submit']:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:var(--shadow-inset);
}
.btn:active{ transform:translateY(1px); }

/* -------------------- Card Pattern -------------------- */
.card{
  background:var(--bg-alt);
  border-radius:var(--radius);
  box-shadow:var(--shadow-light);
  padding:1.5rem;
  margin:1rem 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.card-image{
  width:100%;
  height:200px;
  overflow:hidden;
  border-radius:var(--radius);
  margin-bottom:1rem;
}
.card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  margin:0 auto;
}
.card-content{ flex:1; }
.read-more{
  display:inline-block;
  margin-top:1rem;
  font-weight:500;
  color:var(--accent);
  border-bottom:2px solid transparent;
}
.read-more:hover{
  border-color:var(--accent);
  color:var(--accent-dark);
}

/* -------------------- Gallery -------------------- */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
}

/* -------------------- Parallax Helper -------------------- */
.parallax{ background-attachment:fixed; }

/* -------------------- Forms -------------------- */
.contact-form{
  max-width:640px;
  margin:0 auto;
  display:grid;
  gap:1.2rem;
}
.field{ display:flex; flex-direction:column; }
.field label{ margin-bottom:.3rem; font-weight:500; }
input[type="text"],
input[type="email"],
textarea{
  padding:.75rem 1rem;
  border-radius:var(--radius);
  border:none;
  background:var(--bg-alt);
  box-shadow:var(--shadow-light);
  resize:vertical;
}
input:focus,
textarea:focus{ outline:none; box-shadow:var(--shadow-inset); }

/* -------------------- External Links -------------------- */
.external-links{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:.6rem;
  max-width:480px;
  margin:0 auto;
}
.external-links a{
  position:relative;
  padding-left:1.2rem;
}
.external-links a::before{
  content:'↗';
  position:absolute;
  left:0;
  top:0;
}

/* -------------------- News / Awards / Events Sections -------------------- */
#noticias .card,
#premios .card,
#eventos .card{
  border:var(--brutal-border);
}

/* -------------------- Footer -------------------- */
.footer{
  background:var(--bg-alt);
  padding:2rem 0;
  text-align:center;
  box-shadow:var(--shadow-light);
  margin-top:4rem;
}
.footer-nav a{
  margin:0 .4rem;
  font-weight:500;
}
.social-links{
  margin-top:1rem;
}
.social-links a{
  display:inline-block;
  margin:0 .4rem;
  font-weight:600;
  color:var(--primary);
}
.social-links a:hover{ color:var(--primary-dark); }

/* -------------------- Modal -------------------- */
.modal{
  position:fixed;
  top:0; left:0;
  width:100%; height:100vh;
  background:rgba(0,0,0,.8);
  display:flex;
  align-items:center;
  justify-content:center;
  visibility:hidden;
  opacity:0;
  transition:opacity var(--transition-fast);
  z-index:999;
}
.modal.active{ opacity:1; visibility:visible; }
.modal-content{
  background:var(--bg-alt);
  padding:2rem 2.5rem;
  border-radius:var(--radius);
  box-shadow:var(--shadow-light);
  text-align:center;
  max-width:400px;
}

/* -------------------- Success Page -------------------- */
.success-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* -------------------- Privacy & Terms Padding -------------------- */
.privacy-page,
.terms-page{ padding-top:100px; }

/* -------------------- Animations -------------------- */
@keyframes fadeUp{
  from{ transform:translateY(40px); opacity:0; }
  to{ transform:translateY(0); opacity:1; }
}
.fade-up{ animation:fadeUp .9s var(--transition-med) forwards; }

@keyframes bounceIn{
  0%{ transform:scale(.5); opacity:0; }
  60%{ transform:scale(1.1); opacity:1; }
  80%{ transform:scale(.95); }
  100%{ transform:scale(1); }
}
.bounce-in{ animation:bounceIn .8s var(--transition-med) forwards; }

/* -------------------- Media Queries -------------------- */
@media (max-width:480px){
  h1{ font-size:2.2rem; }
  .section{ padding:3rem 0; }
  .hero{ padding:5rem 0 3rem; }
}

/* ==========================================================================
   Fin del archivo
   ========================================================================== */