/* Pedilien Website - Main Stylesheet */

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

/* CSS Variables */
:root {
  --primary-color: #1e73be;     /* Blue - headings, buttons, accents */
  --secondary-color: #4e9e6a;   /* Green - highlights, secondary elements */
  --background-color: #ffffff;  /* White - main background */
  --text-color: #333333;        /* Dark gray - better readability than black */
  --accent-color: #f5f5f5;      /* Light gray - section backgrounds */
  --footer-color: #f0f0f0;      /* Slightly darker gray for footer */
  --button-hover: #1a5c9e;      /* Darker blue for button hover states */
  --highlight-color: #e9f5ff;   /* Very light blue for highlights */
}

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

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--button-hover);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 3rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

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

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

.btn-cta {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  font-size: 1.1rem;
}

.btn-cta:hover {
  background-color: #3d7d54;
  color: white;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-container {
  flex: 0 0 auto;
}

.logo {
  max-height: 60px;
  width: auto;
}

.contact-header {
  display: none;
}

.phone-number {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.phone-number i {
  margin-right: 0.5rem;
}

/* Navigation */
nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: var(--highlight-color);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.treatment-image {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  margin: 0 auto;
}

.tagline {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  background-color: white;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-image {
  flex: 1;
}

.clinic-image {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1;
}

.certification {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--accent-color);
  border-radius: 8px;
}

.provoet-logo {
  max-width: 100px;
  margin-right: 1rem;
}

/* Services Section */
.services {
  background-color: var(--accent-color);
}

.services h2 {
  text-align: center;
}

.service-cards {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
  background-color: white;
}

.contact-section .container {
  display: flex;
  gap: 2rem;
}

.contact-info {
  flex: 1;
}

.contact-methods {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--accent-color);
  border-radius: 8px;
}

.contact-method i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hours {
  margin: 1.5rem 0;
  font-style: italic;
}

.map-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-map {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--footer-color);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo, 
.footer-links, 
.footer-contact, 
.footer-certification {
  flex: 1;
  min-width: 200px;
}

.footer-logo-img {
  max-width: 150px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact i {
  width: 20px;
  margin-right: 0.5rem;
}

.footer-provoet {
  max-width: 120px;
  margin-bottom: 1rem;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  font-size: 0.875rem;
}

/* Mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 900;
  text-align: center;
}

.mobile-cta .btn {
  width: 100%;
}

/* Media Queries */
@media (max-width: 1023px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .service-cards {
    flex-wrap: wrap;
  }
  
  .service-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 250px;
  }
}

@media (max-width: 767px) {
  .contact-header {
    display: block;
    position: absolute;
    top: 1rem;
    right: 5rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 0 0 1.5rem;
  }
  
  .hero .container,
  .about .container,
  .contact-section .container {
    flex-direction: column;
  }
  
  .hero-image {
    order: -1;
  }
  
  .service-cards {
    flex-direction: column;
  }
  
  .service-card {
    width: 100%;
  }
  
  .contact-methods {
    flex-direction: column;
  }
  
  .mobile-cta {
    display: block;
  }
  
  footer {
    padding-bottom: 5rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-in {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
