/* 
  Louter Leren - Premium Tutoring Website
  Design System & Core Styles
*/

:root {
  /* Color Palette */
  --primary-color: #1A2332; /* Deep Dark Blue */
  --secondary-color: #E5D5C0; /* Soft Beige */
  --accent-color: #C5B358; /* Muted Gold */
  --gold: #C9B99A; /* Soft Decorative Gold */
  --bg-color: #F9F7F2; /* Warm White */
  --text-color: #2D2D2D;
  --text-muted: #666666;
  --white: #FFFFFF;
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 120px 20px;
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-padding);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(249, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 35, 50, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
}

.logo img {
  height: 80px; /* Reduced from 100px */
  width: auto;
  display: block;
}

nav {
  /* Removed fixed width to allow natural alignment to the right edge */
  border-bottom: 1px solid rgba(201, 185, 154, 0.15); /* Fixed subtle gold line only for the nav */
  padding-bottom: 10px;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 50px;
}

nav ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.1; /* Always visible but very faint */
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
  z-index: 1;
}

nav ul li a:hover::after {
  width: 100%;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center; /* Centers the whole inner content on the screen */
  padding-top: 80px; /* Space for the header */
  background: #FFFFFF; /* Base is now white to contrast with the side bars */
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to bottom, #FFFFFF 0%, var(--bg-color) 100%);
  z-index: 1;
  opacity: 0.6; /* Soft, chique appearance */
}

.hero::before {
  left: 0;
}

.hero::after {
  right: 0;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Aligns top of H1 with top of the Circle */
  gap: 80px;
  width: 100%;
  margin-top: 20px; /* Shifting down for better visual position */
  padding-bottom: 20px; /* Reduced space at the bottom */
}

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

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 2.5rem;
  margin-top: 0; /* Ensures top alignment with circle */
  margin-bottom: 40px; 
  max-width: 700px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px; /* Increased from 500px */
}

.hero-image {
  flex-shrink: 0;
  width: 320px; /* Smaller size as requested */
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 0; /* Removed padding */
  background: var(--primary-color);
  box-shadow: 0 20px 40px rgba(26, 35, 50, 0.1);
  overflow: hidden;
}

/* Removed organic background shape for cleaner circular look */

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%; /* Image itself also circular */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  margin-left: 20px;
}

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

/* Approach Section */
.approach {
  background: var(--bg-color);
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 15px auto 0;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.approach-item {
  padding: 40px;
  border: 1px solid #F0F0F0;
  transition: all 0.3s ease;
}

.approach-item:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.approach-item h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Subjects Section */
.subjects {
  background: var(--primary-color);
  color: var(--white);
}

.subjects h2, .subjects h3 {
  color: var(--white);
}

.subject-category h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.subjects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.subject-list {
  margin-top: 30px;
}

.subject-list li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.subject-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* Process Section */
.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.8;
  line-height: 1;
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
  background: var(--secondary-color);
  text-align: center;
  padding: 100px 20px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

/* Footer */
footer {
  background: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid #F0F0F0;
}

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

.footer-grid h4 {
  height: 80px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}

.footer-grid h4::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.footer-logo-text {
  height: 80px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping if absolutely necessary on very small screens */
    padding: 0 15px;
  }

  .logo img {
    height: 65px; /* Larger logo for mobile */
  }

  nav {
    flex: 1;
    margin-left: 0; /* Reset for mobile */
    border-bottom: none; /* Remove the specific nav line on mobile to keep it cleaner */
    padding-bottom: 0;
  }

  nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 15px; /* Tighter gap for small screens */
  }

  nav ul li a {
    font-size: 0.9rem; /* Slightly smaller for mobile side-by-side */
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 120px; 
    padding-bottom: 60px;
    display: block; /* Let container/inner handle layout */
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
    gap: 40px;
  }
  
  .hero-content h1, 
  .hero-content p {
    width: 100%;
    margin: 0 auto 24px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-btns .btn {
    padding: 12px 24px;
    font-size: 0.8rem;
    width: auto;
    min-width: 220px;
    text-align: center;
  }
  
  .hero-image {
    display: none; /* Hide photo on mobile as requested */
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
  }
  
  .subjects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
    display: block;
  }
}
