:root {
  --default-color: #a2373e;
  --primary: #a2373e;
  --bg: #f9f9f9;
  --card-bg: #fff;
  --text: #333;
  --gray: #555;
  --radius: 6px;
  --gap: 1rem;
  --font: Calibri, sans-serif;
}

html, body {
  margin:0; padding:0; height:100%;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
}

.container {
  max-width:1200px; width:100%; margin:0 auto; padding:0 1rem;
  box-sizing: border-box;
}

main {
  flex:1; display: flex; flex-direction: column;
}

header {
  background:#fff; position:relative; z-index:1001;
}

/* Menu styles */
nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 15px;
  position: relative;
}

nav ul li a {
  display: block;
  padding: 10px 0;
  color: #000;
  text-decoration: none;
}

nav ul li a:hover,
nav ul li.active > a {
  color: var(--default-color);
  border-bottom: 2px solid var(--default-color);
}

nav ul li.has-children > a::after {
  content: "▾";
  margin-left: 4px;
  font-size: 0.8em;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  width: max-content;
  z-index: 100;
}

nav ul li:hover > .submenu {
  display: block;
}

.submenu li a {
  padding: 8px 20px;
  white-space: nowrap;
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    padding: 60px 0 0;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
  }
  nav ul li {
    margin: 0;
    border-bottom: 1px solid #eee;
    min-width: 0;
  }
  nav ul li a {
    padding: 14px 8px;
    font-weight: bold;
    white-space: normal;
    word-break: break-word;
  }
  .submenu {
    position: relative;
    background: transparent;
    box-shadow: none;
    width: 100%;
    display: none;
    padding-left: 1rem;
  }
  .has-children.open > .submenu {
    display: block;
  }
  .submenu li a {
    padding: 12px 40px;
    font-weight: normal;
  }
}

/* Hero */
.hero {
  position: relative;
  width: 100%; height: 500px;
}

.hero img,
.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  pointer-events:none;
}

.hero-content {
  font-weight: 700;
  font-size: 2.8rem; /* about 45px */
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  user-select:none;
}

/* Pricing Section container */
.pricing-section {
  margin: 50px auto;
  color: var(--text);
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 16px rgba(0,0,0,0.07);
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  max-width: 1100px; /* max width to constrain */
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Pricing cards base */
.pricing-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  box-sizing: border-box;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 1100px;
}

