/*
Theme Name: Elite Golf Consulting Theme
Theme URI: https://elitegolfconsulting.com.co
Author: Elite Golf Team
Author URI: https://elitegolfconsulting.com.co
Description: Tema premium personalizado para Elite Golf Consulting - Consultoría de academias y branding para clubes de golf en Colombia
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elite-golf
Tags: golf, consulting, premium, custom, woocommerce
*/

/* ===================================
   VARIABLES CSS
   =================================== */
:root {
  --elite-green: #193c28;
  --elite-gold: #c6a058;
  --elite-white: #fffafa;
  --elite-dark-green: #0f2419;
  --elite-light-gold: #d4b376;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET Y BASE
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: #333;
  line-height: 1.6;
  background-color: var(--elite-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--elite-green);
}

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

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

/* ===================================
   HEADER Y NAVEGACIÓN
   =================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 250, 250, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(25, 60, 40, 0.1);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 250, 250, 1);
  box-shadow: 0 4px 30px rgba(25, 60, 40, 0.15);
}

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

.site-logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .site-logo img {
  height: 50px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.main-navigation a {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--elite-green);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--elite-gold);
  border-bottom-color: var(--elite-gold);
}

/* Menú móvil */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--elite-green);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-navigation {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 80px);
    background: var(--elite-white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    padding: 2rem;
  }
  
  .main-navigation.active {
    right: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ===================================
   HERO SECTION CON VIDEO
   =================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 60, 40, 0.7), rgba(25, 60, 40, 0.4));
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--elite-white);
  padding: 2rem;
  max-width: 1000px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1rem;
  color: var(--elite-white);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 2rem;
  font-weight: 300;
  color: var(--elite-light-gold);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ===================================
   BOTONES
   =================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--elite-gold);
  color: var(--elite-white);
  border-color: var(--elite-gold);
}

.btn-primary:hover {
  background: transparent;
  border-color: var(--elite-gold);
  color: var(--elite-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(198, 160, 88, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--elite-white);
  border-color: var(--elite-white);
}

.btn-secondary:hover {
  background: var(--elite-white);
  color: var(--elite-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ===================================
   SECCIONES GENERALES
   =================================== */
.section {
  padding: 6rem 2rem;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--elite-green);
}

.section-title span {
  color: var(--elite-gold);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* ===================================
   SERVICIOS
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--elite-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(25, 60, 40, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--elite-green), var(--elite-dark-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--elite-gold);
  font-size: 2rem;
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-description {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ===================================
   TESTIMONIOS
   =================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--elite-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--elite-gold);
}

.testimonial-rating {
  color: var(--elite-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--elite-green);
}

.testimonial-position {
  font-size: 0.9rem;
  color: #888;
}

/* ===================================
   FORMULARIO DE CONTACTO
   =================================== */
.contact-section {
  background: var(--elite-green);
  color: var(--elite-white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20m-2 0a2,2 0 1,1 4,0a2,2 0 1,1 -4,0' fill='%23fff' fill-opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.contact-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  color: var(--elite-white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.contact-info h2 span {
  color: var(--elite-gold);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(198, 160, 88, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--elite-gold);
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--elite-white);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

.contact-form-wrapper {
  background: var(--elite-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper h3 {
  color: var(--elite-green);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 568px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--elite-green);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
  background: #f8f8f8;
  color: var(--elite-green);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--elite-gold);
  background: var(--elite-white);
  box-shadow: 0 0 0 3px rgba(198, 160, 88, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  background: var(--elite-green);
  color: var(--elite-white);
  padding: 1.25rem 2rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.form-submit:hover {
  background: var(--elite-dark-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(25, 60, 40, 0.3);
}

/* ===================================
   PRODUCTOS WOOCOMMERCE
   =================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--elite-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(25, 60, 40, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

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

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--elite-green);
}

.product-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--elite-gold);
  color: var(--elite-white);
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.product-cta:hover {
  background: var(--elite-green);
  transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: var(--elite-dark-green);
  color: var(--elite-white);
  padding: 4rem 2rem 2rem;
}

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

.footer-section h3 {
  color: var(--elite-gold);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--elite-gold);
  padding-left: 5px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(198, 160, 88, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--elite-gold);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--elite-gold);
  color: var(--elite-white);
  transform: translateY(-3px);
}

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

/* ===================================
   WHATSAPP FLOTANTE
   =================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 5px 40px rgba(37, 211, 102, 0.8);
  }
}

/* ===================================
   ANIMACIONES Y UTILIDADES
   =================================== */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Espaciado responsivo */
@media (max-width: 768px) {
  .section {
    padding: 4rem 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ===================================
   BLOG
   =================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--elite-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(25, 60, 40, 0.15);
}

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

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

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--elite-green);
}

.blog-excerpt {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-read-more {
  color: var(--elite-gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.blog-read-more:hover {
  gap: 1rem;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .btn {
    display: none;
  }
}
