/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Dark mode */
html.dark-mode body {
  background: transparent;   
  background-image: none;    
  color: var(--color-text);
  position: relative;
  z-index: 0;
}

html.dark-mode body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("assets/images/dark-mode.jpg") center/cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* Light mode */
body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: 1.6;
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: background 0.3s, color 0.3s;
  -ms-overflow-style: none;
  overflow-y: scroll;
  background-image: url("assets/images/animated-shapes.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

body::-webkit-scrollbar {
  display: none;
}

/* Page transition */
body.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.fade-in {
  opacity: 1;
  transition: opacity 0.4s ease;
}

body, header, nav, .mobile-nav {
  transition: background 0.3s ease, color 0.3s ease;
}

/* Main content styling */
.main-content {
  padding: 0px 20px;
}

.spacer {
  height: 2000px;
}

/* =========================
   THEME TOGGLE BUTTON
========================= */
.theme-toggle {
  position: relative;
  background: rgba(255, 255, 255, 0.15); 
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);

  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    6px 6px 12px rgba(0, 0, 0, 0.15), 
    -6px -6px 12px rgba(255, 255, 255, 0.25); 

  transition: all 0.3s ease;
}

.theme-toggle:hover {
  box-shadow: 
    2px 2px 6px rgba(0, 0, 0, 0.2),
    -2px -2px 6px rgba(255, 255, 255, 0.3);
}

.theme-toggle:active {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2),
              inset -4px -4px 8px rgba(255, 255, 255, 0.2);
}

.theme-toggle img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative; 
}

.theme-toggle:hover img {
  transform: scale(1.1);
}


/* =========================
   HEADER
========================= */

.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 3000;
  background: var(--color-bg); 
  padding-top: 20px; 
}

header {
  position: sticky;
  top: 20px;
  width: calc(100% - 40px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.507); 
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  overflow: hidden; 
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  height: 70px;
  z-index: 3000;
  transition: all 0.3s ease;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit; 
  z-index: -1; 
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  order: 2;
}


/* Heart popup */
.logo-heart {
  position: absolute;
  top: -10px; 
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

nav {
  display: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--font-size-lg);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--color-primary);
}


/* =========================
   BURGER MENU
========================= */
.burger {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  order: 3;
}

.burger span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

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

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}


/* =========================
   MOBILE NAVIGATION
========================= */
.mobile-nav {
  position: fixed;
  top: 30px;
  right: 0;
  height: 100vh;
  width: 260px;
  background: var(--color-card-bg);
  box-shadow: var(--shadow-medium);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav ul li {
  margin: 0.5rem 1.25rem;
}

nav ul li a,
.mobile-nav ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--font-size-lg);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

nav ul li a::after,
.mobile-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav ul li a:hover,
.mobile-nav ul li a:hover {
  color: var(--color-primary);
}

nav ul li a:hover::after,
.mobile-nav ul li a:hover::after {
  width: 100%;
}


/* =========================
   FLEX UTILITIES
========================= */
.left-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


/* =========================
   DESKTOP STYLES
========================= */
@media (min-width: 768px) {
  .burger,
  .mobile-nav {
    display: none;
  }

  nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  header {
    justify-content: flex-start;
    gap: var(--space-lg);
  }

  .theme-toggle {
    order: 2;
    margin-left: 0;
  }

  .logo {
    order: 0;
  }
}


/* =========================
   MOBILE STYLES
========================= */
@media (max-width: 767px) {
  header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: var(--space-md);
  }

  .theme-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo {
    order: 1;
    margin-left: 60px;
  }

  nav {
    display: none;
  }

  .burger {
    display: block;
    margin-left: auto;
  }
}


/* =========================
   Horizontal Line
========================= */
.glow-hr {
  height: 2px;
  background-color: var(--color-primary-light);
  border-radius: 3px;
  margin: 3rem 0;
  transition: all 0.3s ease;
  box-shadow: none; 
}

