/* Services Page Specific Styling */
.services-page-container {
    background-color: #ffffff;
    color: #333;
    padding: 40px 5%;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
}

.services-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.services-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-page-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 2px solid #000;
    font-size: 0.9rem;
}

.home-btn:hover {
    background-color: #e63946;
    color: #fff;
    transform: translateY(-2px);
}

.home-btn img {
    width: 16px;
    height: 16px;
}

/* Category Sections */
.category-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e63946;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #fff;
    border-color: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.1);
}

.service-info {
    flex: 1;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.service-duration {
    font-size: 0.9rem;
    color: #666;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e63946;
    background: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    border: 2px solid #e63946;
}

/* No services message */
.no-services {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 60px 0;
    font-size: 1.1rem;
}

/* Action buttons */
.action-buttons {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid #000;
    margin: 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #e63946;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid #000;
    margin: 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== EXACT HEADER FROM INDEX ===== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    background-color: #000;
    padding: 35px 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;               /* Stick to top */
    z-index: 1000;        /* Ensure it stays above content */
}

.nav-left .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.nav-center, .nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    left: 25px;
    color: #fff;
}

.nav-center a, .nav-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.nav-center a img, .nav-right a img {
    width: 20px;
    height: 20px;
}

.nav-center a:hover, .nav-right a:hover {
    color: #d00;
    transform: scale(1.05);
}

/* Menu button */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: white;
    font-weight: bold;
}

.menu {
    font-weight: bold;
    font-size: 20px;
    color: white;
}

.menu-btn img {
    width: 25px;
    height: 25px;
}

/* Side panel */
.side-panel {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    border-left: 3px solid #d00;
    padding: 15px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.side-panel.active {
    right: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.panel-header h3 {
    font-weight: bold;
}

.panel-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #d00;
    cursor: pointer;
}

/* Panel links */
.side-panel a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    padding: 6px 0;
    border-radius: 4px;
    transition: 0.3s;
}

.side-panel a img {
    width: 20px;
    height: 20px;
}

.side-panel a:hover {
    color: #d00;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1000;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== EXACT FOOTER FROM INDEX ===== */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 40px 8%;
    font-family: 'Segoe UI', sans-serif;
    border-top: 3px solid #e63946;
}

/* Constrain width and center content for large screens */
.site-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Optional column wrappers to ensure predictable sizing */
.site-footer .footer-col {
    flex: 1 1 250px; /* grows, but can shrink to 250px */
    min-width: 220px; /* prevents overly narrow columns */
}

.site-footer .footer-content p {
    margin: 0 0 14px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.15s ease;
}

.site-footer .footer-links a:hover {
    color: #e63946;
    transform: translateX(2px);
}

.site-footer .footer-social {
    display: flex;
    gap: 14px;
    flex-direction: column;
}

.site-footer .footer-social a {
    color: #fff;
    line-height: 1; /* tighter icon line-height to reduce jumpiness */
    transition: color 0.25s ease, transform 0.15s ease;
}

.site-footer .footer-social a:hover {
    color: #e63946;
    transform: scale(1.08);
}

.footer-bottom {
    text-align: center;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #aaa;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Responsive: hide center on small screens */
@media (max-width: 850px) {
    .nav-center {
        display: none;
    }
}

/* Services Page Responsive */
@media (max-width: 768px) {
    .services-page-container {
        padding: 30px 3%;
    }

    .services-page-header h1 {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-price {
        align-self: flex-start;
    }

    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
}

/* Tablet: stack columns, center text, improve spacing */
@media (max-width: 900px) {
    .site-footer {
        padding: 32px 6%;
    }

    .site-footer .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 24px;
    }

    .site-footer .footer-col {
        width: 100%;
        max-width: 600px; /* comfortable measure for readability */
    }

    .site-footer .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .site-footer .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-page-container {
        padding: 20px 3%;
    }

    .services-page-header h1 {
        font-size: 1.8rem;
    }

    .services-page-header .subtitle {
        font-size: 1rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-price {
        font-size: 1.1rem;
    }

    .category-section {
        padding: 20px 15px;
    }
    
    .service-item {
        padding: 12px 15px;
    }

    .home-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }

    /* Mobile: tighter padding, larger tap targets, single column links */
    .site-footer {
        padding: 28px 5%;
    }

    .site-footer .footer-content p {
        font-size: 1rem; /* slightly larger for legibility */
    }

    .site-footer .footer-links a {
        padding: 8px 6px; /* bigger hit area */
    }

    .footer-bottom {
        margin-top: 22px;
        padding-top: 14px;
        font-size: 0.85rem;
    }
}

/* Additional small screen adjustments */
@media (max-width: 360px) {
    .services-page-header h1 {
        font-size: 1.6rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}