/* On hover/focus */
.pricing-card:hover,
.pricing-card:focus-within {
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Desktop: wider cards (about 80vw) */
@media (min-width: 769px) {
  .pricing-section {
    width: 100vw;         /* full viewport width */
    max-width: 100vw;
    margin-left: 50%;     /* center relative to page */
    transform: translateX(-50%);
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;     /* Optional: remove radius for edge-to-edge look */
    box-shadow: none;     /* Optional: remove shadow if not needed */
  }
  .pricing-card {
    width: 80vw;          /* wider than before */
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .pricing-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;        /* changed from 100vw to 100% */
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  /* Ensure content inside pricing cards breaks nicely */
  .pricing-card ul,
  .pricing-card li,
  .pricing-card summary,
  .pricing-card * {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  /* === MOBILE: Stack service and price vertically & center === */
  .pricing-card ul li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.6rem 0;
    gap: 0.2em;
  }
  .pricing-card ul li .service-name {
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 0.2em;
  }
  .pricing-card ul li .service-price {
    font-size: 1em;
    font-weight: bold;
    color: var(--primary);
  }
}

/* Pricing card contents */
.pricing-card details {
  cursor: pointer;
}

.pricing-card summary {
  list-style: none;
  background-color: var(--primary);
  color: #fff;
  padding: 1.25rem 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: background-color 0.3s ease;
}

.pricing-card[open] summary {
  background-color: #7f2a2d;
}

.pricing-card summary::-webkit-details-marker {
  display: none;
}

.pricing-card summary h2 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  flex-grow: 1;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.pricing-card[open] .arrow-icon {
  transform: rotate(180deg);
}

.pricing-card ul {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.4;
  border-top: 1px solid #e1e1e1;
}

/* By default: service left, price right (desktop/tablet) */
.pricing-card ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e1e1e1;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.pricing-card ul li:last-child {
  border-bottom: none;
}

/* (IMPORTANT!) For proper stacking, mark up your service and price like this:
   <li>
      <span class="service-name">Long Service Name Here</span>
      <span class="service-price">$25</span>
   </li>
*/

.pricing-card ul li:hover,
.pricing-card ul li:focus-within {
  background-color: #f9f0f1;
  border-color: var(--primary);
  outline: none;
}

summary:focus-visible {
  outline: 2px solid #7f2a2d;
  outline-offset: 2px;
}

.starting-at {
  font-style: italic;
  font-size: 0.8em;
  color: rgba(0, 0, 0, 0.5);
  margin-right: 4px;
  vertical-align: middle;
}

/* Footer */
footer {
  background: var(--default-color);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer .logo {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

footer .logo img {
  width: 200px;
  height: auto;
}

.company {
  font-size: 0.9rem;
  margin: 10px 0;
}

.social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social a img {
  width: 24px;
  height: auto;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* === FORM STYLES === */

.booking-form {
  background: var(--bg);
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.booking-form h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.booking-form .intro {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--gray);
  font-size: 1rem;
}

.form-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--gap);
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  cursor: pointer;
}

label span {
  color: var(--primary);
  margin-left: 2px;
}

input, textarea, select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  outline-offset: 2px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(162,55,62,0.2);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.error-message {
  font-size: 0.85rem;
  color: #d33;
  margin-top: 0.25rem;
  min-height: 1em;
}

.g-recaptcha {
  margin: 1rem 0;
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  width: 100%;
  font-family: var(--font);
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: #862b30;
}

/* Success message */
#successMessage {
  color: green;
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
  display: none;
}

/* Error message container */
#form-error {
  color: #d33;
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
  display: none;
}

/* Responsive tweaks for smaller devices */
@media (max-width: 599px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* === Gift Card and Advantages Sections === */
.giftcard-section {
  background: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}
.giftcard-section h2 {
  color: var(--default-color);
  font-size: 2rem;
  margin-bottom: 20px;
}
.giftcard-section p {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
}
.giftcard-section a {
  background: var(--default-color);
  color: #fff;
  border-radius: 5px;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
}

.advantages-section {
  background: #fafafa;
  padding: 80px 0;
}
.advantages-section h2 {
  text-align: center;
  color: var(--default-color);
  font-size: 2.5rem;
  margin-bottom: 60px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.advantage-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.advantage-item div:first-child {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.advantage-item div:nth-child(2) {
  padding: 25px;
  text-align: center;
}
.advantage-item h3 {
  font-size: 1.5rem;
  color: var(--default-color);
  margin-bottom: 10px;
}
.advantage-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Stack guest cards vertically on mobile */
@media (max-width: 900px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .advantage-item div:first-child {
    height: 160px;
  }
}

/* Instagram widget centered and responsive */
.instagram-widget-wrapper {
  width: 70%;
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 900px) {
  .instagram-widget-wrapper {
    width: 95%;
    margin-top: 24px;
  }
}

/* --- WEDDING PRICING SECTION IMPROVED --- */
.wedding-pricing.highlight {
  font-family: Calibri, sans-serif;
  background: #fff;
  border-radius: 10px;
  max-width: 950px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  color: #333;
}
.wedding-pricing.highlight .columns {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: stretch;
  justify-content: space-between;
}
.wedding-pricing.highlight .img-container {
  flex: 1 1 46%;
  display: flex;
  align-items: center;
}
.wedding-pricing.highlight .img-container img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  min-height: 180px;
  max-height: 330px;
}
.wedding-pricing.highlight .details {
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wedding-pricing.highlight .details h2 {
  font-size: 2rem;
  color: var(--default-color);
  margin-bottom: 0.35rem;
}
.wedding-pricing.highlight .subheading {
  margin-bottom: 1.05rem;
  color: #555;
  font-size: 1.09rem;
}
.wedding-pricing.highlight .price {
  display: flex;
  align-items: baseline;
  font-size: 2.2rem;
  color: var(--default-color);
  margin-bottom: 0.85rem;
  gap: 0.12em;
}
.wedding-pricing.highlight .price .currency {
  font-size: 1.1rem;
  vertical-align: super;
}
.wedding-pricing.highlight .price .cents {
  font-size: 1rem;
  vertical-align: super;
  margin-left: 3px;
}
.wedding-pricing.highlight .price .unit {
  font-size: 1.05rem;
  margin-left: .45rem;
  color: #555;
}
.wedding-pricing.highlight .in-salon,
.wedding-pricing.highlight .service-mode {
  font-style: italic;
  margin-bottom: 1.09rem;
  color: #666;
}
.wedding-pricing.highlight .services {
  list-style: disc inside;
  margin: 0 0 1.3rem 0;
  padding-left: 1rem;
  color: #555;
}
.wedding-pricing.highlight .services li {
  margin-bottom: 0.48rem;
  font-size: 1.02rem;
}
.wedding-pricing.highlight .btn {
  display: inline-block;
  background: var(--default-color);
  color: #fff;
  padding: 0.74rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px #a2373e10;
  font-size: 1rem;
}
.wedding-pricing.highlight .btn:hover {
  opacity: 0.92;
}
.wedding-pricing.highlight .booking-note {
  margin-top: 1.12rem;
  font-size: 0.97rem;
  color: #666;
}

/* --- Responsive: Stack wedding pricing card columns on mobile with image on top --- */
@media (max-width: 900px) {
  .wedding-pricing.highlight .columns {
    flex-direction: column;
  }
  .wedding-pricing.highlight .img-container {
    order: 1;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wedding-pricing.highlight .details {
    order: 2;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .wedding-pricing.highlight .img-container img {
    max-height: 160px;
    min-height: 90px;
    border-radius: 6px;
  }
}

/* === Modern Wedding Info Section === */
.wedding-info {
  padding: 4rem 1rem;
  background: linear-gradient(to bottom, #fdf8f8, #fff);
  font-family: var(--font);
  color: var(--text);
}

.wedding-info .container {
  max-width: 1100px;
  margin: 0 auto;
}

.wedding-info h2 {
  text-align: center;
  color: var(--default-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.wedding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.wedding-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.wedding-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.wedding-card h3 {
  color: var(--default-color);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.wedding-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.why-choose-us {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.why-choose-us h3 {
  color: var(--default-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.why-choose-us ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.why-choose-us ul li {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #444;
}

.why-choose-us ul li strong {
  color: var(--default-color);
}

.cta-btn {
  display: inline-block;
  background-color: var(--default-color);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-btn:hover {
  background-color: #862b30;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .wedding-info {
    padding: 2rem 0.5rem;
  }

  .wedding-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .wedding-card,
  .why-choose-us {
    padding: 1.2rem;
  }

  .why-choose-us h3 {
    font-size: 1.6rem;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

