/* ============================================================
   AQUARAMA.PH — styles.css
   Light theme · Premium Sportswear
   Fonts: Bebas Neue (display) + DM Sans (body) + Cormorant Garamond (accent italic)
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Light palette */
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --cream:      #f0ede6;
  --mist:       #f0f9ff;
  --light-gray: #e9e8e4;
  --mid-gray:   #b0aaa0;
  --text-body:  #3a3630;
  --text-muted: #7c7670;
  --ink:        #1a1714;

  /* Brand accents */
  --ocean:      #0369a1;   /* professional navy-blue */
  --wave:       #0ea5e9;   /* energetic blue */
  --deep-sea:   #0c4a6e;   /* dark professional blue */
  --sky:        #caf0f8;   /* very light blue fill */
  --coral:      #e76f51;   /* warm accent / CTA */
  --gold:       #e9b44c;   /* star / highlight */
  --sand:       #f4e4c1;   /* warm tint background */

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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


/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.07em;
  color: var(--ink);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-logo span { color: var(--ocean); }
.nav-logo:hover { color: var(--ocean); }

/* Paliitin ang .PH (unang span) para sa tech-modern look */
.nav-logo span:first-of-type {
  font-size: 0.65em;
  opacity: 0.8;
  vertical-align: top;
  display: inline-block;
  margin-top: 0.15rem;
}

/* Ayusin ang 'Sportswear' (pangalawang span) */
.nav-logo span + span {
  margin-left: 0.6rem;
  font-size: 0.85em;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.83rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover { color: var(--ocean); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--ocean);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  background: var(--wave);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem 5vw;
  z-index: 190;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer a {
  font-size: 1rem;
  color: var(--text-body);
  font-weight: 400;
  padding: 0.4rem 0;
  display: block;
}

.mobile-drawer a.drawer-cta {
  display: inline-block;
  background: var(--ocean);
  color: var(--white);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}


/* ── SECTION COMMONS ── */
section { padding: 7rem 0; }

.section-header { margin-bottom: 3.5rem; }

.section-label {
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.section-desc {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  font-weight: 300;
}


/* ── HERO ── */
#hero {
  min-height: 90vh;
  background: linear-gradient(rgba(248, 250, 252, 0.85), rgba(224, 242, 254, 0.85)), url('assets/cover.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 9rem 5vw 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(2, 132, 199, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.hero-circle.c1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  top: -200px; right: -150px;
  transition: transform 0.2s ease-out;
}

.hero-circle.c2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 70%);
  bottom: 0px; left: -100px;
  transition: transform 0.2s ease-out;
}

.hero-geo {
  position: absolute;
  bottom: 0; right: 0;
  width: 40vw; height: 40vw;
  max-width: 500px;
  border-top: 1.5px solid rgba(0,119,182,0.1);
  border-left: 1.5px solid rgba(0,119,182,0.1);
  border-radius: 50% 0 0 0;
  transform: translate(20%, 20%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ocean);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

h1.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero-title .line-top {
  display: block;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  color: var(--text-muted);
  opacity: 0.4;
}

.hero-title .line-main {
  display: block;
  font-size: clamp(5rem, 15vw, 11rem);
  color: var(--deep-sea);
  /* -webkit-text-stroke: 1.5px var(--ink); */
}

.hero-title .line-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 1.75rem auto 2.5rem;
  line-height: 1.75;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--ocean);
  color: var(--white);
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(0,119,182,0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--wave);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,119,182,0.3);
}

.btn-ghost {
  border: 1.5px solid var(--light-gray);
  color: var(--text-body);
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 400;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-ghost:hover {
  border-color: var(--ocean);
  color: var(--ocean);
  transform: translateY(-2px);
}

.hero-stats {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 5rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 2rem 1rem;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  color: var(--ocean);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.stat-item.visible .stat-num {
  animation: stat-pop-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stat-pop-in {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--light-gray);
  flex-shrink: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--mid-gray), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ── WHY US ── */
#why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
}

.why-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition);
}

.why-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--ocean);
}

.why-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.why-icon svg {
  width: 22px; height: 22px;
  stroke: var(--ocean);
  transition: stroke var(--transition);
}

.why-card:hover .why-icon {
  transform: scale(1.15) rotate(8deg);
  background: var(--ocean);
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.25);
}

.why-card:hover .why-icon svg {
  stroke: var(--white);
}

.why-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--deep-sea);
  line-height: 1;
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  letter-spacing: 0.04em;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}


