.service-category.collapsed .services-grid,
.services-grid {
  max-height: 0;
  opacity: 0;
}
.header.scrolled,
footer {
  background: var(--header-footer-bg);
}
#cookies-modal a,
.footer-bottom a:hover {
  text-decoration: underline;
}
#latest-blog .blog-post,
.footer-bottom,
.hero-content,
.modal-content h3,
.review-counter,
.section-title,
.service-category h3,
.service-item,
.stars {
  text-align: center;
}
body,
html {
  overflow-x: hidden;
}
:root {
  --primary-color: #f8e1dd;
  --secondary-color: #d4a5a5;
  --accent-color: #c89fa1;
  --background-color: #fff8f0;
  --text-color: #333333;
  --button-hover: #f2d4d4;
  --header-footer-bg: #f4f4f4;
  --footer-text-color: #555555;
  --modal-bg: rgba(0, 0, 0, 0.6);
  --modal-content-bg: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Raleway, sans-serif;
}
body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0 auto;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.header-icon,
.header-nav a {
  color: var(--text-color);
  margin-left: 1rem;
  text-decoration: none;
}
#cookies-modal p,
.hero-logo,
.quicklinks-section h4,
.service-category h3 {
  margin-bottom: 1rem;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: 0 0;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.header-logo {
  height: 40px;
  transition: transform 0.3s;
}
.header-icon,
.header-nav a {
  transition: color 0.3s, transform 0.3s;
}
.header-logo:hover {
  transform: scale(1.05);
}
.header-nav {
  display: flex;
  align-items: center;
}
.header-nav a:hover,
.portfolio-swiper .swiper-button-next:hover,
.portfolio-swiper .swiper-button-prev:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}
.header-icon {
  font-size: 1.5rem;
}
.footer-icons a:hover,
.header-icon:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, color 0.3s;
}
.btn:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  color: var(--text-color);
}
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
.hero-image.active {
  opacity: 1;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 1;
}
#latest-blog .blog-post h3,
.quicklinks-section h4,
.section-title,
.service-category h3 {
  font-family: "Playfair Display", serif;
  color: var(--accent-color);
}
.hero-logo {
  width: 200px;
  transition: transform 0.3s;
}
.hero-logo:hover {
  transform: rotate(10deg);
}
.section {
  padding: 4rem 0;
}
.review-swiper .swiper-slide,
.service-item {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
}
.section-title {
  margin-bottom: 2rem;
  font-size: 2rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  overflow: hidden;
  transition: max-height 0.5s, opacity 0.5s;
}
.service-category {
  margin-bottom: 3rem;
}
.service-category h3 {
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}
.service-category h3 .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}
.service-category:not(.collapsed) .services-grid {
  max-height: 2000px;
  opacity: 1;
}
.service-item {
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.portfolio-swiper {
  width: 100%;
  padding: 0 15px 50px;
}
.portfolio-swiper .swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.portfolio-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
  color: var(--text-color);
  transition: color 0.3s, transform 0.3s;
}
.review-counter {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: Raleway, sans-serif;
}
.review-swiper {
  width: 100%;
  padding: 0 15px 30px;
}
.review-swiper .swiper-slide {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: Raleway, sans-serif;
}
.stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-bottom,
footer {
  color: var(--footer-text-color);
}
.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#lightbox-modal .modal-content,
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
#password-input,
input,
select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: Raleway, sans-serif;
}
footer {
  padding: 2rem 0;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}
.quicklinks-section {
  flex: 1 1 300px;
  margin: 1rem;
}
.footer-bottom,
.footer-links a,
.modal-content {
  font-family: Raleway, sans-serif;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  flex: 1 1 calc(50% - 10px);
  margin-bottom: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--secondary-color);
}
.footer-icons a {
  margin-right: 1rem;
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
  text-decoration: none;
}
.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
}
.footer-bottom p {
  margin: 0.5rem 0;
}
.footer-bottom a {
  color: var(--secondary-color);
  text-decoration: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: var(--modal-bg);
}
.modal-content {
  background: var(--modal-content-bg);
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}
.close-modal {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}
.close-modal:focus,
.close-modal:hover {
  color: #000;
  text-decoration: none;
}
.modal-logo {
  width: 100px;
  display: block;
  margin: 0 auto 20px;
}
#lightbox-modal img {
  display: block;
  max-width: 90%;
  max-height: 80vh;
  margin: 5vh auto 0;
  border-radius: 8px;
}
#cookies-modal .modal-content {
  text-align: center;
  background: var(--modal-content-bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
}
#cookies-modal p {
  font-size: 1rem;
  color: var(--text-color);
}
#cookies-modal a {
  color: var(--secondary-color);
}
#cookies-modal button {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
#cookies-modal button:hover {
  background-color: var(--accent-color);
}
.hero-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: none;
}
.review-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}
.review-buttons a img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.3s;
}
.review-buttons a:hover img {
  transform: scale(1.1);
}
@media (max-width: 1024px) {
  .footer-quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .footer-quicklinks .quicklinks-section:first-child {
    grid-column: 1;
  }
  .footer-quicklinks .quicklinks-section:nth-child(2),
  .footer-quicklinks .quicklinks-section:nth-child(3) {
    grid-column: 2;
  }
}
#latest-blog .blog-post {
  padding: 2rem;
  background-color: var(--primary-color);
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#latest-blog .blog-post h3 {
  margin-bottom: 0.5rem;
}
#latest-blog .blog-date {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}
#latest-blog .blog-post .blog-image {
  width: 80%;
  max-width: 200px;
  height: auto;
  margin: 1rem auto;
  border-radius: 4px;
}
#latest-blog .blog-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .footer-container,
  .services-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: center;
  }
  .footer-quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .quicklinks-section {
    margin: 0;
    width: auto;
  }
  .carousel-item img {
    height: 250px;
  }
  .footer-links a {
    flex: 1 1 100%;
  }
  #latest-blog .blog-post {
    padding: 1rem;
  }
}
#blogModal .modal-content {
  max-width: 90%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto !important;
}
#blogModal .modal-content .blog-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 1rem auto;
  border-radius: 4px;
}
#blogModal .modal-content img#modalImage {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  width: auto !important;
  height: auto !important;
}
#blogModal .modal-content img.modal-img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}
