/* Aesthetics by Yari - Custom Styles */

:root {
  /* Primary Colors from the actual website */
  --navbar-bg: #cbbebd;
  --hero-bg: #e6e5ea;
  --hero-text: #5d4e47;
  --btn-primary: #92b1a1;
  --btn-hover: #c8d0c9;
  --light-green-bg: #c8d0c9;
  --alt-bg: #ece8df;

  /* Text and borders */
  --text-dark: #5d4e47;
  --text-light: #6b5f58;
  --border-light: #e6e5ea;
  --white: #ffffff;
}

/* Scroll behavior for anchor links */
html {
  scroll-padding-top: 140px;
}

/* Typography */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1.05rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: var(--hero-text);
}

/* Navigation */
.navbar {
  background-color: white !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  max-height: 100px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--text-dark) !important;
  background-color: rgba(146, 177, 161, 0.1);
  border-radius: 4px;
}

.dropdown-menu {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
}

/* Buttons */
.btn-primary {
  background-color: var(--btn-primary);
  border-color: var(--btn-primary);
  color: white;
  padding: 0.6rem 1.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.btn-lg.btn-primary,
.btn-lg.btn-outline-primary {
  font-size: 1rem;
  padding: 0.7rem 2rem;
}

.btn-primary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--text-dark) !important;
  box-shadow: 0 2px 8px rgba(146, 177, 161, 0.2);
}

.btn-outline-primary {
  color: var(--btn-primary);
  border-color: var(--btn-primary);
  border-width: 2px;
  border-radius: 30px;
}

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

.btn-outline-light {
  border-width: 2px;
  border-radius: 30px;
}

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

/* Hero Section */
.hero-section {
  background: var(--hero-bg);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

@media (min-width: 769px) {
  .hero-section {
    padding: 3rem 0;
  }
}

.hero-section h1 {
  color: var(--hero-text);
  font-weight: 300 !important;
  letter-spacing: 3px;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif !important;
  line-height: 1.1;
  font-size: 3.5rem;
}

@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 4rem;
  }
}

.hero-section h2 {
  color: var(--hero-text);
  font-size: 1.75rem;
}

@media (min-width: 992px) {
  .hero-section h2 {
    font-size: 2rem;
  }
}

.hero-section .lead {
  color: var(--text-light);
}

.hero-section p {
  color: var(--text-dark);
}

/* Hero Image Styling */
.hero-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Hero Carousel Styling */
#heroCarousel {
  border-radius: 15px !important;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-image-container {
    display: flex;
    align-items: center;
    height: 100%;
  }
}

.service-hero p {
  font-family: "Segoe UI", sans-serif;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
}

.service-hero .lead {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Cards */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(93, 78, 71, 0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.card-title {
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: 1px;
}

.card-body {
  background-color: var(--white);
}

/* Service Cards Section */
#services {
  background-color: var(--alt-bg);
}

#services h2 {
  color: var(--hero-text);
}

/* About Section */
#about {
  background-color: var(--white);
}

#about h2 {
  color: var(--hero-text);
  font-weight: 300;
}

/* Gallery Section */
#gallery {
  background: var(--light-green-bg);
}

#gallery h2,
#gallery h3 {
  color: var(--hero-text);
}

.before-after-card {
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(93, 78, 71, 0.1);
}

.review-card {
  transition: transform 0.3s ease;
  border: 1px solid rgba(93, 78, 71, 0.1);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(93, 78, 71, 0.15);
}

.review-card p {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(93, 78, 71, 0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(93, 78, 71, 0.9);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
  width: 20px;
  height: 20px;
}

/* Footer */
footer {
  background: linear-gradient(
    135deg,
    var(--hero-text) 0%,
    #4a3d37 100%
  ) !important;
}

footer h4 {
  color: var(--btn-primary);
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

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

footer .btn-primary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--text-dark) !important;
}

footer a.text-white:hover {
  color: var(--btn-primary) !important;
}

/* Service Pages */
.service-hero {
  background: #e6e5ea;
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--border-light);
}

.service-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-card {
  background: white;
  padding: 2rem;
  margin-bottom: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-row {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.service-card-content {
  flex: 1;
}

.service-card-image {
  flex: 0 0 35%;
  min-height: 350px;
  background-color: #f8f9fa;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .service-card-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .service-card-image {
    width: 100%;
    flex: none;
  }
}

.service-card h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--text-dark);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.service-card p {
  font-family: "Segoe UI", sans-serif;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
}

.service-card ul {
  font-family: "Segoe UI", sans-serif;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.8;
}

.service-card ul li {
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text-dark);
}

.breadcrumb-item.active {
  color: var(--text-dark);
}

/* Background utility classes */
.bg-light {
  background-color: #f8f9fa !important;
}

.bg-soft-green {
  background-color: var(--light-green-bg) !important;
}

.bg-soft-pink {
  background-color: #fdf6f4 !important;
}

.bg-cta {
  background-color: #e6e5ea !important;
}

/* Text utilities */
.text-muted {
  color: var(--text-light) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 100px;
  }

  /* Mobile Hero Background Image */
  .hero-section {
    position: relative;
    background: linear-gradient(
        rgba(230, 229, 234, 0.85),
        rgba(230, 229, 234, 0.85)
      ),
      url("/images/hero-yarianna-boccia-v2.jpg") center/cover no-repeat;
    min-height: 100vh;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .navbar-brand img {
    max-height: 70px;
  }

  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .card-img-top {
    height: 200px;
  }

  .service-title {
    font-size: 2rem;
  }

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

/* Additional hover effects - simplified */

/* Smooth transitions for all interactive elements */
a,
button,
.card,
img {
  transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--alt-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--btn-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--btn-hover);
}
