@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

h2 {
    color: white;
    font-family: "Playfair Display", sans-serif;
}

body {
    font-family: "Poppins", sans-serif;
}

.text {
    color: white;
    font-weight: 300;
}

/* NAV BAR */
.navbar-brand {
    font-family: "Playfair Display", sans-serif;
}

.overlay-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(27, 42, 43, 0.66);
    padding: 10px 20px;
}

.overlay-navbar .nav-link {
    color: white;
    margin-right: 15px;
}

.overlay-navbar .nav-link:hover {
    color: #FDEFF3;
}

/* LANDING */
.landing-image {
    width: 100%;
}

.wrapper {
    background: url(../assets/landing.jpg) no-repeat center/cover;
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-action {
    background-color: rgba(27, 42, 43, 0.66);
    margin: 0 auto;
    padding: 5% 10%;
    width: 50%;
    text-align: center;
}

.landing-action a {
    border-radius: 30px;
    margin-top: 5%;
    width: 45%;
}

/* SERVICES SECTION */
.services-section {
    padding: 3.5rem 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.services-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: "Playfair Display", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: #212F2F;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}



.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}



.service-content {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-family: "Playfair Display", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 1.5px;
    color: #212F2F;
}

.service-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.5;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    margin-top: 0.5rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.service-item:hover {
    background: #e9ecef;
    border-left-color: #212F2F;
    transform: translateX(5px);
}

.service-name {
    font-weight: 500;
    color: #212F2F;
    font-size: 1rem;
    line-height: 1.4;
}

.service-price {
    font-weight: 600;
    color: #212F2F;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}





/* Smooth scrolling for navigation */
html {
    scroll-behavior: smooth;
}

/* APPOINTMENT SECTION */
.appointment-section {
    padding: 3rem 2rem;
    background: #212F2F;
    min-height: 80vh;
}

.appointment-form-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.appointment-title {
    font-family: "Playfair Display", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: #212F2F;
    line-height: 1.2;
}

.appointment-form .form-label {
    font-weight: 500;
    color: #212F2F;
    margin-bottom: 0.5rem;
}

.appointment-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.appointment-form .form-control:focus {
    border-color: #212F2F;
    box-shadow: 0 0 0 0.2rem rgba(33, 47, 47, 0.25);
}

.book-btn {
    background: #212F2F;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #1a2525;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 47, 47, 0.3);
}

#contact-card {
    background-color: #212F2F;
    color: white;
    border: none;
    border-radius: 0px;
    padding: 2% 5%;
}

#contact-card .card-title {
    margin: 0.75rem 0;
}

#contact-card .card-text {
    font-size: 0.75rem;
    margin: 0.5rem 0;
}


.social-icon {
    width: 20px;
    height: 20px;
    margin: 10px 10px 0 0;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.social-link {
    display: inline-block;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #212F2F;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(33, 47, 47, 0.3);
}

.back-to-top:hover {
    background-color: #1a2525;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 47, 47, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}



@media (max-width: 380px) {
    .wrapper {
        height: 50vh;
    }

    .appointment-container {
        width: 95%;
    }

    .appointment-form {
        padding: 20px 15px;
    }

    .appointment-form h4 {
        font-size: 1.4rem;
    }

    .appointment-form p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .appointment-form button {
        width: 100%!important;
    }

    .card-group>.card {
        margin-bottom: 0;
    }

    .landing-action a {
        width: 80% !important;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 435px) {
    .wrapper {
        height: 50vh;
    }

    .appointment-container {
        width: 95%;
    }

    .appointment-form {
        padding: 25px 20px;
    }

    .appointment-form h4 {
        font-size: 1.5rem;
    }

    .appointment-form p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .appointment-form button {
        width: 100%!important;
    }

    .service-cards {
        width: 95%;
        margin-top: 20px;
    }

    .card-group>.card {
        margin-bottom: 0;
    }

}


/* Mobile adjustments (phones up to 576px) */
@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h4.text {
        font-size: 1rem;
    }

    .landing-action {
        width: 90%;
        padding: 10% 5%;
    }

    .landing-action a {
        width: 80%;
    }

    .services-section {
        padding: 30px 0;
        min-height: 70vh;
    }

    .service-cards {
        width: 95%;
        margin-top: 20px;
    }

    .service-card .img-fluid {
        height: 50vh;
    }

    .carousel-item:nth-child(4) .service-card .img-fluid {
        height: 60vh;
    }

    #card-content .card-body {
        padding: 20px 15px;
    }

    #card-content .card-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .card-subtitle {
        font-size: 0.75rem;
        margin-bottom: 15px;
    }


    .carousel-indicators {
        bottom: -40px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }

    .appointment-container {
        width: 95%;
    }

    .appointment-form {
        padding: 30px 20px;
    }

    .appointment-form h4 {
        font-size: 1.6rem;
    }

    .appointment-form p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .appointment-form button {
        width: 100%!important;
    }

    #contact-card .card-text {
        font-size: 0.65rem;
        /* smaller contact text */
    }
}

/* Tablets (576px – 768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .landing-action {
        width: 70%;
        padding: 8% 5%;
    }

    .service-cards {
        width: 90%;
    }

    .service-cards .card-text {
        font-size: 0.75rem;
    }

    #card-content .card-body {
        padding: 25px 20px;
    }

    #card-content .card-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .card-subtitle {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }



    .carousel-indicators {
        bottom: -45px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }

    .appointment-container {
        width: 90%;
    }

    .appointment-form {
        padding: 35px 25px;
    }

    .appointment-form h4 {
        font-size: 1.8rem;
    }

    .appointment-form p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .appointment-form button {
        width: 100%!important;
    }
}

/* Small laptops (768px – 1024px) */
@media (max-width: 1024px) {

    .nav-item {
        font-size: 0.75rem;
    }

    .landing-action h5 {
        font-size: 1rem;
    }

    .landing-action a {
        font-size: 0.75rem;
        width: 60%;
    }


    .service-cards {
        width: 85%;
    }

    .carousel-indicators {
        bottom: -50px;
    }

    .appointment-container {
        padding: 0 5%;
        width: 85%;
    }

    .appointment-form button {
        width: 50%;
    }
}

/* Form Responsive Styles */
@media (max-width: 768px) {
    .appointment-section {
        padding: 2rem 1rem;
    }
    
    .appointment-form-container {
        padding: 2rem 1.5rem;
        margin: 0;
        max-width: none;
    }
    
    .appointment-title {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .appointment-section {
        padding: 1.5rem 0.5rem;
    }
    
    .appointment-form-container {
        padding: 1.5rem 1rem;
        margin: 0;
        max-width: none;
    }
}

@media (max-width: 360px) {
    .appointment-section {
        padding: 1rem 0.25rem;
    }
    
    .appointment-form-container {
        padding: 1rem 0.75rem;
    }
}

/* Services Section Responsive */
@media (max-width: 768px) {
    .services-section {
        padding: 3rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 2rem 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 2rem 0.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 1.8rem 1.2rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .service-item {
        padding: 0.8rem 1rem;
    }
    
    .service-list {
        gap: 0.8rem;
        margin-top: 0.3rem;
    }
    
    .service-name {
        font-size: 0.9rem;
    }
    
    .service-price {
        font-size: 0.9rem;
    }
}