/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
  --background: hsl(200, 25%, 10%);
  --foreground: hsl(0, 0%, 98%);
  
  --card: hsl(200, 20%, 15%);
  --card-foreground: hsl(0, 0%, 98%);
  
  --popover: hsl(200, 20%, 15%);
  --popover-foreground: hsl(0, 0%, 98%);
  
  --primary: hsl(168, 80%, 45%);
  --primary-foreground: hsl(200, 25%, 10%);
  
  --secondary: hsl(200, 15%, 20%);
  --secondary-foreground: hsl(0, 0%, 98%);
  
  --muted: hsl(200, 15%, 25%);
  --muted-foreground: hsl(200, 10%, 70%);
  
  --accent: hsl(168, 70%, 50%);
  --accent-foreground: hsl(200, 25%, 10%);
  
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(210, 40%, 98%);
  
  --border: hsl(200, 15%, 30%);
  --input: hsl(200, 15%, 25%);
  --ring: hsl(168, 80%, 45%);
  
  --radius: 0.5rem;
  
  --hero-overlay: hsl(200, 30%, 8%);
  --hero-text: hsl(0, 0%, 100%);
  --hero-text-muted: hsl(0, 0%, 85%);
}

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

*,
*::before,
*::after {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fade-in 1s ease-out forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 0.4s ease-out forwards;
}

