/* ===== CSS VARIABLES ===== */
:root {
  --primary: #b71c1c;
  --primary-2: #7b1fa2;
  --bg: #f7f7f7;
  --text: #222;
  --muted: #666;
  --card: #ffffff;
}

/* ===== RESET & BASE STYLES ===== */
* { 
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Heebo", Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { 
  color: inherit; 
  text-decoration: none; 
}

/* ===== HEADER & NAVIGATION ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(6px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(183,28,28,0.1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.topbar-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 70px; 
}

.brand { 
  font-weight: 800; 
  letter-spacing: .3px; 
  font-size: 20px; 
}

.brand span { 
  color: var(--primary); 
}

.nav-actions { 
  display: flex; 
  gap: 12px; 
}

/* ===== BUTTONS ===== */
.btn { 
  display: inline-block; 
  padding: 12px 20px; 
  border-radius: 12px; 
  font-weight: 600; 
  transition: all 0.3s ease; 
  font-size: 15px; 
}

.btn:active { 
  transform: translateY(1px); 
}

.btn-primary { 
  background: var(--primary); 
  color: #fff; 
  box-shadow: 0 6px 18px rgba(183,28,28,.25); 
}

.btn-primary:hover { 
  background: #9a1717; 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(183,28,28,.35); 
}

.btn-ghost { 
  background: #fff; 
  color: var(--primary); 
  border: 1px solid rgba(183,28,28,0.15); 
}

.btn-ghost:hover { 
  background: rgba(183,28,28,0.05); 
  border-color: rgba(183,28,28,0.3); 
  transform: translateY(-1px); 
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative; 
  isolation: isolate; 
  color: #fff; 
  text-align: center;
  min-height: 72vh; 
  display: grid; 
  place-items: center; 
  overflow: clip;
  background: #111; 
  scroll-margin-top: 100px;
}

.hero::before {
  content: ""; 
  position: absolute; 
  inset: 0; 
  z-index: -2;
  background-image: url('../images/beni-background.jpeg');
  background-size: cover; 
  background-position: top;
  transform: scale(1.03);
}

.hero::after {
  content: ""; 
  position: absolute; 
  inset: 0; 
  z-index: -1;
  background: linear-gradient(140deg, rgba(183,28,28,.75), rgba(123,31,162,.65));
}

.hero-content { 
  padding: 48px 16px; 
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 { 
  margin: 0 0 10px; 
  font-size: clamp(28px, 6vw, 48px); 
  font-weight: 900; 
}

.hero p { 
  margin: 0 auto 20px; 
  max-width: 720px; 
  font-size: clamp(16px, 2.5vw, 20px); 
  opacity: .95; 
}

.hero-ctas { 
  display: flex; 
  gap: 20px; 
  justify-content: center; 
  flex-wrap: wrap; 
}

.hero-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-icon-circle:hover {
  transform: translateY(-3px) scale(1.05);
}

.hero-icon-circle svg {
  color: white;
  transition: all 0.3s ease;
}

.hero-icon-circle:hover svg {
  transform: scale(1.1);
}

.hero-image {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 300px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-profile {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.2);
}

/* ===== MAIN CONTENT ===== */
main {
  margin: 32px 0;
}

/* ===== SECTIONS ===== */
section { 
  margin: 32px 0; 
  scroll-margin-top: 100px; 
}

.card { 
  background: var(--card); 
  border: 1px solid #eee; 
  border-radius: 16px; 
  box-shadow: 0 8px 22px rgba(0,0,0,.06); 
  padding: 24px; 
}

h2.section-title { 
  margin: 0 0 16px; 
  font-size: 26px; 
  color: var(--primary); 
  scroll-margin-top: 100px; 
}

.grid { 
  display: grid; 
  gap: 16px; 
}

@media (min-width: 760px) and (max-width: 1024px) { 
  .grid-2 { 
    grid-template-columns: repeat(2, 1fr);
  } 
  .grid-3 { 
    grid-template-columns: repeat(2, 1fr);
  } 
}

@media (min-width: 1025px) { 
  .grid-2 { 
    grid-template-columns: repeat(2, 1fr);
  } 
  .grid-3 { 
    grid-template-columns: repeat(3, 1fr);
  } 
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.championship-photo {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  margin-bottom: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.championship-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

.image-caption {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
  background: rgba(183,28,28,.1);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(183,28,28,.2);
}

.band {
  background: #fff;
  border: 1px solid #eee; 
  border-radius: 16px; 
  padding: 18px 16px; 
  text-align: center;
}

/* ===== SERVICES SECTION ===== */
.service { 
  background: #fafafa; 
  border: 1px solid #eee; 
  border-radius: 14px; 
  padding: 16px; 
}

.service h3 { 
  margin: 0 0 8px; 
  font-size: 18px; 
  color: #111; 
}

.service p { 
  margin: 0; 
  color: var(--muted); 
}

/* ===== CONTACT SECTION ===== */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 32px 0;
}

.contact-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(183,28,28,0.25);
}

.contact-icon-circle:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(183,28,28,0.35);
}

.contact-icon-circle svg {
  color: white;
  transition: all 0.3s ease;
}

