/**
 * Main Stylesheet - Psychotherapie Perterer
 * Desktop-first approach, 1250px wrapper
 * Media queries at the end, sorted by screen size
 */

@import url('colors.css');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--color-text-primary);
  background-color: var(--color-bg-light);
  line-height: 1.6;
}

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

/* === LAYOUT === */
.wrapper {
  max-width: 78.125rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.875rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(65, 64, 43, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.9375rem 0;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
}

.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.125rem;
}

.header-nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.03125rem;
  transition: opacity 0.3s ease;
}

.header-nav a:hover {
  opacity: 0.7;
}

.header-nav .btn-contact {
  background-color: var(--color-bg-beige);
  color: var(--color-text-primary);
  padding: 0.625rem 1.875rem;
  border-radius: 0.3125rem;
  transition: all 0.3s ease;
}

.header-nav .btn-contact:hover {
  background-color: var(--color-bg-light);
  opacity: 1;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: fixed;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-text-light);
  padding: 9.375rem 1.25rem 6.25rem;
}

.hero-name {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.875rem;
  letter-spacing: 0.0625rem;
}

.hero-headline {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.875rem;
  max-width: 56.25rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-subheadline {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 3.125rem;
  opacity: 0.9;
}

.hero-button {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-text-light);
  padding: 1.125rem 2.8125rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero-button:hover {
  background-color: var(--color-secondary);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.3);
}

/* === SECTIONS === */
section {
  position: relative;
  background-color: var(--color-bg-light);
  padding: 6.25rem 0;
  z-index: 10;
}

/* === ABOUT SECTION === */
.about-section {
  background-color: #f8f7f3;
}

.about-content {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.about-image {
  flex: 0 0 31.25rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.625rem;
  font-weight: 400;
  margin-bottom: 1.875rem;
  color: var(--color-text-primary);
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
}

.about-button {
  display: inline-block;
  background-color: #41402B;
  color: var(--color-text-light);
  padding: 0.9375rem 2.1875rem;
  border-radius: 0.3125rem;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 1.25rem;
  transition: all 0.3s ease;
}

.about-button:hover {
  background-color: rgba(65, 64, 43, 0.85);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

/* === MEDIA QUERIES === */
/* Tablets and smaller desktops */
@media (max-width: 1280px) {
  .wrapper {
    max-width: 60rem;
  }
  
  .hero-headline {
    font-size: 3.375rem;
  }
  
  .about-content {
    gap: 3.75rem;
  }
  
  .about-image {
    flex: 0 0 25rem;
  }
  
  .about-text h2 {
    font-size: 2.25rem;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .wrapper {
    max-width: 100%;
    padding: 0 1.875rem;
  }
  
  .header-nav {
    gap: 1.875rem;
  }
  
  .hero-headline {
    font-size: 3rem;
  }
  
  .hero-name {
    font-size: 1.25rem;
  }
  
  .hero-subheadline {
    font-size: 1.25rem;
  }
  
  .about-content {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .about-image {
    flex: 0 0 auto;
    max-width: 31.25rem;
    width: 100%;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .about-text p {
    font-size: 1.0625rem;
  }
}

/* Mobile landscape and smaller tablets */
@media (max-width: 768px) {
  .header-nav {
    gap: 1.25rem;
    flex-wrap: wrap;
  }
  
  .header-nav a {
    font-size: 0.875rem;
  }
  
  .hero-headline {
    font-size: 2.25rem;
  }
  
  .hero-name {
    font-size: 1.125rem;
  }
  
  .hero-subheadline {
    font-size: 1.125rem;
  }
  
  .hero-button {
    padding: 0.9375rem 2.1875rem;
    font-size: 1rem;
  }
  
  section {
    padding: 3.75rem 0;
  }
  
  .about-text h2 {
    font-size: 1.75rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .about-button {
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .wrapper {
    padding: 0 1.25rem;
  }
  
  .header-nav {
    gap: 0.9375rem;
  }
  
  .header-nav a {
    font-size: 0.8125rem;
  }
  
  .hero-headline {
    font-size: 1.75rem;
  }
  
  .hero-name {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 1.875rem;
  }
  
  .hero-button {
    padding: 0.75rem 1.5625rem;
    font-size: 0.9375rem;
  }
  
  .about-text h2 {
    font-size: 1.5rem;
  }
  
  .about-text p {
    font-size: 0.9375rem;
  }
  
  .about-button {
    padding: 0.625rem 1.375rem;
    font-size: 0.875rem;
  }
} 
