/* Global Colors */
:root {
  /* Primary Colors */
  --primary-soft-rose: #b76e79;
  --primary-dark-brown: #4a3f35;
  --primary-white: #fff;
  --primary-dark-gray: #333;

  /* Secondary Colors */
  --secondary-light-pink: #f9e0e3;
  --secondary-light-beige: #f5f0e9;
  --secondary-off-white: #fffdfa;
  --secondary-light-gray: #fcfafa;
  --secondary-medium-gray: #777;
  --secondary-light-pink-hover: #e5b8c2;
  --secondary-dark-rose: #b44b67;
  --secondary-darker-rose: #933a53;
  --secondary-light-yellow: #e6b800;
  --secondary-pale-rose: #e495a8;
  --secondary-light-pink-quote: #f3d6d9;
  --secondary-soft-pink-stars: #c97a7e;
  --secondary-pale-beige: #faf6f2;
  --secondary-light-border: #ddd;
  --secondary-footer-background: #e9e0d5;
  --secondary-footer-text-color: #444;
  --secondary-footer-border: #d2c4b6;
  --secondary-social-icon-hover: #fae1e4;

  /* Other Colors (not categorized as primary/secondary based on usage) */
  --neutral-dark: #222;
  --neutral-medium: #555;
  --neutral-light: #bbb;
  --neutral-hover-dark: #a55c67; /* This was #b7757f in original, but changed to #a55c67 in the btn:hover */
}

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

html, body {
  overflow-x: hidden; /* Prevent horizontal scroll */
  width: 100%;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--secondary-off-white);
  color: var(--primary-dark-gray);
}

/* Navbar */
.navbar {
  height: 100px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: var(--secondary-light-gray);
  position: absolute;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 300;
  font-family: Cormorant Garamond, serif;
  margin-left: 0.25rem;
  display: flex; /* Make logo a flex container */
  align-items: center; /* Vertically align items */
}

.logo-icon {
  height: 30px; /* Adjust size as needed */
  width: 30px; /* Adjust size as needed */
  margin-right: 10px; /* Space between icon and text */
  fill: var(--primary-soft-rose); /* Apply color if it's an SVG */
}

.logo span {
  color: var(--primary-soft-rose); /* soft rose */
  font-size: 24px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--primary-dark-gray);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--secondary-dark-rose);
}

.btn-appointment {
  padding: 8px 24px;
  background: var(--secondary-light-pink);
  color: var(--primary-soft-rose);
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.875rem 14px;
  line-height: 1.25rem;
  font-weight: 500;
  transition: 0.3s;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.btn-appointment:hover {
  background: var(--secondary-light-pink-hover);
  max-width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none; /* Hidden by default on larger screens */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001; /* Ensure it's above other elements */
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-soft-rose);
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger menu animation */
.hamburger-menu.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */

/* fixed Image */

.rahul-container {
  position: relative;
  height: 95vh;
  background-image: url("icons/main.png");
  /* background link if not available-  https://storage.googleapis.com/uxpilot-auth.appspot.com/a06f31e04c-5e2b2366b2186d3ff4ef.png */
  background-position: center;
  background-size: cover;
  background-attachment: fixed; /* Image stays fixed */
  background-repeat: no-repeat;
  overflow: hidden;
}

.white-tone {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5));
}
.hero {
  height: 95vh;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 20px;
  padding-left: 12%;
  position: absolute;
  top: 0%;
  z-index: 2;
}

.hero h1 {
  font-family: Cormorant Garamond, serif;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--primary-dark-brown);
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 2rem;
  color: var(--primary-dark-brown);
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary-soft-rose);
  color: var(--primary-white);
  border-radius: 30px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s;
}
.btn-primary:hover {
  background: var(--secondary-pale-rose);
}
/* Services Section */
.services {
  padding: 60px 10px;
  background: var(--secondary-light-beige);
  text-align: center;
  overflow: hidden;
  background-image: 
                radial-gradient(circle, rgba(200, 167, 150, 0.2) 2px, transparent 2px),
                radial-gradient(circle, rgba(200, 167, 150, 0.1) 1px, transparent 1px);
            background-size: 40px 40px, 80px 80px;
            background-position: 0 0, 40px 40px;
}

.services h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--primary-dark-brown);
  font-family: Cormorant Garamond, serif;
}

.services h1 span {
  color: var(--primary-dark-brown);
}

.services p {
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  color: var(--primary-dark-brown);
  margin-bottom: 50px;
  line-height: 1.5rem;
}

/* Grid */
.services-grid {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0rem 2rem;
}

.card p{
  font-family: Cormorant Garamond, serif;
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
}

.window-card {
  width: 200px;
  height: 300px;
  margin-bottom: 15px;
  transition: 0.3s;
}

.window-card:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 0.75rem var(--secondary-social-icon-hover));
}


/* View More Button */
.view-more {
  margin-top: 40px;
}
.view-more a {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  background: var(--secondary-dark-rose);
  color: var(--primary-white);
  margin-bottom: 20px;
  padding: 15px 20px;
  border-radius: 25px;
  transition: 0.3s;
}
.view-more a:hover {
  background: var(--secondary-darker-rose);
}

