/*
  ============================================
  STYLE.CSS
  Theme: Inversiones en Petróleo y Gasolineras en Argentina
  Design System: Neumorphism & Adaptive Typography
  Color Scheme: Split-Complementary
  ============================================
*/

/*
  ============================================
  1. ROOT & VARIABLES
  ============================================
*/
:root {
  /* Color Palette (Split-Complementary) */
  --color-background: #E0E5EC; /* Light, slightly warm grey */
  --color-primary-dark: #0D2A4C; /* Deep Navy Blue (Base) */
  --color-text-dark: #22262a;
  --color-text-light: #E0E5EC;
  --color-accent-1: #FF9933; /* Yellow-Orange */
  --color-accent-1-dark: #e68a2e;
  --color-accent-2: #FFD700; /* Bright Yellow */
  
  /* Neumorphism Shadows */
  --shadow-light: rgba(255, 255, 255, 0.9);
  --shadow-dark: rgba(163, 177, 198, 0.7);
  --neumorphic-shadow-outset: -9px -9px 20px var(--shadow-light), 9px 9px 20px var(--shadow-dark);
  --neumorphic-shadow-inset: inset -6px -6px 12px var(--shadow-light), inset 6px 6px 12px var(--shadow-dark);

  /* Typography */
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Sizing & Radius */
  --border-radius-soft: 15px;
  --border-radius-round: 50px;
  --navbar-height: 5rem; /* For content offset */
  --transition-speed: 0.3s;
}

/*
  ============================================
  2. GENERAL & BASE STYLES
  ============================================
*/
html {
  background-color: var(--color-background);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-background);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Adaptive Typography */
h1, h2, h3, h4, .title {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--color-primary-dark);
}

h1.title { font-size: clamp(2.5rem, 5vw, 4rem); }
h2.title, .section-title { font-size: clamp(2rem, 4vw, 3rem); text-shadow: 1px 1px 2px var(--shadow-dark); }
h3.title { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4.title { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p, .content {
  font-family: var(--font-body);
  font-weight: 400;
}

a {
  color: var(--color-accent-1);
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--color-accent-1-dark);
}

.section {
  padding: 4rem 1.5rem;
}

/*
  ============================================
  3. HEADER & NAVIGATION
  ============================================
*/
.navbar.is-fixed-top {
  background-color: var(--color-background);
  box-shadow: var(--neumorphic-shadow-outset);
  height: var(--navbar-height);
}

.navbar-item {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-dark);
  transition: all var(--transition-speed) ease;
}

.navbar-item:hover, .navbar-item.is-active {
  background-color: transparent !important;
  color: var(--color-accent-1) !important;
  transform: translateY(-2px);
}

.navbar-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.navbar-burger {
  color: var(--color-text-dark);
}

@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--color-background);
    box-shadow: var(--neumorphic-shadow-inset);
    padding: 1rem 0;
  }
}

/*
  ============================================
  4. HERO SECTION
  ============================================
*/
#hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Simple parallax fallback */
}

#hero .hero-title, #hero .hero-subtitle {
  color: #FFFFFF; /* IMPORTANT: White text for readability */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/*
  ============================================
  5. GLOBAL UI COMPONENTS
  ============================================
*/

/* Buttons */
.button.is-primary, .button.hero-button {
  background-color: var(--color-accent-1);
  border: none;
  border-radius: var(--border-radius-round);
  color: var(--color-primary-dark);
  font-family: var(--font-headings);
  font-weight: 600;
  box-shadow: var(--neumorphic-shadow-outset);
  transition: all var(--transition-speed) ease-in-out;
}

.button.is-primary:hover, .button.hero-button:hover {
  background-color: var(--color-accent-2);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: -12px -12px 24px var(--shadow-light), 12px 12px 24px var(--shadow-dark);
}

.button.is-primary:active, .button.hero-button:active {
  transform: translateY(1px);
  box-shadow: var(--neumorphic-shadow-inset);
}