.contact-icon-circle:hover svg {
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer { 
  margin-top: 48px; 
  background: #111; 
  color: #ddd; 
  padding: 24px 16px; 
  text-align: center; 
}

footer a { 
  color: #fff; 
  text-decoration: underline; 
}

/* ===== MOBILE CALL BUTTON ===== */
.fab {
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  z-index: 60;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; 
  border-radius: 999px; 
  padding: 14px 20px; 
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(183,28,28,.4); 
  display: inline-flex; 
  gap: 8px; 
  align-items: center;
  font-size: 15px;
  transition: all 0.3s ease;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(183,28,28,.5);
}

@media (min-width: 820px) { 
  .fab { 
    display: none; 
  } 
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  /* Hide hero image on all iPad sizes */
  .hero-image {
    display: none;
  }
  
  .about-content {
    gap: 24px;
  }
  
  .championship-photo {
    max-width: 300px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-icons {
    gap: 28px;
  }
  
  .contact-icon-circle {
    width: 75px;
    height: 75px;
  }
  
  .contact-icon-circle svg {
    width: 30px;
    height: 30px;
  }
  
  .btn {
    padding: 14px 22px;
    font-size: 16px;
  }
  
  .nav-actions {
    gap: 16px;
  }
  
  /* Tablet-specific improvements */
  .section-title {
    font-size: 28px;
  }
  
  .service {
    padding: 20px;
  }
  
  .service h3 {
    font-size: 20px;
  }
  
  .card {
    padding: 28px;
  }
  
  .hero-ctas {
    gap: 16px;
  }
  
  .hero-icon-circle {
    width: 65px;
    height: 65px;
  }
  
  .hero-icon-circle svg {
    width: 28px;
    height: 28px;
  }
  
  .hero-icon-circle:hover {
    transform: translateY(-2px) scale(1.03);
  }
  
  .topbar-inner {
    height: 75px;
  }
  
  .brand {
    font-size: 22px;
  }
}

/* iPad Landscape Specific (Widthwise) - Desktop-like Experience */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .container {
    padding: 0 20px;
    max-width: 1200px;
  }
  
  /* Keep desktop hero design */
  .hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    text-align: center;
    min-height: 72vh;
    display: grid;
    place-items: center;
    overflow: clip;
    background: #111;
  }
  
  .hero-content {
    padding: 48px 16px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero h1 {
    margin: 0 0 10px;
    font-size: 48px;
    font-weight: 900;
    text-align: center;
  }
  
  .hero p {
    margin: 0 auto 20px;
    max-width: 720px;
    font-size: 20px;
    opacity: .95;
    text-align: center;
  }
  
  .hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .hero-icon-circle svg {
    width: 24px;
    height: 24px;
  }
  
  .hero-icon-circle:hover {
    transform: translateY(-2px) scale(1.02);
  }
  
  /* Hide hero image on iPad landscape */
  .hero-image {
    display: none;
  }
  
  /* Background image removed - keeping only gradient overlay */
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, rgba(183,28,28,.75), rgba(123,31,162,.65));
  }
  
  /* Desktop-like grid layouts */
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
    align-items: start;
  }
  
  .championship-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
    margin-bottom: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .service {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 16px;
  }
  
  .service h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #111;
  }
  
  .service p {
    margin: 0;
    color: var(--muted);
  }
  
  .contact-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 32px 0;
  }
  
  .contact-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(183,28,28,0.25);
  }
  
  .contact-icon-circle:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(183,28,28,0.35);
  }
  
  .contact-icon-circle svg {
    color: white;
    transition: all 0.3s ease;
  }
  
  .contact-icon-circle:hover svg {
    transform: scale(1.1);
  }
  
  /* Keep desktop button styles */
  .btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
  }
  
  .btn:active {
    transform: translateY(1px);
  }
  
  .btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(183,28,28,.25);
  }
  
  .btn-primary:hover {
    background: #9a1717;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(183,28,28,.35);
  }
  
  .btn-ghost {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(183,28,28,0.15);
  }
  
  .btn-ghost:hover {
    background: rgba(183,28,28,0.05);
    border-color: rgba(183,28,28,0.3);
    transform: translateY(-1px);
  }
  
  .btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  }
  
  .btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  
  /* Desktop-like navigation */
  .nav-actions {
    display: flex;
    gap: 12px;
  }
  
  .brand {
    font-weight: 800;
    letter-spacing: .3px;
    font-size: 20px;
  }
  
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }
  
  /* Background image removed - keeping only gradient overlay */
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, rgba(183,28,28,.75), rgba(123,31,162,.65));
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .topbar-inner {
    height: 60px;
  }
  
  .brand {
    font-size: 18px;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .hero-image {
    display: none;
  }
  
  /* Background image removed - keeping only gradient overlay */
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, rgba(183,28,28,.75), rgba(123,31,162,.65));
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-image {
    order: -1;
  }
  
  .championship-photo {
    max-width: 280px;
  }
  
  .contact-icons {
    gap: 24px;
    margin: 24px 0;
  }
  
  .contact-icon-circle {
    width: 70px;
    height: 70px;
  }
  
  .contact-icon-circle svg {
    width: 28px;
    height: 28px;
  }
  
  section { 
    scroll-margin-top: 80px; 
  }
  
  h2.section-title { 
    scroll-margin-top: 80px; 
  }
  
  .hero { 
    scroll-margin-top: 80px; 
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .topbar-inner {
    height: 56px;
  }
  
  .brand {
    font-size: 16px;
  }
  
  .nav-actions {
    gap: 6px;
  }
  
  .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* Background image removed - keeping only gradient overlay */
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, rgba(183,28,28,.75), rgba(123,31,162,.65));
  }
  
  .contact-icons {
    gap: 20px;
    margin: 20px 0;
  }
  
  .contact-icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .contact-icon-circle svg {
    width: 24px;
    height: 24px;
  }
  
  section { 
    scroll-margin-top: 70px; 
  }
  
  h2.section-title { 
    scroll-margin-top: 70px; 
  }
  
  .hero { 
    scroll-margin-top: 70px; 
  }
}

@media (max-width: 360px) {
  .nav-actions {
    flex-direction: column;
    gap: 4px;
  }
  
  .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  /* Background image removed - keeping only gradient overlay */
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, rgba(183,28,28,.75), rgba(123,31,162,.65));
  }
}
