/*
Theme Name: South Meets Gulf
Theme URI: 
Description: Child theme of Hello Elementor – South Meets Gulf Event (Qatar)
Author: 
Template: hello-elementor
Version: 1.0.0
Text Domain: southmeetsgulf
*/

/* === Variables === */
:root {
  --smg-maroon: #8A1538;
  --smg-maroon-dark: #6B0F2B;
  --smg-sand: #E8D5B5;
  --smg-dark: #0F1419;
  --smg-dark-2: #1A222D;
  --smg-white: #FFFFFF;
  --smg-gray: #F5F5F5;
  --smg-text: #2C3E50;
}

/* === Base === */
body {
  font-family: "Inter", Sans-serif;
  color: var(--smg-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", Sans-serif;
  font-weight: 700;
}

/* === Transparent Header === */
.smg-header {
  background: transparent !important;
  position: absolute;
  width: 100%;
  z-index: 99;
  transition: all 0.3s ease;
}

.smg-header.scrolled {
  background: rgba(15, 20, 25, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* === Hero Wave (Arena) === */
.smg-hero-wave {
  position: relative;
  overflow: hidden;
}

.smg-hero-wave::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0,64 C240,120 480,20 720,60 C960,100 1200,40 1440,80 L1440,120 L0,120 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  z-index: 2;
}

/* Versión más arenosa (opcional) */
.smg-hero-wave.sand::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0,80 C180,40 360,100 540,70 C720,40 900,90 1080,60 C1260,30 1380,80 1440,50 L1440,120 L0,120 Z'%3E%3C/path%3E%3C/svg%3E");
}

/* === Cards Qatar === */
.smg-card {
  background: var(--smg-white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(138, 21, 56, 0.08);
}

.smg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(138, 21, 56, 0.12);
}

.smg-card .number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--smg-maroon);
  line-height: 1;
  margin-bottom: 12px;
}

/* === Countdown === */
.smg-countdown .elementor-countdown-item {
  background: var(--smg-maroon);
  color: white;
  border-radius: 12px;
  min-width: 90px;
}

/* === Smooth scroll offset (por el header fijo) === */
html {
  scroll-padding-top: 90px;
}

/* === Footer === */
.smg-footer {
  background: var(--smg-dark);
  color: #ccc;
}

.smg-footer a {
  color: #fff;
  transition: color 0.2s;
}

.smg-footer a:hover {
  color: var(--smg-maroon);
}

/* === Utilidades === */
.smg-btn {
  background: var(--smg-maroon);
  color: white !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.smg-btn:hover {
  background: var(--smg-maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(138, 21, 56, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
  .smg-hero-wave::after {
    height: 60px;
  }
}