/*********************
* style.css
* Design System: Neumorphism + Biomorphism
* Color Scheme: Triad
* Fonts: Poppins (headings), Work Sans (text)
* Animations: Hand-drawn feel
*********************/

/* CSS Variables */
:root {
  /* Core Colors (Triadic) */
  --color-primary: #ff7f50;      /* Coral */
  --color-secondary: #5f9ea0;    /* CadetBlue */
  --color-tertiary: #9370db;     /* MediumPurple */

  /* Neumorphic Surfaces */
  --color-surface: #f1f3f6;
  --color-shadow-light: rgba(255,255,255,0.7);
  --color-shadow-dark: rgba(0,0,0,0.1);
  --color-text-main: #333333;
  --color-text-light: #ffffff;
  --color-dark-overlay: rgba(0,0,0,0.5);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff7f50, #ffae6d);
  --gradient-secondary: linear-gradient(135deg,#5f9ea0, #8ccccc);
  --gradient-tertiary: linear-gradient(135deg, #9370db, #cbaef5);

  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-surface);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--color-tertiary);
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #222222;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  margin-bottom: 0.5em;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 2em;
}

/* Layout Utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.is-two-thirds {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

/* Navigation */
.main-header {
  background-color: var(--color-surface);
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Burger */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}
#menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  gap: 1em;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  color: var(--color-text-main);
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--color-surface);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 1em 0;
  }
  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  color: var(--color-text-light);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 5em 0 6em;
}
.hero-content {
  text-align: center;
}
.hero .title {
  font-size: 2.8rem;
}
.hero .subtitle {
  font-size: 1.25rem;
  margin: 1rem 0;
}
.cta-button {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75em 1.5em;
  color: white;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 4px 4px 10px var(--color-shadow-dark), -4px -4px 10px var(--color-shadow-light);
  transition: transform 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-3px);
}

/* Sections */
.section {
  padding: 4em 1em;
}
.light-bg {
  background-color: #ffffff;
}

/* Feature Cards, Team, Press, Testimonials, etc */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
}

/* Universal Card Component */
.card {
  background: var(--color-surface);
  box-shadow: 6px 6px 16px var(--color-shadow-dark), -6px -6px 16px var(--color-shadow-light);
  border-radius: 20px;
  padding: 1.5em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-image img {
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}
.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
input[type="text"],
input[type="email"],
textarea {
  border: none;
  padding: 0.75em 1em;
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: inset 4px 4px 10px var(--color-shadow-dark),
              inset -4px -4px 10px var(--color-shadow-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-tertiary);
}
textarea {
  min-height: 120px;
}

/* Global Button Styles */
.btn,
button,
input[type="submit"] {
  background: var(--gradient-secondary);
  color: white;
  border: none;
  padding: 0.75em 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 4px 4px 10px var(--color-shadow-dark),
              -4px -4px 10px var(--color-shadow-light);
  transition: background 0.4s ease, transform 0.3s ease;
}
.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--color-surface);
  padding: 3em 0;
  text-align: center;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}
.footer nav {
  margin-top: 1em;
}
.footer a {
  text-decoration: none;
  color: var(--color-primary);
  margin: 0 0.5em;
  font-weight: 500;
}
.footer .social-links a {
  color: var(--color-secondary);
  font-weight: bold;
  margin: 0 0.5em;
}

/* Read More Links */
.read-more {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}
.read-more:hover {
  color: var(--color-tertiary);
}

/* Helper for Glassmorphism Effect */
.glass {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1em;
}

/* Pages with Padding */
.terms-page, .privacy-page {
  padding-top: 100px;
}

/* Success Page Styling */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.success-page h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
}

/* Parallax Effect */
[data-bg-parallax] {
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Animation: "Drawn" Style */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    stroke-dashoffset: 100;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    stroke-dashoffset: 0;
  }
}
[data-animate] {
  animation: fadeInUp 1s ease-out both;
  animation-delay: 0.2s;
}

/* Responsive Typography */
@media(max-width: 768px){
  h1 {
    font-size: 2rem;
  }
  .cta-button {
    font-size: 1rem;
  }
}

/* Animate on Scroll Placeholder */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}
[data-aos="fade-up"] {
  transform: translateY(40px);
}
[data-aos="fade-down"] {
  transform: translateY(-40px);
}
[data-aos="fade-left"] {
  transform: translateX(-40px);
}
[data-aos="fade-right"] {
  transform: translateX(40px);
}
[data-aos="zoom-in"] {
  transform: scale(0.9);
}
[data-aos="zoom-out"] {
  transform: scale(1.1);
}
[data-aos="flip-up"] {
  transform: rotateX(90deg);
}

/* CookiePopup basic style (if needed inline override will replace) */
#cookie-popup {
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  border-top: 2px solid var(--color-primary);
}

header ul{
  flex-wrap: wrap;
}