/* Core Variables */


:root {
  /* Colors */
  --primary: #E3BE9E;
  --primary-dark: #C89F7C;
  --secondary: #C89F7C;
  --background: #FFFCF7;
  --text: #2C1810;
  --text-light: #845C44;
  --gradient-primary: linear-gradient(135deg, 
  rgba(227, 190, 158, 0.95) 0%, 
  rgba(200, 159, 124, 0.95) 100%);
}
  
  /* Typography */
  --h1: clamp(2.5rem, 5vw, 4rem);
  --h2: clamp(2rem, 4vw, 3rem);
  --h3: clamp(1.5rem, 3vw, 2rem);
  --body: clamp(1rem, 2vw, 1.125rem);
  
  /* Spacing */
  --section-spacing: clamp(4rem, 10vh, 8rem);
  --container-width: 1240px;
}

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

/* Alternative with slightly increased opacity for even more contrast */
.gradient-one {
  background: linear-gradient(180deg, rgba(227, 190, 158, 0.2) 0%, rgba(255, 253, 250, 0.2) 100%) !important;
}

.gradient-two {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.2) 0%, rgba(200, 159, 124, 0.2) 100%) !important;
}

.gradient-three {
  background: linear-gradient(180deg, rgba(200, 159, 124, 0.2) 0%, rgba(227, 190, 158, 0.2) 100%) !important;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
}



@media (min-width: 768px) {
  #support, #faq {
    max-width: 70vw;
    margin: auto;
  }
}

@media (min-width: 768px) {
  #blog-preview, #about {
    max-width: 80vw;
    margin: auto;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(200, 159, 124, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 159, 124, 0.3);
}

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

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

/* Sections */
.section {
  padding: var(--section-spacing) 0;
}

.section-light {
  background: var(--background);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

/* Cards */
.card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-soft {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.float {
  animation: float 3s ease-in-out infinite;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  :root {
      --section-spacing: clamp(3rem, 8vh, 6rem);
  }
  
  .container {
      padding: 0 1rem;
  }
}


/* YouTube Button Style */
.btn-youtube {
  /* Base styles */
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: white;
  border: none;
  /* Shadow matching your site's style but with YouTube red */
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.15);
  /* Inherit your transition */
  transition: all 0.3s ease;
}

.btn-youtube:hover {
  /* Enhanced shadow and slight lift on hover */
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.25);
  transform: translateY(-2px);
  color: white;
}

/* Optional: Add a subtle inner shadow on active state */
.btn-youtube:active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(255, 0, 0, 0.15);
}


/* Buy Me a Coffee Button Style */
.btn-coffee {
  /* Base styles with warm, inviting gradient using badge's yellow */
  background: linear-gradient(135deg, #ffc107 0%, #ffab00 100%);
  color: #2b1810; /* Dark warm brown for contrast and readability */
  border: none;
  /* Soft shadow with slight yellow tint */
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
  /* Inherit site's transition */
  transition: all 0.3s ease;
}

.btn-coffee:hover {
  /* Enhanced shadow and lift effect matching YouTube button */
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
  transform: translateY(-2px);
  color: #2b1810;
}

/* Optional: Add subtle inner shadow on active state */
.btn-coffee:active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(255, 193, 7, 0.2);
}

.youtube-facade {
  aspect-ratio: 16/9;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9; /* ensures stable layout */
  background: #000;
  border-radius: 1rem;
}

.youtube-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.youtube-facade .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.youtube-facade:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}
