/* YPF Argentina Website Styles */

/* Base Variables */
:root {
  /* Primary Color Scheme */
  --primary-color: #0063b2;
  --primary-dark: #004f8e;
  --primary-light: #3a8ac5;
  --secondary-color: #e6e6e6;
  --accent-color: #f12711;
  --accent-dark: #d01e0c;
  --accent-light: #f45c4b;

  /* Neutral Color Scheme */
  --text-color: #333333;
  --text-light: #666666;
  --text-dark: #222222;
  --light-text: #ffffff;
  --dark-bg: #1a1a1a;
  --light-bg: #f9f9f9;
  --medium-bg: #f2f2f2;
  
  /* UI Elements */
  --border-radius: 6px;
  --border-radius-large: 12px;
  --box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  --box-shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --card-padding: 1.5rem;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  --heading-weight: 700;
  --body-weight: 400;
  --body-weight-bold: 600;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

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

.text-accent {
  color: var(--accent-color);
}

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

.bg-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.bg-accent {
  background-color: var(--accent-color);
  color: var(--light-text);
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-medium {
  background-color: var(--medium-bg);
}

.bg-dark {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mb-6 { margin-bottom: 3rem; }

/* Container Overrides */
.container {
  padding: 0 1.5rem;
}

/* Button Styles */
.button {
  transition: var(--transition);
  border-radius: var(--border-radius);
  font-weight: var(--body-weight-bold);
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.button:active {
  transform: translateY(0);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.is-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--light-text);
}

.button.is-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.is-light.is-outlined {
  border-color: var(--light-text);
  color: var(--light-text);
}

.button.is-light.is-outlined:hover {
  background-color: rgba(255,255,255,0.2);
}

.button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transform: scale(0.5);
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.button:active::after {
  opacity: 1;
  transform: scale(1.5);
  transition: 0s;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.header.scrolled {
  padding: 5px 0;
}

.navbar {
  padding: 10px 0;
}

.navbar-item {
  font-weight: var(--body-weight-bold);
  position: relative;
  padding: 0.5rem 1rem;
}

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar-item:hover::after,
.navbar-item.active::after {
  width: 100%;
  left: 0;
}

.navbar-burger {
  margin-top: 8px;
  transition: var(--transition);
}

.navbar-burger:hover {
  background-color: var(--light-bg);
}

.navbar-burger span {
  transition: var(--transition);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-body {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  font-size: 3.5rem !important;
}

.hero-subtitle {
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  font-size: 2rem !important;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto 40px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  font-size: 1.25rem !important;
}

.has-text-white {
  color: var(--light-text) !important;
}

/* About Section */
.section {
  padding: 5rem 1.5rem;
}

.section .title {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section .title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.image-container {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.image-container img {
  width: 100%;
  height: auto;
  transition: var(--transition);
  object-fit: cover;
}

.image-container:hover img {
  transform: scale(1.05);
}

/* Mission Section */
.mission-timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(0,99,178,0.2);
  z-index: 1;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 25px;
  height: calc(100% + 15px);
  width: 2px;
  background-color: rgba(0,99,178,0.2);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-content {
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(5px);
}

/* Portfolio & Projects Sections */
.portfolio-card,
.project-card,
.event-card {
  height: 100%;
  transition: var(--transition);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover,
.project-card:hover,
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  transition: var(--transition);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: var(--card-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover .card-image img,
.project-card:hover .card-image img,
.event-card:hover .card-image img {
  transform: scale(1.05);
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card .title::after {
  left: 0;
  transform: none;
}

.card-content .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Resources Section */
.resources-list {
  margin-top: 30px;
}

.resource-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}

.resource-item:hover {
  transform: translateX(5px);
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-item h3 {
  margin-bottom: 10px;
}

.resource-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.resource-item a:hover {
  text-decoration: underline;
}

/* Contact Section */
.contact-form-container {
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  background-color: #fff;
  transition: var(--transition);
}

.contact-form-container:hover {
  box-shadow: var(--box-shadow-hover);
}

.contact-box {
  height: 100%;
  transition: var(--transition);
}

.contact-box:hover {
  transform: translateY(-5px);
}

.field {
  margin-bottom: 1.5rem;
}

.input, 
.textarea, 
.select {
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.input:focus, 
.textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0,99,178,0.2);
}

.input:hover, 
.textarea:hover, 
.select:hover {
  border-color: var(--primary-light);
}

/* FAQ Accordion */
.faq-container {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background-color: #fff;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--box-shadow-hover);
}

.faq-question {
  position: relative;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--light-bg);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

/* Value Boxes */
.value-box {
  height: 100%;
  transition: var(--transition);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.value-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.value-box .title {
  font-size: 1.5rem;
}

.value-box .title::after {
  left: 0;
  transform: none;
}

/* Behind the Scenes Section */
.behind-scenes-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.behind-scenes-content h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.behind-scenes-content h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

/* Events Section */
.event-date {
  font-weight: var(--body-weight-bold);
  color: var(--primary-color);
}

.event-location {
  font-style: italic;
  color: var(--text-light);
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: #fff;
  padding: 4rem 1.5rem;
}

.footer .title {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer .title::after {
  background-color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
  display: inline-block;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
  font-weight: var(--body-weight-bold);
}

.social-links a:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* Success Page */
.success-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.success-message {
  text-align: center;
  max-width: 600px;
  padding: 3rem;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.success-icon {
  color: #00d1b2;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Privacy and Terms Pages */
.privacy-section,
.terms-section {
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.privacy-section h2,
.terms-section h2 {
  margin-bottom: 1.5rem;
  position: relative;
}

.privacy-section h2::after,
.terms-section h2::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.privacy-section h3,
.terms-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Info Boxes */
.info-box {
  height: 100%;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.explore-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.explore-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.explore-card .has-text-centered {
  margin-top: auto;
}

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

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.95);
  color: #fff;
  z-index: 9999;
  display: none;
}

.cookie-content {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-content p {
  margin: 0 1rem 0 0;
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: var(--body-weight-bold);
  position: relative;
  padding-right: 20px;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  right: -5px;
}

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.5rem !important;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .card-image img {
    height: 220px;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.25rem !important;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .cookie-content p {
    margin: 0 0 1rem 0;
  }
  
  .timeline-item {
    padding-left: 30px;
  }
  
  .timeline-item::before {
    left: 9px;
  }
  
  .card-image img {
    height: 200px;
  }
  
  .section {
    padding: 3rem 1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .hero-text {
    font-size: 1rem !important;
  }
  
  .card-image img {
    height: 180px;
  }
  
  .button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  .section {
    padding: 2.5rem 1rem;
  }
}