/* Base Styles */
:root {
    /* Brand: Black & Gold palette */
    --brand-gold: #D4AF37; /* primary gold */
    --brand-gold-deep: #B68B17; /* darker gold for accents */
    --brand-black: #0b0b0b; /* deep black */
    --primary-color: var(--brand-gold);
    --secondary-color: var(--brand-black);
    --text-color: #222222; /* dark text for body content */
    --bg-color: #fffaf6; /* warm cream background to complement gold */
    --light-bg: #fbf7f0; /* subtle warm surface */
    --border-color: #e6dcc9; /* warm border */
    --accent-color: var(--brand-gold);
    /* page background: subtle top vignette blending black into warm cream */
    --page-bg: linear-gradient(180deg, rgba(11,11,11,0.04) 0%, #fffaf6 50%);
    /* header background: black to deep-gold blend for a refined header */
    --header-bg: linear-gradient(90deg, var(--brand-black) 0%, #2a2108 55%, rgba(212,175,55,0.12) 100%);
    /* header text colors */
    --header-text-color: #ffffff; /* nav/text color in header */
    --header-title-color: #ffffff; /* logo/title color */

    /* alternate palette presets (used via body[data-theme]) */
    --page-bg-lav: linear-gradient(180deg, #f8f5ff 0%, #fffaf6 100%);
    --page-bg-peach: linear-gradient(180deg, #fff8f5 0%, #fff3ee 100%);
    --page-bg-teal: linear-gradient(180deg, #f3fffb 0%, #f7fff9 100%);
    --page-bg-indigo: linear-gradient(180deg, #f4f6ff 0%, #f1f3ff 100%);
    /* header text colors (default) */
    --header-text-color: #ffffff; /* fallback */
    --header-title-color: #ffffff; /* fallback */
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    /* subtle page background that complements the purple/pink palette */
    background: var(--page-bg);
    color: #333; /* Optional: sets text color */
    margin: 0; /* removes default browser margins */
}

/* Theme bindings: set --page-bg from presets when a theme is selected */
body[data-theme="lavender"] { --page-bg: var(--page-bg-lav); }
body[data-theme="peach"] { --page-bg: var(--page-bg-peach); }
body[data-theme="teal"] { --page-bg: var(--page-bg-teal); }
body[data-theme="indigo"] { --page-bg: var(--page-bg-indigo); }

/* make header use the header background variable */
body[data-theme="peach"] { --header-bg: linear-gradient(90deg, var(--brand-black) 0%, #2a2108 55%, rgba(212,175,55,0.12) 100%); }
/* stronger header text contrast for peach */
body[data-theme="peach"] { --header-text-color: #4a1f11; --header-title-color: #4a1f11; }


/* Theme picker UI */
.theme-picker {
    position: fixed;
    right: 14px;
    bottom: 20px;
    background: white;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2000;
}

.theme-picker:focus { outline: 2px solid rgba(138,43,226,0.18); }

.theme-picker .dot { width: 28px; height: 28px; border-radius: 50%; }

.theme-toast {
    position: fixed;
    right: 80px;
    bottom: 28px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 2000;
}

.theme-toast.show { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .theme-toast { transition: none; }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding:  15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-description {
    font-size: 1.125rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #555;
}

/* Header */
header {
    background-color: var(--header-bg, var(--bg-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* header text and logo colors use variables for accessible contrast */
header {
    color: var(--header-text-color, var(--text-color));
}

header .logo h1 {
    color: var(--header-title-color, var(--primary-color));
}

header .main-nav a {
    /* Menu links should be black by default for clear contrast */
    color: var(--brand-black);
}

/* Mobile menu toggle (hamburger) - make clearly visible on header */
.mobile-menu-toggle i {
    color: var(--brand-gold);
}

.mobile-menu-toggle.active i, .mobile-menu-toggle i.active {
    color: var(--brand-gold-deep);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* align header container with the global .container so contents line up */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.65rem 15px;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 120px; /* slightly smaller logo to fit mobile header */
  height: auto; /* keeps the image proportional */
  margin-right: 50px; /* adds space between image and text */
}

/* indicate the logo is interactive */
.logo, .logo img {
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    /* Ensure nav links are black by default and smoothly transition on hover */
    color: var(--brand-black);
    font-weight: 500;
    transition: color 0.3s;
}

/* CTA inside nav list */
.main-nav .nav-cta {
    display: flex;
    align-items: center;
}

.main-nav .nav-cta .book-now-btn {
    margin: 0;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
}

.main-nav a:hover, .main-nav a.active {
    /* On hover or when active, nav links turn gold to match brand */
    color: var(--brand-gold);
}

.book-now-btn {
    background-color: #0b0b0b; /* deep black */
    color: #D4AF37; /* gold */
    border: 2px solid #D4AF37;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    margin-left: 2rem;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.book-now-btn:hover {
    background-color: #D4AF37; /* gold */
    color: #0b0b0b; /* black */
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('attached_assets/IMG_0473.JPG');
    background-size: cover;
    background-position: center;
    color: white;
    /* reduce top padding so hero sits closer to the sticky header */
    padding: 4rem 0 6rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #0b0b0b; /* deep black */
    color: #D4AF37; /* gold */
    border: 2px solid #D4AF37;
    border-radius: 6px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.2s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.cta-button:hover {
    background-color: #D4AF37; /* gold */
    color: #0b0b0b; /* black */
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 0.5rem 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 1.5rem;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.service-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.price {
    background-color: rgba(212, 175, 55, 0.08); /* soft gold wash */
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
}

.service-meta {
    display: flex;
    gap: 1rem;
    color: #666;

/* Read-more truncation helper
     - Add .read-more-wrapper around a block of text and .read-more-content to control collapse.
     - JS will add/remove these classes and show the toggle button only when content overflows. */
.read-more-wrapper { position: relative; }
.read-more-content {
    overflow: hidden;
    transition: max-height 0.28s ease;
}
.read-more-content.collapsed {
    /* default collapsed height: ~3 lines (adjustable in JS by computing line-height) */
    max-height: 4.5em;
}
.read-more-toggle {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--brand-gold, #d4af37);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
}
.read-more-toggle:focus { outline: 2px solid rgba(212,175,55,0.25); outline-offset: 2px; }
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-description {
    color: #555;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-service-btn {
    width: 100%;
    background-color: #0b0b0b; /* deep black */
    color: #D4AF37; /* gold */
    border: 2px solid #D4AF37;
    border-radius: 6px;
    padding: 0.75rem;
    font-weight: 600;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.book-service-btn:hover {
    background-color: #D4AF37; /* gold */
    color: #0b0b0b; /* black */
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    /* small adjustments for narrow screens inside the 768px breakpoint */
    .price {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    .service-card .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* mobile toggle active state */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    color: white;
}

.gallery-caption h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-caption p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse .about-content {
    direction: ltr;
}

.about-content h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* Reduce the specific 'Serene Beauty with Braided Curls.png' about image size
   Keep this rule specific to the about area so other images are unaffected. */
.about-image.shrink img,
.about-grid .about-image.shrink img {
    width: auto;            /* allow intrinsic sizing constrained by max-width */
    max-width: 360px;      /* limit width for desktop */
    height: auto;          /* keep aspect ratio */
    display: block;
    margin: 0 auto;        /* center within grid cell */
    object-fit: cover;
}

@media (max-width: 900px) {
    .about-image.shrink img {
        max-width: 300px;
    }
}

@media (max-width: 520px) {
    .about-image.shrink img {
        max-width: 220px;
    }
}

.commitment-box {
    background-color: rgba(212, 175, 55, 0.045); /* very subtle gold wash */
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 4rem;
}

.commitment-box h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment-box p {
    max-width: 800px;
    margin: 0 auto;
}

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

.cta-box h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-box p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.location-btn {
    display: inline-block;
    background-color: #0b0b0b; /* deep black to match Book Now */
    color: #D4AF37; /* gold text */
    border: 2px solid #D4AF37;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.location-btn:hover {
    background-color: #D4AF37; /* gold */
    color: #0b0b0b; /* black */
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.location-btn:focus { outline: 3px solid rgba(212,175,55,0.18); outline-offset: 2px; }

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Ensure contact blocks align with site's container layout and don't overflow */
.contact-info, .contact-form {
    max-width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 320px; /* reasonable default height */
    border: 0;
    display: block;
}

/* Align headings inside contact column with main section titles */
.contact-info h3, .contact-form h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* Make sure contact-grid collapses gracefully on small screens */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .map-container iframe { height: 260px; }
    .contact { padding: 3rem 0; }
}

.contact-info h3, .contact-form h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.08); /* soft gold wash */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info p {
    color: #555;
}

.info a {
    color: #555;
    transition: color 0.3s;
}

.info a:hover {
    color: var(--primary-color);
}

.map-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.map-links a {
    font-size: 0.75rem;
    background-color: white;
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.map-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    background-color: #0b0b0b; /* deep black */
    color: #D4AF37; /* gold */
    border: 2px solid #D4AF37;
    border-radius: 6px;
    padding: 0.875rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.submit-btn:hover {
    background-color: #D4AF37; /* gold */
    color: #0b0b0b; /* black */
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.submit-btn:focus { outline: 3px solid rgba(212,175,55,0.18); outline-offset: 2px; }

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 700px;
    margin: 5% auto;
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
    z-index: 2000; /* ensure it's above nav overlays */
    pointer-events: auto;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.step {
    text-align: center;
    color: #777;
    position: relative;
    font-weight: 500;
}

.step.active {
    color: var(--primary-color);
    font-weight: 600;
}

.step-content h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.back-btn, .next-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.back-btn {
    background-color: #eee;
    border: none;
    color: #555;
}

.back-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.next-btn {
    background-color: var(--primary-color);
    border: none;
    color: white;
}

.next-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.confirm-booking-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.875rem;
    font-weight: 600;
    width: 100%;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3.75rem;
    margin-bottom: 3rem;
}

.footer-info h3, .footer-contact h3, .footer-hours h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-info p {
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-media a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.75rem;
    width: 20px;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid.reverse {
        direction: ltr;
    }

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

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

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

@media (max-width: 768px) {
    /* keep the nav in the flow but collapsed so we can animate its height */
    .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-height: 0; /* collapsed */
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height 260ms ease, opacity 200ms ease, transform 260ms ease;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Keep the toggle above the mobile nav overlay so it's always clickable */
    .mobile-menu-toggle {
        position: relative;
        /* keep above nav overlay but below modal (modal z-index:1100) */
        z-index: 1050;
        pointer-events: auto;
    }

    /* hide the header CTA by default on mobile; it will appear inside the expanded menu */
    .book-now-btn {
        display: none;
    }

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


    /* Mobile menu open state (JS toggles .show on .main-nav) */
    .main-nav.show {
        /* allow enough height for the links; keeps layout predictable */
        max-height: 1000px;
        opacity: 1;
        transform: translateY(0);
        position: absolute;
        top: 72px; /* below header */
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        padding: 0.5rem 1rem 1.25rem;
        gap: 0.25rem;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 1000;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 6px;
        color: var(--text-color);
        font-weight: 600;
        text-align: center;
    }

    .main-nav .nav-cta .book-now-btn {
        display: block;
        width: 100%;
        padding: 0.75rem;
        background-color: #0b0b0b; /* deep black */
        color: #D4AF37; /* gold */
        border: 2px solid #D4AF37;
        border-radius: 8px;
        font-weight: 700;
    }

    .main-nav a.active, .main-nav a:hover {
        background-color: rgba(138,43,226,0.08);
        color: var(--primary-color);
    }

    /* show the primary CTA inside the mobile menu when open */
    /* When the mobile nav is open, show the CTA inside the menu area and make it full-width */
    .main-nav.show + .book-now-btn,
    .price {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #0b0b0b; /* deep black */
        color: #D4AF37; /* gold */
        border: 2px solid #D4AF37;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: none;
        cursor: pointer;
        white-space: nowrap;
    }

    /* Make sure the price badge doesn't overflow on small cards */
    .service-card .service-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    @media (max-width: 576px) {
        .price {
            font-size: 0.85rem;
            padding: 5px 8px;
        }
        .service-card .service-header {
            flex-direction: column;
            align-items: flex-start;
        }
    }
    
    /* mobile toggle active state */
    .mobile-menu-toggle.active i {
        transform: rotate(90deg);
        color: var(--primary-color);
    }
}

/* Make service selection inside the booking modal fit on small screens */
@media (max-width: 768px) {
    .service-selection {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        max-height: calc(60vh);
        overflow-y: auto;
        padding-right: 6px; /* allow for scrollbar */
        box-sizing: border-box;
    }

    .service-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.6rem 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background-color: #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.03);
        min-width: 0; /* prevent overflowing flex items */
    }

    .service-option-details {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .service-option-details h4 {
        margin: 0 0 0.25rem 0;
        font-size: 1rem;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: break-word;
        text-overflow: ellipsis;
    }

    .service-option-meta {
        display: flex;
        gap: 0.5rem;
        font-size: 0.9rem;
        color: #666;
        flex-wrap: wrap;
    }

    .service-option-select {
        flex: 0 0 auto;
        margin-left: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .service-option input[type="radio"] {
        width: auto;
        height: auto;
    }

    /* Make sure any media inside the option (if present) doesn't overflow */
    .service-option img, .service-option video {
        max-width: 80px;
        height: auto;
        border-radius: 6px;
        object-fit: cover;
        flex-shrink: 0;
    }
}

/* Make booking modal fit smaller screens */
@media (max-width: 768px) {
    .modal {
        padding: 1rem; /* so modal-content can use full available width */
    }

    .modal-content {
        width: calc(100% - 32px);
        max-width: 700px;
        margin: 6% auto;
        padding: 1rem;
        box-sizing: border-box;
    }

    /* Allow the booking steps to wrap instead of forcing a wide row */
    .booking-steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .step {
        flex: 1 1 45%; /* allow steps to take available width and wrap */
        min-width: 0;
    }

    .step .step-number {
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {
    .modal-content {
        width: calc(100% - 20px);
        padding: 0.75rem;
        margin: 8% auto;
    }

    .step {
        flex-basis: 100%;
    }
}

@media (max-width: 576px) {
    .service-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 5rem 0;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }

    .booking-steps {
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }

    .step {
        margin-bottom: 0.5rem;
    }
}
.social-media a i {
  pointer-events: auto;
}
.service-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.service-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-video {
  max-width: 100%;
  height: auto;
  display: block;
}


.hero {
    position: relative;
    width: 100%;
    /* slightly reduce full-viewport height so top spacing is smaller on large screens */
    height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* makes text easier to read */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  background-color: #ff4d6d;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e63950;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    padding: 0 1rem;
  }

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

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

  .cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}




.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.service-card {
  background-color: #fff8fc; /* soft blush pink */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 230px;
  overflow: hidden;
}

.service-image img,
.service-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img,
.service-card:hover .service-image video {
  transform: scale(1.03);
}

.service-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.service-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3c1053;
  line-height: 1.4;
  flex: 1 1 60%;
}

.price {
  background-color: #f1e7fc; /* pastel purple */
    color: var(--brand-gold);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  flex: 0 0 auto;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.service-meta span {
  background-color: #f7f7f7;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}

.service-description {
  flex-grow: 1;
  font-size: 0.875rem;
  color: #444;
  margin-bottom: 1rem;
}

.book-service-btn {
    margin-top: auto;
    background-color: #0b0b0b; /* deep black */
    color: #D4AF37; /* gold */
    border: 2px solid #D4AF37;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.book-service-btn:hover {
    background-color: #D4AF37; /* gold */
    color: #0b0b0b;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Responsive Layout */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-radius: 10px;
  }
}




.tiktok-reel-gallery {
    background: linear-gradient(180deg, rgba(11,11,11,0.06) 0%, var(--light-bg) 100%);
    padding: 4rem 1rem;
    overflow-x: hidden;
}

.tiktok-reel-gallery .container {
  max-width: 1200px;
  margin: 0 auto;
}

.tiktok-reel-gallery .section-title {
    font-size: 2.5rem;
    color: var(--brand-gold-deep);
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: center;
}

.tiktok-reel-gallery .section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
}

.tiktok-reel-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.tiktok-reel {
    min-width: 340px;
    max-width: 340px;
    scroll-snap-align: start;
    background: linear-gradient(180deg, #fffef8 0%, #fbf7f0 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.tiktok-reel:hover {
  transform: scale(1.02);
}

/* Read more button for truncated descriptions */
.read-more-btn {
    display: inline-block;
    background-color: var(--brand-gold); /* gold by default */
    color: var(--brand-black);
    border: 2px solid var(--brand-black);
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.18s;
}
.read-more-btn:hover {
    background-color: var(--brand-black); /* invert on hover */
    color: var(--brand-gold);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Ensure service card actions align: read-more above the book button and maintain spacing */
.service-card { display: flex; flex-direction: column; }
.service-info { flex: 1 1 auto; display: flex; flex-direction: column; }
.service-description { margin-bottom: 0.5rem; }
.read-more-btn { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.book-service-btn { margin-top: auto; }

.tiktok-reel blockquote {
  width: 100% !important;
  margin: 0 !important;
}

.service-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-description.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
  overflow: visible;
  max-height: none;
}

.read-more-btn {
    margin-top: 0.5rem;
    background-color: var(--brand-gold); /* gold by default */
    color: var(--brand-black);
    border: 2px solid var(--brand-black);
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.18s;
    display: inline-block;
}

.read-more-btn:hover {
    background-color: var(--brand-black); /* invert on hover */
    color: var(--brand-gold);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ===== Additional focused mobile fixes ===== */
@media (max-width: 480px) {
    /* Header: reduce padding and ensure logo fits */
    header .container { padding: 0.5rem 12px; }
    .logo img { width: 90px; margin-right: 12px; }
    .mobile-menu-toggle { font-size: 1.2rem; }

    /* Nav links: increase tap area and ensure readable contrast */
    .main-nav.show { top: 60px; padding: 0.5rem; }
    .main-nav a { padding: 12px; font-size: 0.95rem; }

    /* Hero: reduce text and ensure CTA fits */
    .hero { height: 56vh; padding: 0 12px; }
    .hero-content h1 { font-size: 1.5rem; line-height: 1.25; }
    .hero-content p { font-size: 0.9rem; }
    .cta-button { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

    /* Services grid: stack fully and remove large gaps */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; padding: 0 12px; }
    .service-card { margin: 0; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
    .service-image { height: 180px; }

    /* Videos: ensure they do not exceed container and reduce autoplay visual noise */
    .service-image video, .hero-video { max-height: 100%; height: 100%; object-fit: cover; }

    /* Tiktok reel: make items slightly smaller to fit and allow easy horizontal swipe */
    .tiktok-reel { min-width: 300px; max-width: 300px; }

    /* Forms: full width inputs and buttons with larger hit targets */
    .contact-form input, .contact-form textarea, .booking-form input, .booking-form textarea {
        width: 100%;
        font-size: 0.95rem;
        padding: 10px 12px;
    }
    .contact-form .submit-btn, .book-now-btn, .book-service-btn {
        width: 100%;
        padding: 12px 14px;
        font-size: 1rem;
    }

    /* Modal: make full screen friendly */
    .modal-content { width: calc(100% - 24px); max-width: 520px; margin: 6% auto; padding: 1rem; }

    /* Footer spacing */
    .footer-grid { gap: 1rem; padding: 1.25rem; }
}

@media (max-width: 768px) {
    /* Slightly larger mobiles/tablets tweaks */
    .services-grid { grid-template-columns: 1fr; padding: 0 18px; }
    .hero { height: 64vh; }
    .hero-content h1 { font-size: 1.8rem; }
    .service-image { height: 200px; }
}

/* small accessibility tweak: ensure focus outlines are visible on small screens */
@media (max-width: 992px) {
    a:focus, button:focus, input:focus, textarea:focus {
        outline: 3px solid rgba(212,175,55,0.18);
        outline-offset: 2px;
    }
}

/* end mobile fixes */