.dark-mode .glow-hr {
  background-color: #c2dbee;
  box-shadow: 0 0 8px var(--color-primary);
}

section {
  padding: 70px 20px; 
}


/* ======================================================
   HERO SECTION
   Layout, Typography, and Styling for Hero Section
====================================================== */

/* Hero container */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  padding: 60px 40px;
  color: var(--color-text);
  position: relative; 
  z-index: 1;         
}

.hero-section > * {
  flex: 1 1 50%;     
  max-width: 600px;   
  min-width: 0;        
}

.hero-content {
  flex: 1 1 50%;         
  max-width: 600px;     
  text-align: left;
  padding-right: 40px;   
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

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

.hero-section p {
  font-size: 1.27rem;
  margin-bottom: var(--space-lg);
  line-height: 1.6;

  font-weight: 500;
}

/* ======================================================
   HERO BUTTONS
   Primary + Secondary Call-To-Action
====================================================== */

/* Button container */
.hero-buttons {
  display: flex;
  gap: 1rem;         
  flex-wrap: wrap;   
  margin-top: 1.5rem;
}

/* Base button style */
.btn {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.75em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* Primary button */
.btn.primary {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--border2);
}
.btn.primary:hover {
  background: var(--color-primary-light);
  color: var(--color-text);
}

/* Secondary button */
.btn.secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px dashed var(--color-primary);
}
.btn.secondary:hover {
  background: var(--color-primary-light);
  color: var(--color-text);
}

/* Hero Social Icons */
.hero-socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-card-bg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-socials a:hover {
  transform: translateY(-4px);
}

.hero-socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Center them on mobile */
@media (max-width: 767px) {
  .hero-socials {
    justify-content: center;
  }
}

/* ======================================================
   HERO IMAGE
====================================================== */
/* HERO IMAGE */
.hero-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 40px; 
}

