:root {
  --primary-color: #0072bb; /* Azul de la bandera Argentina */
  --secondary-color: #fff;
  --accent-color: #fcbf49;
  --text-color: #333;
  --light-gray: #f4f4f4;
  --medium-gray: #ccc;
  --dark-gray: #666;
  --success-color: #4caf50;
  --font-main: 'Montserrat', sans-serif;
  --font-title: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
}

/* Barra de progreso de lectura */
.progress-container {
  width: 100%;
  height: 5px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.progress-bar {
  height: 5px;
  background: var(--accent-color);
  width: 0%;
}

/* Header y Navegación */
header {
  background-color: var(--primary-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav ul li a:hover {
  color: var(--accent-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--secondary-color);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/1.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  text-align: center;
  padding: 2rem 0;
}

.hero-content {
  max-width: 800px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: var(--font-title);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #e6a535;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Main Content and Posts */
.main-content {
  padding: 4rem 0;
}

.post-preview {
  margin-bottom: 3rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  background-color: var(--secondary-color);
}

.post-preview:hover {
  transform: translateY(-5px);
}

.post-image {
  height: 250px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-title);
  color: var(--primary-color);
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.post-meta span {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 5px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--medium-gray);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: var(--accent-color);
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -13px;
}

.timeline-content {
  padding: 20px;
  background-color: var(--light-gray);
  position: relative;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Single Post Page */
.post-header {
  text-align: center;
  padding: 2rem 0;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-title);
  color: var(--primary-color);
}

.post-featured-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.post-body p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.post-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  font-family: var(--font-title);
  color: var(--primary-color);
}

.post-body h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  font-family: var(--font-title);
  color: var(--primary-color);
}

.post-body ul, .post-body ol {
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 5px;
}

.post-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 5px solid var(--primary-color);
  background-color: var(--light-gray);
  font-style: italic;
}

.post-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.post-tags a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 5px 15px;
  background-color: var(--light-gray);
  border-radius: 30px;
  color: var(--dark-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--medium-gray);
}

.post-navigation a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
}

.post-navigation a:hover {
  color: var(--accent-color);
}

.post-navigation .prev i {
  margin-right: 10px;
}

.post-navigation .next {
  text-align: right;
}

.post-navigation .next i {
  margin-left: 10px;
}

/* About Page */
.about-section {
  padding: 4rem 0;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-family: var(--font-title);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  background-color: var(--secondary-color);
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 5px solid var(--light-gray);
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-member p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Contact Page */
.contact-section {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  padding: 2rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-family: var(--font-title);
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details div {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-details i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 20px;
}

.contact-form {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-family: var(--font-title);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 1rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 114, 187, 0.2);
}

.map-container {
  height: 400px;
  margin-top: 3rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1001;
  transition: bottom 0.5s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-notice.show {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  margin-right: 2rem;
}

.cookie-text h3 {
  margin-bottom: 0.5rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.accept-cookies {
  background-color: var(--success-color);
  color: var(--secondary-color);
}

.configure-cookies {
  background-color: var(--light-gray);
  color: var(--text-color);
}

.reject-cookies {
  background-color: var(--dark-gray);
  color: var(--secondary-color);
}

.cookie-btn:hover {
  opacity: 0.9;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--secondary-color);
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--text-color);
}

.modal h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.modal p {
  margin-bottom: 1.5rem;
}

.modal-success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 3rem 0 1.5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--secondary-color);
  transition: all 0.3s;
}

.footer-social a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .post-header h1 {
    font-size: 2rem;
  }
  
  .post-featured-image {
    height: 300px;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::after {
    left: 18px;
  }
  
  .right {
    left: 0;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
    padding: 0.8rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cookie-actions {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .post-header h1 {
    font-size: 1.6rem;
  }
  
  .post-featured-image {
    height: 200px;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
}
