/*
 Theme Name:   Flatsome Child - Gia Sư Phương Ngọc
 Theme URI:    https://giasuphuongngoc.com
 Description:  Flatsome child theme - Trung Tâm Gia Sư Phương Ngọc, Đà Nẵng
 Author:       giasuphuongngoc.com
 Template:     flatsome
 Version:      1.0.0
 Text Domain:  flatsome-child-gspn
*/

:root {
  --gspn-primary: #008080;       /* teal - main color gốc */
  --gspn-primary-dark: #005f5f;
  --gspn-gold: #daa520;          /* golden - accent */
  --gspn-orange: #ff8c00;        /* orange - highlights */
  --gspn-salmon: #ffa07a;        /* light salmon - CTA */
  --gspn-dark: #333333;
  --gspn-text: #555;
  --gspn-light: #f5f8fa;
  --gspn-white: #ffffff;
  --gspn-radius: 8px;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap&subset=vietnamese');

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--gspn-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: var(--gspn-dark);
}

/* ===== HEADER ===== */
.header-main { background: var(--gspn-white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.logo img { max-height: 55px; }

.header-top {
  background: linear-gradient(150deg, var(--gspn-primary), var(--gspn-primary-dark));
  color: var(--gspn-white);
  font-size: 13px;
}
.header-top a { color: var(--gspn-white) !important; }

.nav > li > a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}
.nav > li > a:hover,
.nav > li.active > a { color: var(--gspn-gold) !important; }

/* ===== HERO / BANNER ===== */
.gspn-hero {
  position: relative;
  text-align: center;
  color: var(--gspn-white);
}
.gspn-hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,128,128,0.4);
}
.gspn-hero h1 {
  font-size: 36px;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  color: var(--gspn-white);
}
.gspn-hero h2 {
  font-size: 22px;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  color: var(--gspn-gold);
}

/* ===== SECTION TITLES ===== */
.gspn-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--gspn-primary);
  text-align: center;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 35px;
}
.gspn-section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--gspn-gold);
}

/* ===== ABOUT SECTION ===== */
.gspn-about {
  background: var(--gspn-light);
  padding: 50px 0;
}
.gspn-about .highlight { color: var(--gspn-gold); font-weight: 700; }
.gspn-about .content-text { color: var(--gspn-primary); font-size: 15px; line-height: 1.8; }

/* ===== SERVICES ===== */
.gspn-service-item {
  background: var(--gspn-white);
  border-radius: var(--gspn-radius);
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}
.gspn-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.gspn-service-item i {
  font-size: 40px;
  color: var(--gspn-primary);
  margin-bottom: 15px;
}
.gspn-service-item h4 {
  color: var(--gspn-primary);
  font-size: 16px;
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.gspn-testimonial {
  background: linear-gradient(135deg, var(--gspn-primary), var(--gspn-primary-dark));
  padding: 50px 0;
  color: var(--gspn-white);
}
.gspn-testimonial .gspn-section-title { color: var(--gspn-white); }
.gspn-testimonial .gspn-section-title::after { background: var(--gspn-gold); }

.gspn-testimonial-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--gspn-radius);
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
}
.gspn-testimonial-item img {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gspn-gold);
  object-fit: cover;
  margin-bottom: 12px;
}
.gspn-testimonial-item .name {
  font-weight: 700;
  color: var(--gspn-gold);
  font-size: 15px;
}
.gspn-testimonial-item .quote {
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== TEAM (Gia sư) ===== */
.gspn-team-member {
  text-align: center;
  margin-bottom: 25px;
}
.gspn-team-member img {
  width: 100%;
  max-width: 200px;
  height: 230px;
  object-fit: cover;
  border-radius: var(--gspn-radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.gspn-team-member img:hover { transform: scale(1.05); }
.gspn-team-member .name {
  margin-top: 12px;
  font-weight: 700;
  color: var(--gspn-primary);
  font-size: 15px;
}

/* ===== PROGRESS BAR ===== */
.gspn-progress { margin-bottom: 20px; }
.gspn-progress h3 { font-size: 15px; margin-bottom: 8px; color: var(--gspn-white); }
.gspn-progress .bar {
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
}
.gspn-progress .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gspn-gold), var(--gspn-orange));
  border-radius: 10px;
  text-align: right;
  padding-right: 8px;
  color: white;
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
}

/* ===== CTA SECTION ===== */
.gspn-cta {
  background: linear-gradient(135deg, var(--gspn-gold), var(--gspn-orange));
  text-align: center;
  padding: 40px 0;
}
.gspn-cta h2 { color: var(--gspn-white); text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
.gspn-cta .phone {
  font-size: 32px;
  font-weight: 800;
  color: var(--gspn-white);
}

/* ===== BUTTONS ===== */
.gspn-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gspn-primary);
  color: var(--gspn-white);
  text-decoration: none;
  border-radius: var(--gspn-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}
.gspn-btn:hover { background: var(--gspn-primary-dark); color: var(--gspn-white); }
.gspn-btn-gold {
  background: var(--gspn-gold);
}
.gspn-btn-gold:hover { background: #c49516; color: var(--gspn-white); }

/* ===== FOOTER ===== */
.footer-1 { background: var(--gspn-dark); }
.footer-1 .footer-title { color: var(--gspn-white); font-weight: 700; }

/* ===== FLOATING CTA ===== */
.gspn-float-cta {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.gspn-float-cta a {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 22px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  text-decoration: none;
}
.gspn-float-cta a:hover { transform: scale(1.1); }
.gspn-float-cta .cta-phone { background: linear-gradient(135deg, #e8434c, #d61114); }
.gspn-float-cta .cta-fb { background: linear-gradient(135deg, #4267B2, #2c5aa0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .gspn-hero h1 { font-size: 24px; }
  .gspn-hero h2 { font-size: 16px; }
  .gspn-section-title { font-size: 20px; }
  .gspn-team-member img { height: 180px; }
  .gspn-cta .phone { font-size: 24px; }
}