.hero-image .image-wrapper {
  position: relative;
  border-radius: 50%;
  background: var(--image-bg, transparent);
  padding: 15px;
  box-shadow: var(--shadow-soft);

  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.hero-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  object-fit: contain;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-image img {
    width: 280px;
    height: 280px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-image img {
    width: 380px;
    height: 380px;
  }
}


/* ======================================================
   WAVE TEXT ANIMATION
   Used for fun interactive headings
====================================================== */

.wave-text {
  white-space: nowrap;
  display: inline-block;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.wave-text span {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Animate each letter on hover */
.wave-text:hover span {
  animation: wave 0.9s ease-in-out;
}

.wave-text:hover span:nth-child(1) { animation-delay: 0s; }
.wave-text:hover span:nth-child(2) { animation-delay: 0.05s; }
.wave-text:hover span:nth-child(3) { animation-delay: 0.1s; }
.wave-text:hover span:nth-child(4) { animation-delay: 0.15s; }
.wave-text:hover span:nth-child(5) { animation-delay: 0.2s; }
.wave-text:hover span:nth-child(6) { animation-delay: 0.25s; }
.wave-text:hover span:nth-child(7) { animation-delay: 0.3s; }
.wave-text:hover span:nth-child(8) { animation-delay: 0.35s; }
.wave-text:hover span:nth-child(9) { animation-delay: 0.4s; }
.wave-text:hover span:nth-child(10) { animation-delay: 0.45s; }
.wave-text:hover span:nth-child(11) { animation-delay: 0.5s; }
.wave-text:hover span:nth-child(12) { animation-delay: 0.55s; }
.wave-text:hover span:nth-child(13) { animation-delay: 0.6s; }
.wave-text:hover span:nth-child(14) { animation-delay: 0.65s; }
.wave-text:hover span:nth-child(15) { animation-delay: 0.7s; }
.wave-text:hover span:nth-child(16) { animation-delay: 0.75s; }
.wave-text:hover span:nth-child(17) { animation-delay: 0.8s; }
.wave-text:hover span:nth-child(18) { animation-delay: 0.85s; }
.wave-text:hover span:nth-child(19) { animation-delay: 0.9s; }

/* Wave keyframes */
@keyframes wave {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-12px) rotate(6deg); }
  60%  { transform: translateY(6px) rotate(-4deg); }
  100% { transform: translateY(0); }
}

/* ======================================================
   RESPONSIVE HERO
====================================================== */

/* Mobile (portrait phones) */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;     
    justify-content: center;  
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Small screens / phones */
@media (max-width: 767px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

    .hero-section > * {
    min-width: 0; 
    max-width: 100%; 
  }

  .hero-image .image-wrapper {
    margin: 0 auto; 
  }

  .hero-image {
    order: -1;  
    padding-left: 0; 
    justify-content: center;
    margin-bottom: 2rem;  
  }

  .hero-content {
    text-align: center;
    padding-right: 0;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

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

/* Tablet & up (>=768px) */
@media (min-width: 768px) {
  .hero-section {
    flex-direction: row;  
    text-align: left;
    padding: 60px 40px;
  }

  .hero-content {
    order: 1;   
    text-align: left;
    padding-right: 40px;
  }

  .hero-image {
    order: 2;   
    margin-bottom: 0;
  }
}

.hero-section > * {
  flex: 1 1 0;        
  min-width: 360px;   
  max-width: 600px; 
}


/* ======================================================
   FLOATING FLOWERS EFFECT
   Animates flowers in random directions and fades them out
====================================================== */

/* FLOWER CONTAINER */
.flower-container {
  position: fixed;      
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  overflow: hidden;     
  z-index: 9999;     
}

.flower {
  position: absolute;
  will-change: transform, opacity;
  pointer-events: none;
  opacity: 1;
}


/* ========== Contact Section ========== */
.contact-section {
  background: url("assets/images/wave.svg") center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 3rem;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

/* Illustration */
.contact-illustration {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-illustration img {
  max-width: 100%;
  width: 380px;
  height: auto;
  object-fit: contain;
}

/* Contact Form */
.contact-form {
  flex: 1 1 350px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.9); 
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(6px); 
  backdrop-filter: blur(6px);
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.contact-form button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  align-self: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--color-primary-light);
  color: var(--color-text);
}

/* Responsive */
@media (max-width: 767px) {
  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-form {
    order: 1;

    width: 100%;        
    max-width: 95%;    
    margin: 0 auto;    
    padding: 1.5rem;   
  }

  .contact-illustration {
    order: 2;
  }
}


/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(145deg, #fffdfa, #f9f9f9);
  padding: 70px 25px 25px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;  
  align-items: center;     
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-brand .brand-media img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.footer-brand .brand-text .logo {
  font-size: 2rem;          
  font-weight: 700;
  color: var(--color-text-light);
}

@media (max-width: 900px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   
    text-align: left;
    gap: 1.5rem;             
  }

  .footer-brand {
    align-items: flex-start;
    text-align: left;
  }

  .footer-brand .brand-media img {
    margin: 0; 
  }

  .footer-brand .brand-text .logo {
    margin-top: 0.5rem;
  }

  .footer-links,
  .footer-social {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-links ul,
  .footer-social ul {
    width: 100%;
  }

  .footer-bottom {
    text-align: left;
    margin-top: 1rem;
  }
}

@media (max-width: 900px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;   
    align-items: center;  
    text-align: center;    
    gap: 0.5rem;             
  }

  .footer-brand .brand-media img {
    margin: 0 auto; 
    display: block;
  }

  .footer-brand .brand-text .logo {
    margin: 0 auto; 
  }

  /* Quicklinks and Social left */
  .footer-links,
  .footer-social {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-bottom {
    text-align: left;
    margin-top: 1rem;
  }
}


/* Links & Social */
.footer-links h4,
.footer-social h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-social li {
  margin-bottom: 0.6rem;
}

.footer-links a,
.footer-social a {
  color: var(--color-text-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.footer-social a img {
  width: 20px;          
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 50px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: left;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}



/* ☁️🌱 CHA 🌱☁️ */