/* Core Variables: Pink & Purple Minimal Theme */
:root {
  --primary-color: #7e22ce;
  --primary-hover: #6b21a8;
  --accent-color: #db2777;
  --bg-light: #fdf4ff;
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --white: #ffffff;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Typography & Buttons */
h1,
h2,
h3 {
  color: var(--text-dark);
  font-weight: 700;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* Navigation & Logo Name */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  text-decoration: none;
}

.brand-name {
  font-family: "Italianno", cursive;
  font-size: 2.8rem; /* Increased size so it's easy to read */
  font-weight: 400; /* Hurricane is designed at a single, elegant weight */
  letter-spacing: 0.15rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: var(--bg-light);
  padding: 80px 5% 100px;
}

.hero-content {
  max-width: 1100px; /* Widened to accommodate side-by-side */
  margin: 0 auto;
}

/* New Split Layout Rules */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1; /* Takes up remaining space */
  text-align: left; /* Aligns text cleanly to the left */
}

.hero-image-wrapper {
  flex: 0 0 40%; /* Image takes up 40% of the screen width */
  display: flex;
  justify-content: flex-end; /* Pushes the image to the far right */
}

.hero-logo {
  height: 90px; /* Slightly smaller so it doesn't overpower the headline */
  width: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.hero-img {
  width: 100%;
  max-width: 380px; /* Controls the size so it doesn't get too wide */
  height: 450px; /* Gives it a nice portrait rectangle shape */
  border-radius: 16px; /* The rounded rectangle frame */
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero h1 {
  font-size: 3rem; /* Slightly larger headline */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 500px; /* Keeps the paragraph from getting too wide and hard to read */
}

/* Sections Global */
section {
  padding: 80px 5%;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Credentials / About Section Layout */
.credentials {
  background-color: var(--white);
}

.about-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  text-align: left;
}

.about-image-wrapper {
  flex: 0 0 40%;
  display: flex;
  justify-content: center; /* Ensures the circle stays perfectly centered */
}

.about-img {
  width: 375px;
  height: 375px;
  border-radius: 50%; /* The circular frame */
  object-fit: cover;
  border: 6px solid var(--primary-color); /* a purple border to make it pop against the white background */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-text {
  flex: 1;
  text-align: justify;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.about-text .subtitle {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.bio-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Services Grid & Reviews */
.services {
  background-color: var(--bg-light);
}
.reviews {
  background-color: var(--white);
}
.services h2,
.reviews h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border-top: 4px solid var(--accent-color);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card h3 {
  margin-bottom: 16px;
  color: var(--primary-color);
}
.service-card p {
  color: var(--text-light);
}

/* Email Contact Form */
.email-contact {
  background-color: var(--bg-light);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.15);
}

/* Footer / Map */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  text-align: center;
  padding: 80px 5% 40px;
}

footer h2 {
  color: var(--white);
  font-size: 2.2rem;
}

.clinic-details {
  margin: 30px auto;
  max-width: 600px;
}
.clinic-details p {
  color: #d1d5db;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.map-container {
  max-width: 800px;
  margin: 40px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.emergency-disclaimer {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.05rem;
  }

  /* Stacks the image and text vertically on small screens */
  .about-layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-text h2 {
    text-align: center;
  }
  .about-text .subtitle {
    text-align: center;
  }
  .bio-text p {
    text-align: left;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .hero-buttons .btn-outline {
    margin-left: 0 !important;
  }

  .hero-split {
    flex-direction: column-reverse; /* Puts the image ON TOP of the text on mobile */
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-image-wrapper {
    justify-content: center;
  }

  .hero-img {
    width: 100%;
    max-width: 300px;
    height: 350px;
  }

  .about-img {
    width: 250px;
    height: 250px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    margin: 0 auto 30px;
  }

  /* Center the logo on mobile */
  .hero-logo {
    margin: 0 auto 24px;
    display: block;
  }
}
/* Social Media Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color); /* Turns pink on hover */
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.4);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Portfolio Link Styling */
.portfolio-link {
    text-decoration: none;
    color: inherit;
}

.portfolio-link strong {
    color: #9ca3af; 
    font-weight: 400;
    transition: color 0.3s ease;
}

.portfolio-link:hover strong {
    color: var(--accent-color); /* Turns pink on hover */
}

/* Adds space between the copyright and signature */
.signature-line {
    margin-top: 8px !important;
}