/* History Section */

.history {
  height: auto;
  width: auto;
  background: var(--primary-white);
  padding: 60px 10%;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

.history-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.history-text {
  flex: 1;
}

.history-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-dark-brown);
}

.history-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--primary-dark-brown);
}

.founder {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.founder img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.founder h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: var(--neutral-dark);
}

.founder p {
  font-size: 14px;
  color: var(--secondary-medium-gray);
}

.ratings {
  margin-top: 5px;
  font-size: 18px;
  color: var(--secondary-light-yellow);
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stats div {
  text-align: center;
}

.stats h2 {
  color: var(--secondary-pale-rose);
  font-size: 28px;
  margin: 0;
}

.stats p {
  font-size: 14px;
  color: var(--neutral-medium);
}

.history-image {
  flex: 1;
  z-index: 1000;
}

.history-image img {
  width: 100%;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

.pink-card {
  position: absolute;
  height: 300px;
  width: 300px;
  left: 750px;
  bottom: -1360px;
  border-radius: 15px;
  background-color: var(--secondary-light-pink);
}

.pink-card2 {
  position: absolute;
  height: 300px;
  width: 300px;
  left: 1090px;
  bottom: -1020px;
  border-radius: 15px;

  background-color: var(--secondary-light-pink);
}

/* testimonial section */
.testimonial {
  background: var(--secondary-light-beige);
  padding: 60px 20px;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.testimonial-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.testimonial-header span {
  color: var(--primary-dark-brown);
}

.testimonial-header p {
  color: var(--primary-dark-brown);
  font-size: 1rem;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--primary-white);
  border-radius: 12px;
  padding: 25px;
  position: relative;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: 20px;
  background: var(--secondary-light-pink-quote);
  color: var(--primary-soft-rose);
  font-size: 24px;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card p {
  font-style: italic;
  color: var(--primary-dark-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-footer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-footer h4 {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.stars {
  color: var(--secondary-soft-pink-stars); /* soft pink stars */
  font-size: 1.1rem;
}

/* Gallery Section*/

.gallery {
  background: var(--secondary-pale-beige);
  padding: 60px 10%;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.gallery img {
  max-width: 100%;
  height: 700px;
  object-fit: cover;
}

.gallery-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--neutral-dark);
}

.gallery-header span {
  color: var(--secondary-pale-rose);
}

.gallery-header p {
  color: var(--neutral-medium);
  margin-bottom: 30px;
}

.gallery-slider {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  border-radius: 12px;
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--primary-white);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: left;
}

.caption h3 {
  margin: 0;
  font-size: 24px;
  font-family: "Cormorant Garamond", serif;
}

.caption p {
  margin: 0;
  font-size: 16px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 45px; /* fixed width */
  height: 45px; /* fixed height */
  cursor: pointer;
  border-radius: 50%; /* makes it perfectly round */
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.prev {
  left: 15px;
}
.next {
  right: 15px;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 1);
}

.dots {
  text-align: center;
  margin-top: 15px;
}

.dots span {
  cursor: pointer;
  height: 8px;
  width: 8px;
  margin: 0 5px;
  background-color: var(--neutral-light);
  border-radius: 50%;
  display: inline-block;
}

.dots .active {
  background-color: var(--secondary-pale-rose);
}

/* Booking Section */

.Booking {
  height: auto;
  width: auto;
  padding: 60px 20px;
  background: var(--primary-white);
  background-image: 
                radial-gradient(circle, rgba(200, 167, 150, 0.1) 2px, transparent 2px),
                radial-gradient(circle, rgba(200, 167, 150, 0.1) 1px, transparent 1px);
            background-size: 40px 40px, 80px 80px;
            background-position: 0 0, 40px 40px;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}

.booking-info h2 {
  font-family: Cormorant Garamond, serif;
  font-size: 36px;
  color: var(--primary-dark-brown);
  margin-bottom: 15px;
}

.booking-info h2 span {
  font-weight: bold;
  color: var(--primary-dark-brown);
}

.booking-info p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--primary-dark-brown);
}

.hours-box h3 {
  font-family: Cormorant Garamond, serif;
  font-size: 20px;
  margin-bottom: 20px;
}

.hours-box {
  background: var(--secondary-light-beige);
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 25px;
}
.hours-box span {
  font-weight: 500;
}

.hours-box ul {
  list-style: none;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

.hours-box li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-info {
  margin-top: 40px;
}
.contact-info h3 {
  font-size: 20px;
  font-family: Cormorant Garamond, serif;
  line-height: 1.75rem;
  margin-bottom: 1rem;
}

svg {
  margin-right: 10px;
}

.contact-info p {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  margin: 8px 0;
  color: var(--primary-dark-brown);
}

.booking-form {
  background: var(--primary-white);
  padding: 30px;
  color: var(--primary-dark-brown);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.booking-form h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-family: Cormorant Garamond, serif;
  text-align: center;
  font-weight: 500;
}

.booking-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--secondary-light-border);
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}
/* Here i have to work */
.date-time {
  display: flex;
  gap: 10px;
}

.btn {
  background: var(--primary-soft-rose);
  color: var(--primary-white);
  padding: 14px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--neutral-hover-dark);
}