/* ── FEATURED TEAMS ── */
#teams {
  background: var(--off-white);
  padding-bottom: 7rem;
}

.teams-marquee {
  overflow: hidden;
  margin-top: 3rem;
  position: relative;
}

.teams-marquee::before,
.teams-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.teams-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

.teams-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.teams-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding: 0 1rem;
  will-change: transform;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.team-card {
  flex: 0 0 340px;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity var(--transition), transform 0.5s ease;
}

.team-card:hover img {
  opacity: 0.88;
  transform: scale(1.04);
}

.team-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(26,23,20,0.75), transparent);
}

.team-card-info h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.team-card-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.15rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.teams-footer {
  text-align: center;
  margin-top: 2rem;
}

.view-all-link {
  color: var(--ocean);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 1rem;
  text-decoration: underline;
  font-weight: 400;
}

.all-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}


/* ── TESTIMONIALS ── */
#testimonials {
  background: linear-gradient(rgba(240, 237, 230, 0.85), rgba(240, 237, 230, 0.85)), url('assets/mayon2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  background: var(--white);
  border: 1px solid rgba(3, 105, 161, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(3, 105, 161, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testi-card:hover {
  transform: translateY(-5px);
  border-color: rgba(3, 105, 161, 0.4);
  box-shadow: 0 20px 40px rgba(3, 105, 161, 0.15);
}

.testi-stars {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.testi-author {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ocean);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ── RETAIL PRODUCTS ── */
#retail {
  background: var(--white);
}

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

.product-card {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 300px;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}

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

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

.product-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--coral);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-tag.tag-custom {
  background: var(--ocean);
}

.product-info {
  padding: 1.75rem;
}

.product-meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid-gray);
  margin-bottom: 0.5rem;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.product-info p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1;
}

.product-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0;
  display: block;
  line-height: 1.4;
}

.product-btn {
  display: inline-block;
  background: var(--ocean);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.product-btn:hover {
  background: var(--wave);
  transform: translateY(-1px);
}


/* ── QUOTE FORM ── */
#custom {
  background: var(--off-white);
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.quote-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 400px;
  margin-top: 1rem;
}

.quote-steps {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--ocean);
  min-width: 2.5rem;
  line-height: 1;
  opacity: 0.5;
}

.step-text h4 {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.step-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Shared form styles */
.quote-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  color: var(--text-body);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--mid-gray);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}

.field input.error,
.field textarea.error {
  border-color: #e03e2d;
}

/* Read-only fields styling to look non-interactive */
.field input[readonly] {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  cursor: not-allowed;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--ocean);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(0,119,182,0.2);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  background: var(--wave);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,119,182,0.28);
}

.btn-arrow {
  transition: transform var(--transition);
}

.form-submit:hover .btn-arrow {
  transform: translateX(3px);
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
}

.success-icon {
  width: 52px; height: 52px;
  background: var(--sky);
  color: var(--ocean);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.form-success h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-success p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Quote right column card */
.quote-right {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}


/* ── PAYMENT ── */
#payment {
  background: var(--white);
}

.payment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.payment-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.payment-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}

.payment-step:last-child { border-bottom: none; }

.payment-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--sky);
  line-height: 1;
  min-width: 3.5rem;
  transition: color var(--transition);
}

.payment-step:hover .payment-num { color: var(--wave); }

.payment-step-body h4 {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.payment-step-body p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.qr-frame {
  text-align: center;
  padding: 2.5rem;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-xl);
}

.qr-frame img {
  width: 220px; height: 220px;
  border-radius: var(--radius-md);
  border: 3px solid var(--sky);
  margin: 0 auto 1.25rem;
}

.qr-frame p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.qr-frame strong { color: var(--ocean); }

.qr-note {
  margin-top: 0.75rem;
  font-size: 0.78rem !important;
  color: var(--mid-gray) !important;
}

/* ── DELIVERY FORM STYLES ── */
.payment-right {
  position: relative;
  min-height: 480px;
}

.delivery-form-wrap {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.delivery-form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1rem;
}

.delivery-form-header h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.btn-back {
  background: none;
  border: none;
  color: var(--ocean);
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: opacity var(--transition);
}
.btn-back:hover { opacity: 0.7; text-decoration: underline; }

.delivery-form-wrap .form-success {
  border: none;
  padding: 1rem 0;
  background: transparent;
}

