/* ===== CSS Variables - Estique Clinic Theme ===== */
:root {
  --primary: #d7a67b;
  --primary-dark: #d4952f;
  --primary-light: #f5c67a;
  --secondary: #0f1923;
  --gradient-primary: linear-gradient(135deg, #d7a67b 0%, #c49568 100%);
  --secondary-dark: #0f1923;
  --dark: #222222;
  --text: #444444;
  --text-light: #666666;
  --white: #ffffff;
  --off-white: #fff9f0;
  --light-bg: #fff8e7;
  --cream-bg: #fffbf5;
  --border: #e5e5e5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--gradient-primary);
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--gradient-primary);
  filter: brightness(1.1);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  background: var(--white);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 60px;
  width: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-phone,
.header-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
}

.header-phone i,
.header-email i {
  color: var(--primary);
}

.header-phone:hover,
.header-email:hover {
  color: var(--primary);
}

.whatsapp-btn {
  width: 45px;
  height: 45px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* ===== Hero Section ===== */
.hero {
  background: var(--light-bg);
  padding: 60px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 38px;
  color: var(--dark);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 15px;
}

.hero-treatments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.usfda-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a5f2a, #2d8a3e);
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
}

.usfda-badge i {
  font-size: 14px;
}

.treatment-tags {
  background: rgba(180, 128, 100, 0.15);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(180, 128, 100, 0.3);
}

.hero-features {
  margin-bottom: 20px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.hero-features li i {
  color: var(--primary);
  font-size: 16px;
}

.hero-offer {
  font-size: 14px;
  margin-bottom: 25px;
}

.hero-offer .price {
  color: var(--primary);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
}

.whatsapp-float {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-md);
}

/* ===== Booking Bar ===== */
.booking-bar {
  background: var(--secondary);
  padding: 25px 0;
}

.booking-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.booking-form .form-group {
  flex: 1;
  min-width: 150px;
}