/* Cards */
.card.neumorphic-card {
  background-color: var(--color-background);
  border-radius: var(--border-radius-soft);
  box-shadow: var(--neumorphic-shadow-outset);
  transition: all var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card.neumorphic-card:hover {
  transform: translateY(-10px);
  box-shadow: -15px -15px 30px var(--shadow-light), 15px 15px 30px var(--shadow-dark);
}

.card .card-image {
  padding: 1rem;
}

.card .card-image .image-container {
  border-radius: var(--border-radius-soft);
  overflow: hidden;
}

.card .card-image img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.card .card-content {
  padding: 1rem 1.5rem 2rem 1.5rem;
  text-align: left;
}

.card .card-content .content {
    color: #555;
    font-size: 0.95rem;
}

/* Team Card Specifics */
.team-card .card-content {
    text-align: center;
}

.team-card .card-image {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.team-card .image-container {
    width: 200px;
    height: 200px;
}

/*
  ============================================
  6. SECTION-SPECIFIC STYLES
  ============================================
*/

/* Statistics Section */
#statistics .stat-number {
  color: var(--color-accent-1);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
}
#statistics .stat-label {
  color: var(--color-primary-dark);
  font-family: var(--font-headings);
  font-weight: 600;
}

/* Methodology: Accordion */
.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--neumorphic-shadow-outset);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background-color: var(--color-background);
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-family: var(--font-headings);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-primary-dark);
}
.accordion-icon {
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform var(--transition-speed) ease;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background: var(--color-background);
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}
.accordion-content p {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(163, 177, 198, 0.4);
}

/* Workshops Section */
.neumorphic-card-inset {
    background: var(--color-background);
    border-radius: var(--border-radius-soft);
    padding: 2.5rem;
    box-shadow: var(--neumorphic-shadow-inset);
}
.neumorphic-card-inset h3 {
    margin-bottom: 1rem;
}

/* Events Calendar: Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary-dark);
    border-radius: 2px;
    opacity: 0.2;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 24px;
    height: 24px;
    background: var(--color-accent-1);
    border: 4px solid var(--color-background);
    border-radius: 50%;
    box-shadow: var(--neumorphic-shadow-outset);
}
.timeline-content .heading {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* External Resources Section */
.resource-list .resource-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-soft);
    background-color: var(--color-background);
    box-shadow: var(--neumorphic-shadow-outset);
    transition: transform var(--transition-speed) ease;
}
.resource-list .resource-item:hover {
    transform: scale(1.02);
}

/* Contact Form */
.neumorphic-form .label {
    color: var(--color-primary-dark);
    font-weight: 600;
}
.neumorphic-form .input,
.neumorphic-form .textarea {
    background-color: var(--color-background);
    border: none;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--neumorphic-shadow-inset);
    color: var(--color-text-dark);
    transition: all var(--transition-speed) ease;
}
.neumorphic-form .input::placeholder,
.neumorphic-form .textarea::placeholder {
    color: #889;
}
.neumorphic-form .input:focus,
.neumorphic-form .textarea:focus {
    outline: none;
    box-shadow: var(--neumorphic-shadow-inset), 0 0 0 2px var(--color-accent-1);
}

/*
  ============================================
  7. FOOTER
  ============================================
*/
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 4rem 1.5rem;
}

.footer .title {
  color: var(--color-text-light);
}

.footer a {
  color: var(--color-text-light);
  transition: color var(--transition-speed) ease;
}

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

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

/*
  ============================================
  8. SPECIAL PAGES & UTILITIES
  ============================================
*/
/* Success Page */
.success-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: var(--color-background);
}
.success-page-container .icon {
  font-size: 5rem;
  color: var(--color-accent-1);
}

/* Privacy & Terms Pages */
.static-page-content {
  padding: calc(var(--navbar-height) + 3rem) 1.5rem 3rem;
}
.static-page-content .content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.static-page-content .content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

figure {
 padding-top: 56.25% !important;

}