/* ============================================================
   PPC - Pines Personalizados Córdoba
   Sistema de diseño: Vibrante, Profesional, Moderno
   ============================================================ */

:root {
  /* Paleta PPC Logo Pines */
  --primary: #50BABC;    
  --secondary: #F9E6AC;  
  --accent: #EDECE7;     
  --dark: #231F20;       
  --bg-light: #1A1A1A;     /* Dark gray for alternating sections */
  --white: #231F20;        /* Main dark background */
  --text-main: var(--secondary); /* Amarillo patito para letras principales */
  --text-muted: #E0E0E0;   /* Light gray for muted text */
  
  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

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

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Header & Nav */
.site-header {
  padding: 20px 0;
  background: #000000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--secondary); /* Dorado claro */
}

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

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: radial-gradient(circle at top right, #303030, var(--white));
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 60px;
  align-items: center;
}

.hero-carousel-container {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

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

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--secondary); /* Letras amarillas */
}

.hero h1 mark {
  background: none;
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn-group {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,174,239,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,174,239,0.4);
}

/* Badges section */
.features {
  padding: 60px 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
}

/* Products Preview */
.products-preview {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--secondary); /* Letras amarillas */
}

.ppc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.ppc-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #2a2a2a; /* Lighter dark for cards so they pop */
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

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

.ppc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: linear-gradient(45deg, var(--primary), var(--secondary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.ppc-card:hover::after {
  opacity: 1;
}

.ppc-card-img {
  height: 220px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit';
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.ppc-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.05);
}

/* Product internal carousel */
.ppc-card-carousel {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.product-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.product-track img {
  flex: 0 0 100%; /* Cada imagen ocupa exactamente el 100% de la caja */
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Works Carousel */
.works-section {
  padding: 80px 0;
  text-align: center;
  background: var(--white);
  overflow: hidden;
}

.works-container {
  margin-top: 50px;
  position: relative;
}

.works-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 20px 0;
  width: max-content;
}

.work-item {
  min-width: 280px;
  flex-shrink: 0;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dot.active {
  background: var(--primary);
  width: 25px;
  border-radius: 5px;
}

.ppc-card-info {
  padding: 25px;
}

.ppc-tag {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--primary); /* Cambiado a verdecito (#50BABC) para que se lea bien */
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.ppc-card-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.ppc-price {
  margin-top: 15px;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary); /* Verde agua para el precio en cards oscuras */
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* Newsletter Section - PPC Styled */
.newsletter-section {
  padding: 80px 0;
  text-align: center;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.newsletter-section h3 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--secondary);
}

.newsletter-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 25px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #2a2a2a;
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(80, 186, 188, 0.1);
}

.newsletter-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 40px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.newsletter-status {
  margin-top: 20px;
  font-size: 14px;
  display: none;
}

.newsletter-status.success {
  color: #4CAF50;
}

.newsletter-status.error {
  color: #ff5252;
}

@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
    padding: 0 20px;
  }
  .newsletter-form button {
    padding: 15px;
  }
}
