/*
Author:         Parker Atwood
Description:    Main stylesheet for Skintillating Aesthetics and Nails.

TABLE OF CONTENTS
-----------------------------------
1.  VARIABLES
2.  BASE STYLES
3.  HEADER & NAVIGATION
4.  FOOTER
5.  HERO SECTION
6.  HOMEPAGE & GENERIC STYLES
7.  MOBILE OFF-CANVAS MENU
8.  GENERIC PAGE HEADER
9.  SERVICES PAGE
10. CONTACT PAGE
11. BOOKING MODAL
12. ENHANCEMENTS & UTILITIES
-----------------------------------
*/

/* =================================== */
/* 1. VARIABLES                        */
/* =================================== */
:root {
    --sundown: #feb8b8; --tundora: #434343; --soft-peach: #f5eaee;
    --silver-chalice: #9e9e9e; --jungle-mist: #8bd8ea; --white: #ffffff;
}

/* =================================== */
/* 2. BASE STYLES                      */
/* =================================== */
body {
    font-family: 'Montserrat', sans-serif; background-color: var(--soft-peach);
    color: var(--tundora); line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; font-weight: 700; color: var(--tundora);
}
main { display: block; }

/* =================================== */
/* 3. HEADER & NAVIGATION              */
/* =================================== */
.header { background-color: var(--white); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.navbar-brand {
    font-family: 'Playfair Display', serif; font-size: 1.5rem;
    font-weight: 700; color: var(--tundora) !important;
}
.navbar-brand img {
    max-height: 60px;
}
.nav-link {
    font-weight: 600; text-transform: uppercase; font-size: 0.9rem;
    color: var(--tundora) !important; margin: 0 1rem;
}
.nav-link:hover { color: var(--sundown) !important; }
.nav-link.active {
    color: var(--jungle-mist) !important;
}
.btn-cta {
    background-color: var(--jungle-mist); color: var(--tundora);
    border-radius: 50px; padding: 0.5rem 1.5rem; font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--jungle-mist);
}
.btn-cta:hover {
    background-color: var(--tundora);
    color: var(--white);
    border-color: var(--tundora);
    transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
@media (max-width: 991.98px) {
    #navbarNav {
        display: none;
    }
}

/* =================================== */
/* 4. FOOTER                           */
/* =================================== */
.footer {
    background-color: var(--white); padding: 4rem 0 2rem 0; margin-top: 4rem;
    border-top: 4px solid var(--sundown);
}
.footer h3, .footer h4 { color: var(--tundora); margin-bottom: 1rem; }
.footer p { color: var(--silver-chalice); font-size: 0.9rem; }
.footer a { color: var(--tundora); text-decoration: none; transition: color 0.3s ease; }
.footer a:hover { color: var(--sundown); }
.footer .social-icons a { font-size: 1.5rem; margin: 0 0.5rem; }
.footer .border-top { border-color: var(--soft-peach) !important; }

/* =================================== */
/* 5. HERO SECTION                     */
/* =================================== */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero.jpg');
    background-size: cover; background-position: center; min-height: 70vh;
    padding: 6rem 0; display: flex; justify-content: center; align-items: center;
}
.hero-title {
    font-size: 3.5rem; color: var(--white); text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-section .lead {
    font-size: 1.25rem; color: var(--white); text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}
.btn-cta-hero {
    background-color: var(--jungle-mist); color: var(--tundora);
    border-radius: 50px; padding: 0.8rem 2rem; font-weight: 700;
    font-size: 1.1rem; text-transform: uppercase; transition: all 0.3s ease;
    border: 2px solid var(--jungle-mist);
}
.btn-cta-hero:hover {
    background-color: var(--tundora); /* CHANGED */
    color: var(--white); /* CHANGED */
    border-color: var(--tundora); /* CHANGED */
}

/* =================================== */
/* 6. HOMEPAGE & GENERIC STYLES        */
/* =================================== */
.bg-light { background-color: #f8f9fa !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.text-secondary { color: #6c757d !important; }
.service-card { border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.07); transition: all 0.3s ease; padding: 1rem; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.service-icon i { font-size: 2.5rem; color: var(--sundown); }
.concern-card { border: none; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.07); }
.testimonial-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-style: italic; color: var(--tundora); }
.testimonial-author { font-weight: 700; color: var(--silver-chalice); margin-top: 1rem; }
/* UNIFIED BUTTON STYLES */
.btn-outline-primary {
    background-color: var(--jungle-mist); /* CHANGED */
    color: var(--tundora); /* CHANGED */
    border-color: var(--jungle-mist); /* CHANGED */
    border-width: 2px;
}
.btn-outline-primary:hover {
    background-color: var(--tundora);
    color: var(--white);
    border-color: var(--tundora);
}
.btn-primary {
    background-color: var(--jungle-mist);
    border-color: var(--jungle-mist);
    color: var(--tundora);
    border-width: 2px;
}
.btn-primary:hover {
    background-color: var(--tundora);
    border-color: var(--tundora);
    color: var(--white);
}

/* =================================== */
/* 7. MOBILE OFF-CANVAS MENU           */
/* =================================== */
.offcanvas {
    background-color: var(--white);
}
.offcanvas-header {
    border-bottom: 1px solid var(--soft-peach);
    padding: 1rem 1.5rem;
}
.offcanvas-header .navbar-brand img {
    max-height: 50px;
}
.offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.offcanvas-body .nav-link {
    font-size: 1.5rem;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
}

/* =================================== */
/* 8. GENERIC PAGE HEADER              */
/* =================================== */
.page-header {
    background-color: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--soft-peach);
}
.page-header .page-title {
    font-size: 3rem;
}

/* =================================== */
/* 9. SERVICES PAGE                    */
/* =================================== */
.service-category {
    margin-bottom: 4rem;
}
.category-title {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sundown);
    display: inline-block;
}
.card-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--soft-peach);
    width: 100%;
}
.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tundora);
    display: block;
}
.service-duration {
    font-size: 0.9rem;
    color: var(--silver-chalice);
    display: block;
}

/* =================================== */
/* 10. CONTACT PAGE                    */
/* =================================== */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-info-item i {
    font-size: 1.5rem;
    color: var(--sundown);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
    width: 30px;
    text-align: center;
}
.business-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--soft-peach);
}
.business-hours li:last-child {
    border-bottom: none;
}
.map-section {
    padding-bottom: 3rem;
}
.map-section iframe {
    border-radius: 0.25rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* =================================== */
/* 11. BOOKING MODAL                   */
/* =================================== */
.modal-body {
    padding: 0;
}
.booking-iframe {
    width: 100%;
    height: 80vh; /* 80% of the viewport height */
    border: none;
}

/* =================================== */
/* 12. ENHANCEMENTS & UTILITIES        */
/* =================================== */
/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--tundora);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
    z-index: 1000;
}
.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top-btn:hover {
    background-color: var(--sundown);
    color: var(--tundora);
}

/* Discount Modal */
.discount-modal-content {
    background-color: var(--white);
    border: 4px solid var(--jungle-mist);
    border-radius: 0.5rem;
}
.discount-modal-content .modal-header {
    border-bottom: 1px solid var(--soft-peach);
}
.discount-modal-content .modal-body {
    padding: 1.5rem 1.5rem 1rem;
}