/* ============================================
   YGTN Events PH - Styles
   Font Pairing: Fredoka One + Quicksand
   Color Palette: Warm pet-friendly tones
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #E8594F;
  --primary-dark: #C94038;
  --secondary: #F5A623;
  --secondary-dark: #D4891A;
  --accent: #4ECDC4;
  --accent-dark: #3BB5AD;
  --bg-cream: #FFF8F0;
  --bg-white: #FFFFFF;
  --bg-light: #FEF3E8;
  --text-dark: #2D2926;
  --text-medium: #5A524E;
  --text-light: #8A8280;
  --border: #EDE5DD;
  --shadow: rgba(45, 41, 38, 0.08);
  --shadow-lg: rgba(45, 41, 38, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-heading: 'Fredoka One', cursive;
  --font-body: 'Quicksand', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
  font-weight: 500;
  color: var(--text-medium);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility --- */
.section-padding {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-header .accent-line {
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 89, 79, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--text-medium);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(232, 89, 79, 0.08);
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-white);
    padding: 80px 32px 32px;
    box-shadow: -4px 0 30px var(--shadow-lg);
    transition: right 0.4s ease;
    gap: 4px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 1.05rem;
    border-radius: var(--radius);
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 100px 0 0;
  background: var(--bg-light);
}

.breadcrumb nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-medium);
  margin: 0 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 89, 79, 0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.hero-content h1 .highlight {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  max-height: 550px;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* ============================================
   HIGHLIGHT / FEATURE SECTION
   ============================================ */
.highlights {
  background: var(--bg-white);
}

.highlight-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.highlight-card:hover {
  background: var(--bg-white);
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-4px);
}

.highlight-card .card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.highlight-card h3 {
  margin-bottom: 10px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta-section .btn-secondary {
  background: var(--secondary);
}

.cta-section .btn-secondary:hover {
  background: #fff;
  color: var(--primary);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-story img {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px var(--shadow);
  object-fit: cover;
  width: 100%;
  max-height: 450px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.stat-item .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  display: block;
}

.stat-item .label {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.value-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-lg);
}

.service-card .service-icon {
  width: 100%;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
  text-align: center;
  font-size: 3rem;
}

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

.service-card .service-body h3 {
  margin-bottom: 12px;
}

.service-card .service-body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card .service-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-card .service-body ul li {
  padding: 6px 0;
  font-weight: 500;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.service-card .service-body ul li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

.service-card .price-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 41, 38, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-item .overlay span {
  color: #fff;
  font-size: 2rem;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: border-color var(--transition);
  background: var(--bg-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-card .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 700;
}

.contact-info-card p {
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: #fff;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
  box-shadow: 0 4px 20px var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-event {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 48px;
}

.portfolio-event .event-header {
  padding: 32px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
  border-bottom: 2px solid var(--border);
}

.portfolio-event .event-header h3 {
  margin-bottom: 8px;
}

.portfolio-event .event-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.portfolio-event .event-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px;
  padding: 4px;
}

.portfolio-event .event-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-event .event-images img:hover {
  transform: scale(1.03);
}

.portfolio-event .event-description {
  padding: 24px 32px 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

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

.footer-brand h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--secondary);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer .social-links a {
  background: rgba(255, 255, 255, 0.1);
}

.footer .social-links a:hover {
  background: var(--primary);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   RESPONSIVE EXTRAS
   ============================================ */
@media (max-width: 480px) {
  .section-padding {
    padding: 48px 0;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

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

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