.booking-form label {
  display: block;
  color: var(--white);
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 500;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

.booking-form .btn {
  padding: 12px 35px;
  height: fit-content;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  color: var(--dark);
}

/* ===== Treatments Section ===== */
.treatments-section {
  padding: 70px 0;
  background: var(--white);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.treatment-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.treatment-image {
  height: 250px;
  overflow: hidden;
}

.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-card h3 {
  font-size: 18px;
  padding: 15px 15px 5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.treatment-card .btn {
  margin: 10px 15px 20px;
  padding: 8px 20px;
  font-size: 13px;
}

/* ===== Approach Section ===== */
.approach-section {
  padding: 70px 0;
  background: var(--cream-bg);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.approach-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.approach-icon {
  width: 70px;
  height: 70px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.approach-icon i {
  font-size: 28px;
  color: var(--primary);
}

.approach-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.approach-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== Trust Section ===== */
.trust-section {
  padding: 70px 0;
  background: var(--white);
}

.trust-grid {
  text-align: center;
}

.trust-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.trust-column {
  text-align: left;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 15px;
}

.trust-item i {
  color: var(--primary);
  font-size: 18px;
}

/* ===== Specialist Section ===== */
.specialist-section {
  padding: 70px 0;
  background: var(--light-bg);
}

.specialist-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.specialist-image {
  position: relative;
}

.specialist-image > img {
  width: 100%;
  border-radius: 20px;
}

.specialist-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 250px;
}

.specialist-badge span {
  display: block;
  font-weight: 700;
  color: var(--dark);
  font-size: 16px;
}

.specialist-badge small {
  color: var(--text-light);
  font-size: 12px;
}

.specialist-content h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.specialist-features {
  margin-bottom: 20px;
}

.specialist-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.specialist-features li i {
  color: var(--primary);
  margin-top: 3px;
}

.specialist-content p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.specialist-cta {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

/* ===== Results Section ===== */
.results-section {
  padding: 70px 0;
  background: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.result-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Cost Section ===== */
.cost-section {
  padding: 70px 0;
  background: var(--cream-bg);
}

.cost-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cost-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.cost-range {
  font-size: 16px;
  margin-bottom: 25px;
}

.cost-range strong {
  color: var(--primary);
}

.cost-factors {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.cost-factors span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.cost-factors i {
  color: var(--primary);
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: 70px 0;
  background: var(--white);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}

.faq-question span {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.faq-question i {
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 15px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-light);
  padding-top: 10px;
}

/* ===== Videos Section ===== */
.videos-section {
  padding: 70px 0;
  background: var(--cream-bg);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.video-card-center {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.video-card-center .video-card {
  width: calc(33.333% - 7px);
}

.video-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumbnail {
  position: relative;
  height: 180px;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.play-btn:hover {
  background: var(--primary-dark);
  transform: translate(-50%, -50%) scale(1.1);
}

.videos-cta {
  text-align: center;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 70px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.testimonial-header strong {
  font-size: 15px;
  color: var(--dark);
}

.rating {
  display: flex;
  gap: 3px;
}

.rating i {
  color: #ffb800;
  font-size: 14px;
}

.testimonial-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.testimonial-card small {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-card small i {
  color: #4285f4;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--cream-bg) 100%);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-content > p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0 30px;
  flex-wrap: wrap;
}

.cta-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.cta-features li i {
  color: var(--primary);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ===== Appointment Section ===== */
.appointment-section {
  padding: 70px 0;
  background: var(--white);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.clinic-info {
  margin-bottom: 30px;
}

.clinic-logo {
  height: 50px;
  margin-bottom: 15px;
}

.clinic-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.clinic-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-score {
  background: var(--secondary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 700;
}

.rating-stars {
  color: #ffb800;
}

.review-count {
  font-size: 13px;
  color: var(--text-light);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.clinic-addresses {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--cream-bg);
  padding: 20px;
  border-radius: 12px;
}

.address-icon {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-icon i {
  color: var(--primary);
  font-size: 18px;
}

.address-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  font-family: 'Poppins', sans-serif;
}

.address-content p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.address-content p.hours {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.address-content a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.address-content a:hover {
  color: var(--primary-dark);
}

.appointment-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.appointment-form .form-group {
  margin-bottom: 20px;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.appointment-form input:focus,
.appointment-form select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== Footer ===== */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

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

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-link i {
  color: var(--primary);
  font-size: 18px;
}

.footer-contact h4 {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-contact p.hours {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact i {
  color: var(--primary);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== WhatsApp Fixed Button ===== */
.whatsapp-fixed {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-grid,
  .specialist-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
  }

  .treatments-grid,
  .approach-grid,
  .results-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-card-center .video-card {
    width: calc(50% - 5px);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 20px;
  }

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

  .footer-brand {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    gap: 15px;
  }

  .header-contact {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-treatments {
    gap: 6px;
    margin-bottom: 15px;
  }

  .usfda-badge {
    padding: 5px 10px;
    font-size: 11px;
  }

  .usfda-badge i {
    font-size: 11px;
  }

  .treatment-tags {
    padding: 4px 8px;
    font-size: 11px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .booking-form {
    flex-direction: column;
  }

  .booking-form .form-group {
    width: 100%;
  }

  .treatments-grid,
  .approach-grid,
  .results-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .video-card-center .video-card {
    width: 100%;
  }

  .trust-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 20px;
  }

  .trust-column {
    margin-bottom: 0;
  }

  .trust-item {
    margin-bottom: 10px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cost-factors {
    flex-direction: column;
    align-items: center;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-contact {
    justify-content: center;
    width: 100%;
  }

  .footer-link {
    justify-content: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .specialist-badge {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .specialist-cta {
    flex-direction: column;
  }
}

/* ===== Popup Modal ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.popup-overlay.active .popup-modal {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border: none;
  background: var(--light-bg);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 10;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--primary);
  color: var(--white);
}

.popup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.popup-image {
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  background: var(--cream-bg);
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.popup-form-section {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-form-section h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.popup-form-section h3 .highlight {
  color: var(--primary);
}

.popup-form-section > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 25px;
}

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

.popup-form-group input,
.popup-form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.popup-form-group input:focus,
.popup-form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.popup-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.popup-note i {
  color: var(--primary);
}

/* Popup Responsive */
@media (max-width: 768px) {
  .popup-content {
    grid-template-columns: 1fr;
  }
  .btn {
    width: auto;
    align-items: center;
  }
  .popup-image {
    display: none;
  }
  .booking-form {
    align-items: center;
  }
  .popup-modal {
    max-width: 95%;
  }

  .popup-form-section {
    padding: 30px 20px;
  }

  .popup-form-section h3 {
    font-size: 20px;
  }
}
