/* =================  General Styling  ================= */
:root {
    --black: rgba(0, 0, 0, 1);
    --white: rgba(255, 255, 255, 1);
    --primary-color: rgba(174, 136, 118, 1); /*(180, 121, 2)*/
    --secondary-color: rgba(91, 78, 73, 1); /*(15, 87, 80, 1)*/
    --light-color: rgba(223, 223, 223, 1);
    --medium-color: rgba(87, 87, 87, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open-Sans", sans-serif;
    line-height: 1.5;
    color: var(--black);
    background-image: url("../media/fabric_1.webp");
}

p {
    font-family: "Open-Sans", sans-serif;
    font-size: 1.15rem;
    color: var(--black);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair", serif;
    font-optical-sizing: auto;
    line-height: 1.2;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    margin: 1.5rem 0 .5rem;
    color: var(--secondary-color);
}

h1 {font-size: 3.5rem;}
h2 {font-size: 3rem;}
h3 {font-size: 2.5rem;}
h4 {font-size: 2rem;}
h5 {font-size: 1.5rem;}
h6 {font-size: 1.1rem;}

/* =================  Navbar Styling  ================= */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
}

.navbar-brand {max-width: 280px;}

.nav-link {color: var(--secondary-color);
    transition: color 0.3s ease !important;
    position: relative;
    font-family: "Playfair", serif;
    font-size: 1.75rem;
    opacity: .8;
    font-weight: 600;
}

.nav-link:focus, .nav-link:active, .nav-link:hover {color: var(--primary-color);
    opacity: 1;
}

.nav-link::after {content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    opacity: 0.8;
}

.nav-link:hover::after {width: 100%;
    box-shadow: none;
}

.navbar-toggler, .navbar-toggler:active, .navbar-toggler:focus {border: none;
    box-shadow: none;
    background: transparent;
}

.menu-open {color: var(--primary-color);
    opacity: .85;
    font-size: 2rem;
}

.menu-open:hover {opacity: 1;
    animation: fadeIn 0.8s ease;
}

.menu-close {display: none;
    color: var(--secondary-color);
    font-size: 2rem;
}

.navbar-toggler.active .menu-open {display: none;
    color: var(--secondary-color);
}

.navbar-toggler.active .menu-close {display: inline-block;}

/* =================  Hero Section  ================= */
.hero-section {background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 300px;
    display: none;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {animation: fadeInDown 0.8s ease;}

.hero-section p {animation: fadeInUp 0.8s ease;}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================  About Section  ================= */
#about {scroll-margin-top: 50px;
    position: relative;
    isolation: isolate;
}

#about::before {content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("../media/texture1.jpeg");
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

#about img {transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 8px solid var(--white);
}

#about img:hover {transform: scale(1.05);
    box-shadow: 0 8px 20px var(--medium-color) !important;
}

#about h2 {color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#about p {color: var(--black);}

/* =================  Appointment Section  ================= */
#appointment {
    scroll-margin-top: 60px;
}

#appointment h2 {color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-primary {background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    font-family: "Playfair", serif;
    font-size: 1.25rem !important;
    opacity:.85;
}

.btn-primary:hover {background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 1;
    color: var(--white);
}

.btn-primary:active {transform: translateY(0);}

/* =================  Reviews Section  ================= */
.fas.fa-star {color: var(--primary-color) !important;
    opacity: .85;
    font-size: 1.15rem;
}

#reviews {scroll-margin-top: 60px;}

#reviews h2 {color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

#reviews h2::after {content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

.card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--black);
}

.card-body {padding: 2rem;}

.card-text {color: var(--black);
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.75;
}

.blockquote-footer {color: var(--secondary-color);
    font-weight: 700;
    background-color: var(--white);
    font-family: "Open Sans", sans-serif;
}

/* =================  Contact Form Section  ================= */
#contact {scroll-margin-top: 60px;}

#contact h2 {color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-label {font-weight: 600;
    color: var(--black);
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    font-family: "Playfair", serif;
}

.form-control {border: .15rem solid var(--light-color);
    border-radius: 6px;
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: .9rem;
    font-family: "Open Sams", sans-serif;
}

.form-control:focus {border-color: var(--secondary-color);
    box-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {color: var(--medium-color);}

#contactForm {background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-success {
    border: none;
    border-radius: 4px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================  Footer Styles  ================= */
footer { background-color: var(--primary-color);
    padding: 1rem;
    color: var(--white);
    margin-top: 3rem;
    border-top: 3px solid var(--white);
}

footer h4 {font-weight: 700;
    margin: 0 0 1.15rem;
    color: var(--white);
    font-size: 2rem;
}

footer a {color: var(--white);
    transition: color 0.3s ease;
}

footer a:hover {color: var(--light-color) !important;}

footer p {color: var(--white);}

.list-unstyled li {transition: transform 0.3s ease;
    margin-bottom: 0.75rem;
}

.list-unstyled li:hover {
    transform: translateX(3px);
}

.list-unstyled a {
    font-size: 1rem;
    color: var(--white);
    opacity: 1;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.list-unstyled a:hover {
    opacity: .85;
}

.social-links a {font-size: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {transform: translateY(-3px);
    color: var(--light-color) !important;
}

hr {opacity: 1;
    margin-top: 2rem;
}

.copyright {font-size: .85rem;}

/* =================  Responsive Design  ================= */
@media (max-width: 1199px) {
    .nav-link {font-size: 1.5rem;}
}


@media (max-width: 999px) {
    .nav-link {font-size: 1.25rem;}
}

@media (max-width: 768px) {
    #about img {width: 70vw;
        margin-bottom: 2rem;
    }

    #appointment {text-align: center;}

    #appointment .btn {width: 100%;}

    .card {margin-bottom: 1rem;}

    #contactForm {padding: 1.5rem;}

    footer {text-align: center;}

    .social-links {display: flex;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    #about img {width: 60vw;}

    .hero-section h1 {font-size: 2rem;}

    .hero-section p {font-size: 1rem;}

    .navbar-brand {font-size: 1.2rem;}

    h2 {font-size: 2rem;}

    .btn-lg {padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}