/* ── ORDER SUMMARY TABLE ── */
.order-summary-review {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--mist);
  border-radius: var(--radius-md);
  border: 1px solid rgba(3, 105, 161, 0.1);
}
.order-summary-review label {
  font-size: 0.73rem; 
  font-weight: 600; 
  text-transform: uppercase;
  color: var(--ocean); 
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.verified-badge {
  background: #10b981;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-download {
  background: transparent;
  border: 1px solid var(--ocean);
  color: var(--ocean);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 1rem;
  width: 100%;
  transition: all var(--transition);
}
.btn-download:hover {
  background: var(--ocean);
  color: var(--white);
}
.summary-table {
  width: 100%; border-collapse: collapse; font-size: 0.85rem;
}
.summary-table th {
  text-align: left; color: var(--text-muted); font-weight: 500;
  padding-bottom: 0.5rem; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.summary-table td { padding: 0.5rem 0; color: var(--text-body); }
.summary-table tr td:last-child { text-align: right; font-weight: 500; }
.summary-table tr th:last-child { text-align: right; }

/* ── RECEIPT PREVIEW ── */
.receipt-preview-box {
  margin-top: 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px dashed var(--ocean);
  background: var(--white);
  max-height: 200px;
}
.receipt-preview-box img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

/* ── CONTACT ── */
#contact {
  background: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 380px;
  margin-top: 1rem;
}

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

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

.contact-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: var(--sky);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 18px; height: 18px;
  stroke: var(--ocean);
}

.contact-item-text h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-gray);
  margin-bottom: 0.2rem;
}

.contact-item-text p {
  font-size: 0.92rem;
  color: var(--text-body);
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  color: var(--text-body);
  font-weight: 400;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  border-color: var(--ocean);
  color: var(--ocean);
  background: var(--mist);
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form .field textarea {
  min-height: 130px;
}


/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 5vw 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.07em;
  color: var(--white);
  display: block;
  margin-bottom: 0.85rem;
}

.footer-logo span { color: var(--wave); }

/* Paliitin ang .PH sa footer para sa tech-modern look */
.footer-logo span:first-of-type {
  font-size: 0.65em;
  opacity: 0.8;
  vertical-align: top;
  display: inline-block;
  margin-top: 0.15rem;
}

/* Ayusin ang 'Sportswear' sa footer para sa sub-brand look */
.footer-logo span + span {
  margin-left: 0.6rem;
  font-size: 0.85em;
  letter-spacing: 0.02em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 320px;
  font-weight: 300;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col h5 {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--wave); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-credit strong { color: rgba(255,255,255,0.4); }


/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RIPPLE EFFECT ── */
.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.7s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  from { transform: scale(0); opacity: 0.5; }
  to { transform: scale(4); opacity: 0; }
}

.btn-ghost .ripple,
.social-btn .ripple {
  background: rgba(3, 105, 161, 0.15);
}

/* ── FLOATING CART BUTTON ── */
.floating-cart {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 64px;
  height: 64px;
  background: var(--ocean);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), background var(--transition);
}
.floating-cart:hover {
  background: var(--wave);
  transform: scale(1.1);
}
.floating-cart svg { width: 26px; height: 26px; }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.75rem; font-weight: 600;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

