/* Font Face Declarations */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RocaOne-Lt";
  src: url("fonts/RocaOne-Lt.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RocaOne-Rg";
  src: url("fonts/RocaOne-Rg.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #156669;
  overflow-x: hidden;
  background-image: url("assets/2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, p, .about-title, .about-intro, .about-text p, .section-title, .service-card h3, .service-card p, .contact-content h2, .contact-description, .contact-note, .footer-bottom p {
  color: #156669 !important;
}

h1, h2, h3, h4, h5, h6, .about-title, .section-title, .service-card h3, .contact-content h2, .hero-title {
  font-family: "RocaOne-Lt", sans-serif !important;
  letter-spacing: -0.02em;
  font-weight: normal !important;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5vw;
  padding-right: 1.5vw;
}

/* Typography */
/* Removed font-family from h1-h6 to prevent override of custom font-face for headings */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5vw;
  padding-right: 1.5vw;
}

.nav-logo {
  margin-left: 5vw;
}

.nav-logo .logo {
  height: 40px;
  width: auto;
  filter: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: #156669;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #e91e63;
}

.cta-link {
  background: #eeecde;
  color: #156669 !important;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  border: 1px solid #156669;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-link:hover {
  background: #c2185b;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  margin-bottom: 80px;
}

.hero-content {
  /* Remove max-width, margin, and padding so it inherits from .container */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2.5vw;
}

.hero-text {
  max-width: 420px;
  margin: 0;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

.hero-cta {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #156669;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-family: "RocaOne-Rg", "RocaOne-Lt", sans-serif !important;
  font-weight: normal !important;
  font-style: normal !important;
  margin-bottom: 1.2rem;
  color: #156669;
  text-align: left;
  font-size: clamp(2.9rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.highlight {
  color: #156669;
}

.hero-description {
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  color: #156669;
  line-height: 1.7;
  max-width: 420px;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.btn-primary {
  text-align: center;
  display: inline-block;
  background: #eeecde;
  color: #156669;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid #156669;
  box-shadow: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #c2185b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

.btn-primary.hero-btn-animate {
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

/* About Section */
.about {
  position: relative;
}

.about-title,
.about-intro,
.about-text p {
  color: #000;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.about-intro {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #156669;
  margin-bottom: 2rem;
}

.about-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.about-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.about-circle {
  position: absolute;
  background: #CFFFD6;
  border-radius: 50%;
  z-index: 2;
}

.about-circle-top {
  width: 180px;
  height: 180px;
  top: -80px;
  left: -60px;
  z-index: 2;
}

.about-circle-bottom {
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 0px;
  z-index: 2;
}

.about-image {
  position: relative;
  z-index: 3;
  margin-right: 10px;
  margin-left: 60px;
}

.about-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  background: #b2dad7;
  color: #bfe6e0;
  font-family: "RocaOne-Rg", "RocaOne-Lt", sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  clip-path: polygon(
    50% 0%, 65% 15%, 85% 10%, 100% 30%, 95% 50%,
    100% 70%, 85% 90%, 65% 85%, 50% 100%, 35% 85%,
    15% 90%, 0% 70%, 5% 50%, 0% 30%, 15% 10%, 35% 15%
  );
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.about-intro,
.about-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: #156669;
  max-width: 600px;
  margin-left: 0;
}

.about-text {
  margin-left: 40px;
}

.headshot {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  padding: 100px 0;
}

.section-title {
  font-family: "RocaOne-Lt", sans-serif;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: #333;
}

.services-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.service-card {
  width: 290px;
  height: 290px;
  background: #eeecde;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1);
  text-align: center;
  border: 1px solid #000;
}

.service-image {
  max-width: 120px;
  height: 100px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.service-image-down {
  margin-top: 24px;
}

.service-image-gut {
  width: 72%;
  height: 90px;
}

.service-card:hover {
  transform: scale(1.07) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.service-card h3 {
  font-family: "RocaOne-Rg", "RocaOne-Lt", sans-serif;
  font-weight: bold;
  color: #156669;
  font-size: 1.2rem;
  height: 48px;
  min-height: unset;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.3rem;
}

.service-card p {
  font-size: 0.72rem;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  font-family: "RocaOne-Rg", "RocaOne-Lt", sans-serif !important;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #333;
  font-size: 2.3rem;
}

.contact-description {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #555;
}

.contact-note {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  color: #666;
  margin-bottom: 2.5rem;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo .logo {
  height: 60px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  font-family: "Montserrat", sans-serif;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #e91e63;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-social a {
  color: white;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #e91e63;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

.footer-bottom p {
  font-family: "Montserrat", sans-serif;
}

.footer-transition-svg {
  display: block;
  width: 100%;
  transform: rotate(180deg);
  margin-bottom: -4px;
  color: #333;
  fill: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    background-size: cover;
    background-attachment: scroll;
    background-position: center;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
  }

  .nav-menu.active {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger {
    display: flex;
  }

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

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .headshot {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  body {
    background-size: cover;
    background-attachment: scroll;
    background-position: center;
  }
  
  .container {
    padding-left: 2.5vw;
    padding-right: 2.5vw;
  }

  .nav-container {
    padding-left: 2.5vw;
    padding-right: 2.5vw;
  }

  .hero {
    padding-top: 100px;
  }

  .service-card {
    padding: 2rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn-primary:focus {
  outline: 2px solid #e91e63;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card {
    border: 2px solid #333;
  }

  .btn-primary {
    border: 2px solid #333;
  }
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 40px;
  flex: 1;
}

.hero-img-circular {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-image {
    margin-left: 0;
    margin-top: 30px;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .about-content-on-svg {
    padding: 40px 10px;
  }
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-title {
    text-align: center;
  }
}

.about-title {
  text-align: left;
  color: #156669;
  margin-bottom: 0.5rem;
}

@media (min-width: 901px) {
  .about-title {
    padding-left: 0;
    margin-left: 0;
    display: block;
  }
  .about-text {
    padding-left: 0;
  }
}

@media (min-width: 1200px) {
  .about-title {
    padding-left: 0;
    margin-left: 0;
  }
}

@media (min-width: 1px) {
  .about-title {
    padding-left: 0;
  }
}

/* Align About title with hero title */
@media (min-width: 900px) {
  .about-title {
    padding-left: 0;
    margin-left: 0;
    display: block;
  }
  .about-text {
    padding-left: 0;
  }
}

@media (min-width: 1200px) {
  .about-title {
    padding-left: 0;
    margin-left: 0;
  }
}

@media (min-width: 1px) {
  .about-title {
    padding-left: 0;
  }
}

/* Ensure About Me subtext matches hero-description font size */
.about-text p {
  font-size: 1.05rem !important;
}

.headshot {
  width: 300px;
  height: 300px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.service-card h3 {
  min-height: 2.6em;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-grid .service-card:nth-child(2) h3 {
  margin-top: 0.2rem;
}

.services-grid .service-card:nth-child(2) .service-image {
  margin-top: 1.2rem;
}

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

.hero-title {
  animation: fadeUp 0.8s ease-out forwards;
}

.hero-title {
  letter-spacing: -0.06em;
}

.about-title, .section-title, .contact-content h2 {
  font-family: "RocaOne-Rg", "RocaOne-Lt", sans-serif !important;
  letter-spacing: -0.06em;
}

.btn-primary, .cta-link {
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
}

.about-badge-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  background: #156669;
  border-radius: 50%;
  z-index: 1;
}

.about-badge-svg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.about-badge-text {
  position: absolute;
  width: 90px;
  height: 90px;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bfe6e0;
  font-family: "RocaOne-Rg", "RocaOne-Lt", sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

@keyframes rotateBadge {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.about-badge-star {
  animation: rotateBadge 16s linear infinite;
}

@media (max-width: 768px) {
  .container,
  .hero-text,
  .about-content,
  .about-text,
  .services-grid,
  .service-card,
  .contact-content,
  .footer-content {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-content {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .about-content {
    grid-template-columns: 1fr !important;
  }
  .service-card {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  .hero-img-circular {
    width: 220px !important;
    height: 220px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-left: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .hero-text {
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  .hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
  .about-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .about-text {
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  .about-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse !important;
  }
}

.about-more-mobile {
  display: inline-block;
}
@media (max-width: 768px) {
  .about-more-mobile {
    display: inline-block !important;
    margin: 1.2rem auto 0 auto !important;
    text-align: center !important;
  }
  .about-text .btn-primary:not(.about-more-mobile) {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .about-more-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .about-image {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  .about-more-mobile {
    display: inline-block !important;
    margin: 1.2rem auto 0 auto !important;
    text-align: center !important;
  }
}

.about-more-desktop {
  display: none;
  margin-top: 1.2rem;
}
@media (min-width: 769px) {
  .about-more-desktop {
    display: inline-block !important;
    margin-top: 1.2rem;
  }
}
@media (max-width: 768px) {
  .about-more-desktop {
    display: none !important;
  }
}
