/*
Theme Name: Photobooth starter
Theme URI: https://example.com
Author: Developer
Author URI: https://example.com
Description: Custom WordPress theme - Photobooth/Event Photography business. Fully customizable via admin panel.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: photobooth
*/

/* ===== ROMANTIC & EVENT CELEBRATION COLOR SYSTEM ===== */
:root {
  --primary: #ff007f;
  --secondary: #3a0ca3;
  --accent: #ffb703;
  --rose: #ff75a0;
  --cyan: #00f5d4;
  --purple: #8338ec;
  --yellow: #ffee32;
  --dark: #181534;
  --light: #faf5ff;
  --gray: #64748b;
  --white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #ff007f 0%, #8338ec 50%, #00f5d4 100%);
  --gradient-wedding: linear-gradient(135deg, #ff75a0 0%, #ffb703 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(250,245,255,0.85));
  --gradient-stats: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,0,127,0.88), rgba(255,183,3,0.88));
  --gradient-accent: linear-gradient(135deg, #00f5d4 0%, #ffee32 100%);
  --gradient-warm: linear-gradient(135deg, #ff007f, #ffb703);

  --shadow-sm: 0 4px 14px rgba(255,0,127,0.05);
  --shadow-md: 0 10px 30px rgba(58,12,163,0.08);
  --shadow-lg: 0 20px 45px rgba(255,0,127,0.15);
  --shadow-glass: 0 12px 40px 0 rgba(131, 56, 236, 0.12);
  --shadow-rainbow: 0 15px 35px rgba(255, 0, 127, 0.25), 0 0 25px rgba(0, 245, 212, 0.2);
  --shadow-primary: 0 12px 35px rgba(255,0,127,0.35);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-pill: 50px;
  --glass-border: 1px solid rgba(255, 255, 255, 0.85);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #2b2d42;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

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

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-primary);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255,0,85,0.6);
}

/* ===== GRADIENT TEXT UTILITY ===== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  background: rgba(248, 250, 252, 0.95);
  color: #334155;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-social a {
  color: #64748b;
  margin-right: 14px;
  font-size: 15px;
  transition: var(--transition);
}

.header-social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.header-contact {
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-contact span {
  white-space: nowrap;
}

.header-contact i {
  margin-right: 4px;
  color: var(--primary);
  font-size: 12px;
}

.header-sep {
  color: #cbd5e1;
  margin: 0 8px;
  font-weight: 400;
}

.header-main {
  padding: 14px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo .logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo .custom-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255,0,127,0.2);
}

.site-logo .site-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo-link .custom-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-logo-link .site-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--secondary);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -10px;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 12px 0;
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--primary);
}

.main-nav li {
  position: relative;
}

.main-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li {
  display: block;
}

.main-nav .sub-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  text-transform: none;
  font-weight: 600;
}

.main-nav .sub-menu a:hover {
  background: var(--light);
  padding-left: 28px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--secondary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50px;
  height: 200%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(30deg);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn:hover::after {
  left: 130%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255,0,85,0.4);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--secondary);
  font-weight: 800;
  box-shadow: var(--shadow-cyan);
}

.btn-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,245,212,0.4);
}

/* ===== HERO SLIDER (GLASS CARD) ===== */
.hero-slider {
  margin-top: 105px;
  position: relative;
  overflow: hidden;
}

.hero-slider .slide {
  width: 100%;
  height: 650px;
  position: relative;
}

