/* Modern Home Sugaring Page Styles */

/* Override Bootstrap text colors */
p, h1, h2, h3, h4, h5, h6, li, td, th {
    color: #000 !important;
}

/* Minimal custom styles - only what Bootstrap doesn't provide */
.modern-sugaring-hero {
    height: calc(100vh - 155px); /* 100vh minus global-notification (40px) + mainnav (115px) */
}

.hero-image-container {
    flex: 1 1 auto;
    min-height: 0;
}

.hero-text-container {
    flex: 0 0 auto;
}

.hero-text-content {
    max-width: 100%;
}

.bg-gradient-to-top {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 1;
}

.object-fit-cover {
    object-fit: cover;
    object-position: center;
}

/* Table Styles */
.modern-home-sugaring-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-home-sugaring-table thead th:first-child {
    border-top-left-radius: 12px;
}

.modern-home-sugaring-table thead th:last-child {
    border-top-right-radius: 12px;
}

.modern-home-sugaring-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.modern-home-sugaring-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.modern-home-sugaring-table thead th {
    background-color: #f9f8f4;
    font-weight: 700;
    border-bottom: 2px solid #dee2e6;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

.modern-home-sugaring-table thead th:first-child {
    border-left: 1px solid #dee2e6;
}

.modern-home-sugaring-table thead th:last-child {
    border-right: 1px solid #dee2e6;
}

.modern-home-sugaring-table thead th:nth-child(2) {
    background-color: #fefefe;
}

.modern-home-sugaring-table thead th:nth-child(3) {
    background-color: #b9d4b9;
}

.modern-home-sugaring-table tbody td {
    vertical-align: middle;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.modern-home-sugaring-table tbody td:first-child {
    border-left: 1px solid #dee2e6;
}

.modern-home-sugaring-table tbody td:last-child {
    border-right: 1px solid #dee2e6;
}

.modern-home-sugaring-table tbody tr:last-child td {
    border-bottom: 1px solid #dee2e6;
}

.modern-home-sugaring-table tbody td:nth-child(2) {
    background-color: #fefefe;
}

.modern-home-sugaring-table tbody td:nth-child(3) {
    background-color: #b9d4b9;
}

.modern-home-sugaring-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

.modern-home-sugaring-table {
    color: #000;
}

/* Make all text black, override Bootstrap defaults */
.modern-home-sugaring-table th,
.modern-home-sugaring-table td {
    color: #000;
}

/* Make sup elements (® symbol) black */
sup {
    color: #000 !important;
}

/* Modern Features Scroll Section */
.modern-features-section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.modern-features-section .container-fluid {
    overflow-x: hidden;
    max-width: 100vw;
}

.modern-features-scroll {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.modern-features-container {
    overflow-x: auto;
    overflow-y: hidden;
}

.modern-features-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modern-features-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.modern-features-track {
    padding-bottom: 1rem;
    padding-right: 1.5rem;
    /* padding-left will be set dynamically via JavaScript to align with heading */
}

@media (max-width: 991.98px) {
    .modern-features-track {
        padding-left: 1.5rem;
    }
    
    .modern-features-nav-container {
        padding-right: 1.5rem;
    }
}

.modern-feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1.5rem 0 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.modern-feature-card > div {
    padding-bottom: 1.5rem;
}

.modern-feature-card .mt-auto {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: -1.5rem;
    margin-top: 0;
}

.modern-feature-card .mt-auto img {
    border-radius: 0;
}

.modern-features-nav-container {
    /* padding-right will be set dynamically via JavaScript to align with heading */
    gap: 0.5rem;
}

.modern-features-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.modern-features-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modern-features-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modern-features-nav .material-symbols-outlined {
    font-size: 24px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .modern-home-sugaring-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .modern-home-sugaring-table {
        font-size: 0.85rem;
    }
    
    .modern-home-sugaring-table thead th,
    .modern-home-sugaring-table tbody td {
        padding: 0.5rem;
    }
    
    .modern-feature-card {
        width: 280px !important;
    }
}

