/* ========================================
   Orthoca.be Clone - Stylesheet
   ======================================== */

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

:root {
  --color-bg-dark: #0b1a30;
  --color-bg-darker: #071224;
  --color-bg-light: #f5f5f5;
  --color-white: #ffffff;
  --color-accent: #3a7bd5;
  --color-accent-hover: #2d62b3;
  --color-text: #ffffff;
  --color-text-muted: rgba(255,255,255,0.7);
  --color-text-dark: #1a1a2e;
  --color-text-dark-muted: #555;
  --color-border: rgba(255,255,255,0.15);
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1200px;
  --section-padding: 100px 0;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

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

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-bg-dark);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-bg-dark);
  border-color: var(--color-bg-dark);
}

.btn--outline-dark:hover {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline-light:hover {
  border-color: var(--color-white);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--appointment {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.btn--appointment:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

.link-btn {
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.link-btn:hover {
  opacity: 0.8;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 26, 48, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 32px;
  width: auto;
}

.header__nav .nav-list {
  display: flex;
  gap: 8px;
}

.header__nav .nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}

.header__nav .nav-list li a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.05);
}

.header__cta {
  margin-left: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-dark);
  z-index: 999;
  padding: 40px 24px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.mobile-nav li a {
  display: block;
  padding: 16px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58,123,213,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__word {
  display: block;
}

.hero__word--large {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.hero__word--large:first-child {
  color: var(--color-white);
  font-weight: 300;
}

.hero__word--large:nth-child(2) {
  font-weight: 700;
}

.hero__word--large:last-child {
  font-weight: 800;
  background: linear-gradient(135deg, #3a7bd5, #5fa8d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.hero__image-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

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

.section--dark {
  background: var(--color-bg-dark);
}

.section--light {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section--light .section__label {
  color: var(--color-accent);
}

.section__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 20px;
  letter-spacing: -0.01em;
}

.section--light .section__title {
  color: var(--color-text-dark);
}

.text-accent {
  color: var(--color-accent);
}

/* ========================================
   Medical Info Section
   ======================================== */
.medische-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.medische-info__text p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.video-placeholder {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(58,123,213,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-accent);
}

/* ========================================
   Focus Clinic Section
   ======================================== */
.focus-clinic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: start;
}

.focus-clinic__header {
  grid-column: 1;
}

.focus-clinic__header .section__label {
  text-align: left;
}

.focus-clinic__header .section__title {
  text-align: left;
  margin: 0 0 16px;
}

.focus-clinic__image-1 {
  grid-column: 2;
  grid-row: 1;
  border-radius: 16px;
  overflow: hidden;
}

.focus-clinic__image-1 img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
}

.focus-clinic__image-2 {
  grid-column: 1;
  grid-row: 2;
  border-radius: 16px;
  overflow: hidden;
}

.focus-clinic__image-2 img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
}

.focus-clinic__text {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.focus-clinic__text p {
  font-size: 1.05rem;
  color: var(--color-text-dark-muted);
  line-height: 1.7;
}

/* ========================================
   News Section
   ======================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.news-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card__date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.news-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  flex: 1;
}

.news-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-top: 8px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-bg-darker);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__about p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 450px;
}

.footer__logo {
  display: inline-block;
}

.footer__logo .logo-svg {
  height: 28px;
}

.footer__contact h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__contact p {
  color: var(--color-text-muted);
  line-height: 2;
}

.footer__contact a {
  color: var(--color-text-muted);
}

.footer__contact a:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer__bottom span,
.footer__bottom a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__bottom a:hover {
  color: var(--color-white);
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-darker);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 32px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  backdrop-filter: blur(20px);
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  min-width: 300px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
}

/* ========================================
   Animations
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .header__cta.desktop-only {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__description {
    margin: 0 auto 36px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__word--large {
    font-size: 2.8rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .medische-info__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .focus-clinic__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .focus-clinic__header {
    grid-column: 1;
    grid-row: 1;
  }

  .focus-clinic__image-1 {
    grid-column: 1;
    grid-row: 2;
  }

  .focus-clinic__image-2 {
    grid-column: 1;
    grid-row: 3;
  }

  .focus-clinic__text {
    grid-column: 1;
    grid-row: 4;
  }

  .focus-clinic__header .section__label,
  .focus-clinic__header .section__title {
    text-align: center;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__social {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero__word--large {
    font-size: 2.2rem;
  }

  .hero__image img {
    height: 300px;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cookie-banner {
    flex-direction: column;
    padding: 20px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__buttons {
    width: 100%;
  }

  .cookie-banner__buttons .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__word--large {
    font-size: 1.8rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }
}