.hero-slider .slide img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 21, 52, 0.45) 0%, rgba(58, 12, 163, 0.55) 50%, rgba(255, 0, 127, 0.35) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  animation: heroSlideUp 0.8s ease forwards;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 4px 25px rgba(0,0,0,0.5), 0 0 15px rgba(255, 0, 127, 0.4);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-content .btn {
  padding: 16px 44px;
  font-size: 16px;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== FLOATING EVENT BADGES ===== */
.floating-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.event-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 0, 127, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  color: var(--secondary);
  box-shadow: 0 8px 20px rgba(255, 0, 127, 0.12);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.event-badge:nth-child(2) {
  animation-delay: -1.5s;
  border-color: rgba(0, 245, 212, 0.3);
}

.event-badge:nth-child(3) {
  animation-delay: -3s;
  border-color: rgba(255, 183, 3, 0.3);
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ===== CANVAS SPARKLE CONTAINER ===== */
#sparkleCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
}
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--white);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--primary);
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--white);
  width: 36px;
  border-radius: 6px;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  background: rgba(230,57,70,0.08);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: 36px;
  color: var(--secondary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ===== AMBIENT BLOBS & SECTION BG ===== */
.about-section,
.services-section,
.projects-section,
.stats-section,
.news-section,
.partners-section {
  position: relative;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  animation: floatBlob 12s ease-in-out infinite alternate;
}

.blob-cyan {
  width: 450px;
  height: 450px;
  background: var(--cyan);
  top: -100px;
  right: -100px;
}

.blob-pink {
  width: 500px;
  height: 500px;
  background: var(--primary);
  bottom: -150px;
  left: -100px;
  animation-delay: -6s;
}

.blob-purple {
  width: 400px;
  height: 400px;
  background: var(--purple);
  top: 20%;
  left: 30%;
  animation-delay: -3s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

.about-section {
  background: var(--bg-main);
  background-image: var(--gradient-light-mesh);
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(155,93,229,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-item {
  text-align: center;
  padding: 28px 14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.value-item:hover::before {
  transform: scaleX(1);
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.value-item:nth-child(1) i { color: var(--primary); }
.value-item:nth-child(2) i { color: var(--cyan); }
.value-item:nth-child(3) i { color: var(--purple); }
.value-item:nth-child(4) i { color: var(--yellow); }
.value-item:nth-child(5) i { color: var(--pink); }
.value-item:nth-child(6) i { color: var(--accent); }

.value-item i {
  font-size: 36px;
  margin-bottom: 14px;
  transition: var(--transition);
  display: inline-block;
}

.value-item:hover i {
  transform: scale(1.2) rotate(-5deg);
}

.value-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.value-item h4 {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 700;
}

.value-item p {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--white);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius);
}

.service-block:hover .service-image::after {
  opacity: 0.15;
}

.service-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: var(--transition);
}

.service-block:hover .service-image img {
  transform: scale(1.08);
}

.service-info {
  border-left: 4px solid transparent;
  border-image: var(--gradient-primary) 1;
  padding-left: 30px;
}

.service-info h3 {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.service-info p {
  color: #555;
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  background: var(--light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,16,85,0.85) 0%, rgba(255,0,85,0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.65;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h5 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
}

.project-overlay .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-overlay .tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--cyan);
  color: var(--dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.project-overlay .tag:nth-child(2) {
  background: var(--yellow);
}

.project-overlay .tag:nth-child(3) {
  background: var(--pink);
  color: var(--white);
}

/* ===== STATS SECTION (BRIGHT GLASS Redesign) ===== */
.stats-section {
  background: var(--bg-main);
  background-image: var(--gradient-light-mesh);
  color: var(--secondary);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 36px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
  border-right: none;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.95);
}

.stat-item i {
  font-size: 40px;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number {
  font-size: 52px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: #475569;
  margin-top: 8px;
  font-weight: 700;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  padding: 80px 0;
  background: var(--white);
}

.partners-carousel {
  display: flex;
  align-items: center;
  gap: 30px;
  overflow: hidden;
}

.partners-carousel img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: var(--transition);
}

.partners-carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.15);
}

.partner-placeholder {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--secondary);
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  white-space: nowrap;
  opacity: 0.6;
  transition: var(--transition);
}

.partner-placeholder:hover {
  opacity: 1;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

/* ===== NEWS SECTION ===== */
.news-section {
  background: var(--light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  z-index: 1;
}

.news-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: var(--shadow-primary);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-card-body {
  padding: 24px;
}

.news-card h5 {
  font-size: 17px;
  color: var(--secondary);
  margin-bottom: 10px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  font-size: 14px;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
}

.news-date {
  display: inline-block;
  font-size: 12px;
  color: var(--white);
  font-weight: 700;
  margin-top: 14px;
  background: var(--gradient-primary);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* ===== FOOTER (MODERN DEEP VIOLET GLASS) ===== */
.site-footer {
  background: #181534;
  background-image: radial-gradient(at 100% 0%, rgba(123,44,191,0.2) 0px, transparent 50%),
                    radial-gradient(at 0% 100%, rgba(255,0,85,0.15) 0px, transparent 50%);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-about p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.9;
  margin-bottom: 20px;
}

.footer-social a {
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  margin-right: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--cyan);
  transform: translateY(-3px);
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.7;
}

.footer-col ul li a:hover {
  color: var(--cyan);
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.15) rotate(-5deg);
}

.floating-btn.zalo { background: #0068ff; }
.floating-btn.messenger { background: linear-gradient(135deg, #0084ff, #9b5de5); }
.floating-btn.phone { background: linear-gradient(135deg, #25d366, #00f5d4); }
.floating-btn.back-top { background: var(--gradient-primary); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 30px;
  padding: 12px 20px;
  background: var(--light);
  border-radius: var(--radius-sm);
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

.breadcrumb .current {
  color: var(--secondary);
  font-weight: 700;
}

/* ===== SERVICE CARDS GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-purple);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

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

.service-card-body {
  padding: 24px;
}

.service-card h4 {
  font-size: 17px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
}

.service-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(155,93,229,0.1);
  color: var(--purple);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

/* ===== VIDEO GRID ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  transition: var(--transition);
}

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

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(230,57,70,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== PAGINATION ===== */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.nav-links a {
  background: var(--white);
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.nav-links a:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.nav-links .current {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.share-buttons span {
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.share-btn:hover {
  transform: scale(1.15) rotate(-5deg);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.zalo-share { background: #0068ff; }
.share-btn.copy-link { background: var(--gradient-primary); }

/* ===== CONTACT FORM ===== */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-message {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
  font-weight: 600;
}

.form-message.success {
  background: rgba(0,245,212,0.1);
  color: #0d7a5f;
  border: 1px solid rgba(0,245,212,0.3);
  display: block;
}

.form-message.error {
  background: rgba(230,57,70,0.1);
  color: #c1303b;
  border: 1px solid rgba(230,57,70,0.2);
  display: block;
}

.btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

.btn.loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== PULSE ANIMATION ===== */
.floating-btn.phone,
.floating-btn.zalo {
  animation: pulse-ring 2s ease infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.floating-btn.zalo {
  animation-name: pulse-ring-zalo;
}

@keyframes pulse-ring-zalo {
  0% { box-shadow: 0 0 0 0 rgba(0,104,255,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0,104,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,104,255,0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-content,
  .service-block {
    grid-template-columns: 1fr;
  }

  .service-info {
    border-left: none;
    border-top: 4px solid transparent;
    border-image: var(--gradient-primary) 1;
    padding-left: 0;
    padding-top: 24px;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item {
    border-right: none;
  }

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

  .service-detail {
    grid-template-columns: 1fr !important;
  }

  .hero-overlay h1 {
    font-size: 36px;
  }

  .hero-overlay p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: var(--transition);
    padding: 80px 30px;
    z-index: 1001;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 15px;
    border-top: none;
  }

  .hero-slider {
    margin-top: 70px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-content .btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  .floating-badges {
    gap: 6px;
    margin-bottom: 14px;
  }

  .event-badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .hero-slider .slide,
  .hero-slider .slide img {
    height: 480px;
  }

  .projects-grid,
  .news-grid,
  .services-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

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