.animate-bounce {
  animation: bounce 1.5s infinite;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 896px;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.font-semibold {
  font-weight: 600;
}

.border-top {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('src/assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: fade-in 1s ease-out forwards;
  z-index: -1;
}

.hero-title.animate-fade-in-up {
  animation-delay: 0.2s;
}

.hero-subtitle.animate-fade-in-up {
  animation-delay: 0.4s;
}

.hero-cta.animate-fade-in-up {
  animation-delay: 0.6s;
}

.hero-scroll-indicator.animate-fade-in-up {
  animation-delay: 0.8s;
}

.hero-header {
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 20;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero-header .container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: flex-start;
  height: 100%;
  overflow: hidden;
}

.logo-img {
  width: auto;
  height: 36px;
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: hsla(200, 30%, 8%, 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--hero-text);
  margin-top: 2rem;
}

.hero-subtitle {
  margin-top: 2.5rem;
  max-width: 42rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.21;
  font-family: 'Montserrat', sans-serif;
  color: hsla(0, 0%, 100%, 0.85);
}

.hero-cta {
  margin-top: 4rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.chevron-down {
  width: 96px;
  height: 96px;
  animation: bounce 2s ease-in-out infinite;
  transition: all 0.3s ease;
  display: block;
}

.chevron-down:hover {
  transform: scale(1.2) rotateX(360deg);
}

/* Mobile responsive size */


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-hero {
  background-color: var(--hero-text);
  color: var(--background);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-hero:hover {
  background-color: hsla(0, 0%, 100%, 0.9);
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-xl {
  height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1rem;
  border-radius: calc(var(--radius) - 2px);
}

.btn-large {
  height: auto;
  padding: 1.5rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 3rem;
}

.btn-secondary {
  background-color: var(--hero-text);
  color: var(--background);
}

.btn-secondary:hover {
  background-color: hsla(0, 0%, 100%, 0.9);
}

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

.btn-primary:hover {
  background-color: hsla(168, 80%, 45%, 0.9);
}

.btn-outline {
  border: 1px solid var(--input);
  background-color: var(--background);
  color: var(--muted-foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-ghost {
  background-color: transparent;
  color: var(--muted-foreground);
}

.btn-ghost:hover {
  background-color: var(--accent);
  color: var(--foreground);
}

.icon-arrow-left {
  margin-right: 0.5rem;
  width: 1rem;
  height: 1rem;
}

/* Programs Section */
.programs-section {
  background-color: var(--background);
  padding-top: 5rem;
  padding-bottom: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-hero {
  color: var(--hero-text);
  margin-bottom: 3rem;
}

.programs-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.program-card {
  position: relative;
  flex: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

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

.program-card:hover img {
  transform: scale(1.1);
}

.program-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.program-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
}



.programs-center {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.program-card-coming-soon {
  width: 100%;
}

@media (min-width: 768px) {
  .program-card-coming-soon {
    max-width: 50%;
  }
}

/* About Section */
.about-section {
  background-color: var(--background);
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.about-text {
  font-size: 1.125rem;
  color: var(--hero-text);
  line-height: 1.75;
}

/* Mobile: Center button in about section */
@media (max-width: 767px) {
  /* Logo size for mobile */
  .logo-img {
    width: auto;
    height: 36px;
    max-height: 36px;
    max-width: 120px;
  }
  
  /* Chevron size */
  .chevron-down {
    width: 72px;
    height: 72px;
  }
  
  /* About section centering */
  .about-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Choose Your Adventure button - smaller for mobile */
  .about-section .btn.btn-large {
    margin-top: 3rem;
    width: fit-content;
    font-size: 1.1rem !important; /* Smaller for small screens */
  }
  
  /* Hero CTA buttons - smaller for mobile */
  .hero-section .btn-hero,
  .hero-section .btn-xl {
    font-size: 1rem !important; /* Smaller for small screens */
    padding: 0 2rem !important;
  }
  
  /* Override any conflicting base button styles */
  .btn-hero,
  .btn-xl {
    font-size: 1rem !important;
  }

  /* Mobile: Hero title adjustments */
  .hero-title {
    padding-top: 2rem;
    line-height: 1.1;
  }

  /* Mobile: Hero subtitle adjustments */
  .hero-subtitle {
    line-height: 1.3;
  }
}

/* Footer */
.footer {
  background-color: var(--background);
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-copyright {
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.8);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
  animation: slide-up 0.4s ease-out forwards;
}

.cookie-banner-content {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: hsla(200, 20%, 15%, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.cookie-banner-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cookie-policy-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: text-decoration 0.3s;
}

.cookie-policy-link:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Larger buttons in cookie banner */
.cookie-banner-actions .btn {
  padding: 0.5rem 1rem !important; /* Reduced padding */
  font-size: 1rem !important; /* 16px font size */
  min-width: 100px; /* Minimum width for better appearance */
}

/* Cookie banner text - adjusted sizes */
.cookie-banner-title {
  font-size: 1.125rem !important; /* 18px for title */
}

.cookie-banner-description {
  font-size: 1rem !important; /* 16px for description */
}

.cookie-banner-actions .btn-outline {
  border-width: 2px !important; /* Thicker border for better visibility */
}

.cookie-banner-actions .btn-primary {
  font-weight: 600 !important; /* Bolder text for primary button */
}

/* Cookie Policy Page */
.cookie-policy-page {
  min-height: 100vh;
  background-color: var(--background);
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.back-button {
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
}

.cookie-policy-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.cookie-policy-date {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.cookie-policy-content {
  max-width: none;
}

.cookie-policy-content section {
  margin-bottom: 2rem;
}

.cookie-policy-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.cookie-policy-content h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.cookie-policy-content p {
  color: var(--foreground);
  line-height: 1.75;
}

.cookie-policy-content ul {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--foreground);
  margin-top: 0.5rem;
}

.cookie-policy-content ul li {
  margin-bottom: 0.5rem;
}

.cookie-table-wrapper {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
  overflow-x: auto;
}

.cookie-table-wrapper table {
  width: 100%;
  font-size: 0.875rem;
}

.cookie-table-wrapper thead tr {
  border-bottom: 1px solid var(--border);
}

.cookie-table-wrapper th {
  text-align: left;
  padding: 0.5rem;
  color: var(--foreground);
}

.cookie-table-wrapper td {
  padding: 0.5rem;
  color: var(--foreground);
}

.cookie-table-wrapper tbody tr {
  border-bottom: 1px solid var(--border);
}

.cookie-table-wrapper a {
  color: var(--primary);
  text-decoration: none;
}

.cookie-table-wrapper a:hover {
  text-decoration: underline;
}

.cookie-choices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-choice-card {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
}

.cookie-choice-card h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.cookie-choice-card p {
  font-size: 0.875rem;
  color: var(--foreground);
}

.contact-card {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
  margin-top: 1rem;
}

.contact-card p {
  color: var(--foreground);
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 768px) {
  /* Tablet: Medium font sizes for CTA buttons */
  .btn-hero,
  .btn-xl {
    font-size: 1.15rem !important; /* Medium size for tablets */
  }
  
  .btn-large {
    font-size: 1.25rem !important; /* Medium size for tablets */
  }
  
  .hero-header {
    top: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .logo-img {
    width: auto;
    height: 48px;
    max-height: 48px;
    max-width: 160px;
  }

  .hero-title {
    font-size: 4.5rem;
    margin-top: 0;
  }

  .hero-subtitle {
    margin-top: 4rem;
    font-size: 3rem;
  }

  .hero-cta {
    margin-top: 5rem;
  }

  .programs-section {
    padding-top: 14rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .programs-grid {
    flex-direction: row;
  }

  .program-title {
    font-size: 1.875rem;
  }

  .coming-soon {
    font-size: 1.25rem;
  }

  .about-section {
    padding-top: 14rem;
    padding-bottom: 14rem;
  }

  .section-title-hero {
    font-size: 2.25rem;
  }

  .about-text {
    font-size: 1.25rem;
  }

  .cookie-banner {
    padding: 1.5rem;
  }

  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
  }

  .cookie-policy-page {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .cookie-policy-content {
    font-size: 1.125rem;
  }

  .cookie-table-wrapper table {
    font-size: 1rem;
  }

  .cookie-choice-card p {
    font-size: 1rem;
  }

  .cookie-choices {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  /* Large desktop: Largest font sizes for CTA buttons */
  .btn-hero,
  .btn-xl {
    font-size: 1.3rem !important; /* Largest for big screens */
  }
  
  .btn-large {
    font-size: 1.5rem !important; /* Largest for big screens */
  }
  
  .hero-header {
    padding-left: 6rem;
    padding-right: 6rem;
  }

  .logo-img {
    width: auto;
    height: 48px;
    max-height: 48px;
    max-width: 160px;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 3.75rem;
  }

  .programs-section {
    padding-left: 6rem;
    padding-right: 6rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .program-title {
    font-size: 2.25rem;
  }

  .coming-soon {
    font-size: 1.5rem;
  }

  .section-title-hero {
    font-size: 3rem;
  }

  .about-text {
    font-size: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .hero-section,
  .cookie-banner,
  .footer {
    display: none;
  }

  .cookie-policy-page {
    padding: 0;
  }
}
