:root {
    --primary: #3D2E27;
    --gold: #C9A875;
    --cream: #FDFBF9;
    --text: #5C4A42;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.custom-nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.custom-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
}

.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary);
    margin: 0 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links li a:hover, .nav-links li a.active { color: var(--gold); }

.nav-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
}

/* --- Header --- */
.service-header {
    height: 60vh;
    background: linear-gradient(135deg, var(--accent-darker) 0%, var(--accent-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.service-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin: 10px 0;
    color: var(--white);
}

.gold-text { color: var(--white); }

/* --- Table Styles --- */
.table-section { padding: 80px 0; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 36px; }

.gold-divider {
    width: 60px; height: 3px;
    background: var(--gold);
    margin: 15px auto;
}

.table-wrapper {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: left;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.price-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.price-cell { font-weight: 700; color: var(--gold); font-size: 18px; }

/*   MOBILE TABLE → SERVICE CARDS */

@media (max-width: 768px) {

    .table-wrapper {
        background: transparent;
        box-shadow: none;
    }

    .price-table {
        border-collapse: separate;
        border-spacing: 0 20px;
    }

    .price-table thead {
        display: none;
    }

    .price-table tr {
        display: block;
        background: #fff;
        border-radius: 14px;
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    }

    .price-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border: none;
        text-align: left;
        font-size: 15px;
    }

    .price-table td::before {
        content: attr(data-label);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
        color: var(--primary);
        letter-spacing: 0.5px;
    }

    .price-table td.price-cell {
        font-size: 18px;
        font-weight: 700;
        color: var(--gold);
    }
}

/* --- Pricing Cards --- */
.packages-section { padding: 80px 0; background: #f4f1ee; }

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(61,46,39,0.1);
}

.package-card.featured {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.package-card.featured .package-price { color: var(--gold); }

.ribbon {
    position: absolute;
    top: 20px; right: -10px;
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
}

.package-price {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
}

.package-price span { font-size: 16px; font-weight: 400; opacity: 0.7; }

.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.feature-list li {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.feature-list li i { color: var(--gold); margin-right: 10px; }

.feature-list li.disabled { opacity: 0.3; }

.package-btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    text-decoration: none;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
}

.package-card.featured .package-btn { background: var(--gold); color: white; border: none; }

.package-btn:hover { background: var(--gold); color: white; }

/* --- Media Queries --- */
@media (max-width: 991px) {
    .package-card.featured { transform: scale(1); }
    .nav-links { display: none; } 
    
    .price-table thead { display: none; }
    .price-table td {
        display: block;
        text-align: right;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }
    .price-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 20px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
    }
}

/* Packages CTA Buttons – Enhanced */

.packages-cta {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    height: 30vh;
    flex-wrap: wrap;
}

.packages-cta .package-btn {
    position: relative;
    max-width: 240px;
    padding: 16px 28px;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-radius: 14px;
    text-align: center;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/*   Primary CTA – Order */

.primary-cta {
    background: linear-gradient(135deg, var(--gold), #ffcc70);
    color: #fff;
    border: none;
}

.primary-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.25);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.primary-cta:hover::before {
    transform: translateX(0);
}

.primary-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Secondary CTA – Price */
.secondary-cta {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.secondary-cta:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}


/* Focus & Tap (Mobile) */

.package-btn:active {
    transform: scale(0.96);
}

.package-btn:focus-visible {
    outline: 3px dashed var(--gold);
    outline-offset: 4px;
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 768px) {
    .packages-cta {
        margin-top: 50px;
        gap: 18px;
    }

    .packages-cta .package-btn {
        max-width: 100%;
        width: 260px;
        font-size: 15px;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .packages-cta {
        flex-direction: column;
        gap: 15px;
    }

    .packages-cta .package-btn {
        width: 100%;
        max-width: 320px;
        padding: 16px;
        font-size: 15px;
    }
}