@media (max-width: 768px) {
  .booking-wrapper {
    grid-template-columns: 1fr;
  }
}

/* footer */
/* Footer */
.footer {
  background: var(--secondary-footer-background);
  padding: 50px 10px 20px;
  font-family: "Inter", sans-serif;
  color: var(--primary-dark-gray);
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h2,
.footer-col h3 {
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary-dark-gray);
}

.footer-col .logo {
  font-size: 24px;
}

.footer-col .logo span {
  color: var(
    --primary-soft-rose
  ); /* Adjusted to match the soft-rose variable */
  font-weight: bold;
}

.footer-col p {
  font-size: 14px;
  color: var(--secondary-footer-text-color);
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--primary-dark-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(
    --primary-soft-rose
  ); /* Adjusted to match the soft-rose variable */
}

/* Social Icons */

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-white);
  color: var(
    --primary-soft-rose
  ); /* Adjusted to match the soft-rose variable */
  font-size: 16px;
  transition: all 0.3s ease;
}
.social-icons a svg {
  margin-left: 9px;
}

.social-icons a:hover {
  background: var(--secondary-social-icon-hover);
  color: var(--primary-white);
}

/* Contact Icons */

.footer-col p {
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start for better alignment */
  font-size: 14px;
  color: var(--secondary-footer-text-color);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-col p svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 15px;
  margin-top: 3px; /* Added to vertically align with text */
  fill: var(--primary-soft-rose);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--secondary-footer-border);
  text-align: center;
  padding-top: 15px;
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--secondary-footer-text-color);
}

/* Responsive */

@media (max-width: 900px) {
  .footer-col p {
    align-items: center; /* Revert to center on medium screens */
  }
}

@media (max-width: 600px) {

  .footer-col p {
    justify-content: center;
    text-align: center;
    flex-direction: column; /* Stack icon and text on very small screens */
  }
  
  .footer-col p svg {
    margin-right: 0;
    margin-bottom: 8px;
    align-self: center; /* Center the icon when stacked */
  }
}

@media (max-width: 1285px) {
  .pink-card,
  .pink-card2 {
    display: none;
  }
}

@media (max-width: 900px) {
  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Navbar */
  .navbar {
    padding: 18px 5%;
  }

  .nav-links {
    display: none; /* Hide by default */
    flex-direction: column;
    position: absolute;
    top: 100px; /* Below the navbar */
    left: 0;
    width: 100%;
    background: var(--secondary-light-gray);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    gap: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* Show when active */
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    display: block;
  }

  .btn-appointment {
    display: none; /* Hide by default */
  }

  .hamburger-menu {
    display: flex; /* Show hamburger menu */
  }

  /* Hero Section */
  .hero {
    padding-left: 5%;
    text-align: center;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Services Section - Fixed for mobile */
  .services {
    padding: 40px 5%;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .window-card {
    display: none; /* Hide window cards on mobile */
  }

  .card p {
    display: block; /* Show only service names */
    font-size: 18px;
    padding: 12px 20px;
    background-color: var(--secondary-light-pink);
    border-radius: 8px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
  }

  .card p:hover {
    background-color: var(--secondary-light-pink-hover);
    transform: translateX(5px);
  }

  /* History Section */
  .history {
    padding: 40px 5%;
    height: auto;
  }

  .history-container {
    flex-direction: column;
    gap: 20px;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  /* Testimonial Section */
  .testimonial {
    padding: 40px 5%;
  }

  .testimonial-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
  }

  /* Gallery Section */
  .gallery {
    padding: 40px 5%;
  }

  .gallery img {
    height: auto; /* Adjust height for smaller screens */
    width: 100%;
  }

  .caption {
    bottom: 15px;
    left: 15px;
    padding: 10px 15px;
  }

  .caption h3 {
    font-size: 18px;
  }

  .caption p {
    font-size: 14px;
  }

  .prev,
  .next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  /* Booking Section */
  .Booking {
    padding: 40px 5%;
    height: auto; /* Allow height to adjust */
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
  }

  .date-time {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .footer-col p {
    justify-content: center;
  }
  .footer-col .logo {
        display: flex;
    justify-content: center;
  }
  
  /* Services Section Adjustments */
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  
  /* Hero image container */
  .rahul-container {
    height: 70vh;
    background-attachment: scroll; /* Remove fixed background on mobile */
  }
  
  .hero {
    height: 70vh;
  }
  
  /* History image */
  .history-image img {
    max-width: 100%;
  }
}

/* Very small devices */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .services h1, .history-text h1, .booking-info h2 {
    font-size: 28px;
  }
  
  .btn-primary {
    padding: 10px 25px;
    font-size: 14px;
  }
}