/* ── CART ANIMATION ── */
@keyframes cart-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.cart-bounce {
  animation: cart-bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Force hidden attribute to work against high-specificity display rules */
[hidden] {
  display: none !important;
}

/* ── ORDER MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0; background: rgba(26,23,20,0.6);
  backdrop-filter: blur(4px);
  z-index: 1200; display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.modal-content {
  width: 100%; max-width: 700px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: var(--radius-lg); position: relative; padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.modal-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text-muted);
}
.modal-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.modal-img-wrap img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--light-gray); }
.modal-price { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--ocean); margin: 0.5rem 0 1.5rem; }
.selection-group { margin-bottom: 1.5rem; }
.selection-group label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); display: block; margin-bottom: 0.75rem; }
.color-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.color-chip { cursor: pointer; }
.color-chip input { display: none; }
.color-chip span {
  display: block; padding: 0.5rem 1rem; border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm); font-size: 0.85rem; transition: all var(--transition);
}
.color-chip input:checked + span { border-color: var(--ocean); background: var(--mist); color: var(--ocean); font-weight: 500; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--light-gray); border-radius: var(--radius-sm); width: max-content; }
.qty-stepper button { background: none; border: none; width: 40px; height: 40px; cursor: pointer; font-size: 1.2rem; }
.qty-stepper input { border: none; width: 50px; text-align: center; font-family: 'DM Sans'; font-weight: 500; outline: none; }
.w-full { width: 100%; text-align: center; margin-top: 1rem; }
.promo-hint { font-size: 0.75rem; color: var(--ocean); margin-top: 1rem; text-align: center; font-style: italic; }

/* ── CART DRAWER ── */
.cart-drawer {
  position: fixed; 
  top: 20px; 
  right: 20px; 
  bottom: 20px; 
  width: 320px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1100; 
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--light-gray); display: flex; justify-content: space-between; align-items: center; }
.cart-close {
  background: none; border: none; font-size: 1.8rem; line-height: 1;
  cursor: pointer; color: var(--text-muted); transition: color var(--transition);
}
.cart-close:hover { color: var(--ink); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-footer { padding: 1.5rem; background: transparent; border-top: 1px solid rgba(0,0,0,0.05); }
.cart-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center; }
.cart-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--light-gray); }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.cart-item-info p { font-size: 0.75rem; color: var(--text-muted); }
.cart-remove {
  background: none; border: none; font-size: 1.5rem; line-height: 1;
  cursor: pointer; color: var(--mid-gray); padding: 0.2rem;
  transition: color var(--transition);
}
.cart-remove:hover { color: #e03e2d; }
.cart-summary { margin-bottom: 1rem; }
.summary-line { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.5rem; }
.summary-line.discount { color: #e03e2d; font-weight: 500; }
.summary-line.total { font-weight: 600; font-size: 1.1rem; border-top: 1px solid var(--light-gray); padding-top: 0.75rem; margin-top: 0.75rem; }


/* ── TOAST NOTIFICATION ── */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.toast-notification {
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  margin-bottom: 10px;
  animation: toast-in-out 2.5s ease forwards;
  white-space: nowrap;
}
@keyframes toast-in-out {
  0% { opacity: 0; transform: translateY(-20px); }
  15% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .quote-layout,
  .payment-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  #navbar { padding: 0.9rem 5vw; }
  .nav-links { display: none; }
  .nav-cta { display: none; } /* Tinago ang desktop CTA para lumuwag ang header */
  .nav-logo { font-size: 1.45rem; }
  .nav-hamburger { display: flex; }
  .mobile-drawer { display: block; }

  /* Optimize Glassmorphism for Mobile Performance */
  #navbar, .cart-drawer, .modal-content, .quote-right, .contact-form-wrap {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.9); /* Mas opaque na background para mas madali i-render */
  }

  .floating-cart {
    backdrop-filter: none; /* Disable blur on small floating elements */
  }

  /* Convert Marquee to Static Gallery Grid for Performance */
  .teams-marquee::before,
  .teams-marquee::after { 
    display: none; 
  }

  .teams-track { 
    animation: none !important; 
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns gallery */
    gap: 1rem;
    width: 100% !important;
    padding: 0 5vw;
    transform: none !important;
  }

  .team-card {
    flex: none;
    width: 100%;
    height: 220px; /* Mas compact na height para sa grid */
  }

  /* Itago ang mga duplicate cards na ginamit lang para sa loop */
  .team-card[aria-hidden="true"] { display: none; }

  .view-all-link { display: none; } /* Hindi na kailangan dahil grid na ang default */

  section { padding: 5rem 5vw; }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat-divider { display: none; }
  .stat-item { flex: 0 0 50%; }

  .modal-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
    max-height: 70vh; 
    overflow-y: auto; 
    padding-right: 5px;
  }
  .modal-content { padding: 2rem 1.5rem 1.5rem; margin: 1rem; width: calc(100% - 2rem); }
  .modal-img-wrap img { max-height: 200px; object-fit: contain; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }

  .product-footer { flex-direction: column; align-items: flex-start; }
  .product-btn { width: 100%; text-align: center; }

  .all-teams-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns sa mobile */
  }

  .teams-track {
    grid-template-columns: 1fr; /* 1 column na lang sa sobrang liliit na screen */
  }

  .cart-drawer { 
    top: 0; 
    right: 0; 
    bottom: 0; 
    width: 100%; 
    border-radius: 0; 
  }

  .floating-cart {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }

  .section-title { font-size: 2.5rem; }
  .hero-title .line-main { font-size: 4.5rem; }
  .nav-logo { font-size: 1.3rem; }
  .hero-stats { margin-top: 3rem; }

  .why-grid { grid-template-columns: 1fr; }
}
