﻿/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('/images/salon-bg.jpg') no-repeat center center;
    background-size: cover;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

    .hero .btn {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }


/* Tabs */
.salon-tabs .nav-link {
    border-radius: 30px;
    padding: 10px 25px;
    margin: 0 5px;
    font-weight: 500;
    transition: 0.3s;
}

    .salon-tabs .nav-link.active,
    .salon-tabs .nav-link:hover {
        background: #e91e63;
        color: #fff;
    }


/* Cards */
.service-card, .product-card {
    border-radius: 15px;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .service-card:hover, .product-card:hover {
        transform: translateY(-5px);
    }


/* ✅ Add these below to fix navbar visibility & section scroll issues */

/* Fix navbar always at top */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
}

/* Add space so content doesn't hide under navbar */
body {
    padding-top: 80px; /* Adjust this if navbar height is different */
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}




/*-------------------------------------------appointment css ----*/


/* Body & full screen background */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.appointment-bg {
    position: relative;
    background: url('/images/salon.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dark overlay */
.appointment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* Floating gradient blobs */
.gradient-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite alternate;
    filter: blur(80px);
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(45deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Floating sparkles */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    opacity: 0.8;
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0.4;
    }
}

/* Glassmorphism form container */
/*.appointment-container {
    position: relative;
    z-index: 2;
    max-width: 520px;
    width: 100%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    color: #fff;
    animation: fadeIn 1s ease-in-out;
    transition: all 0.3s ease;
}*/

/* Glassmorphism form container */
.appointment-container {
    position: relative;
    z-index: 2;
    max-width: 520px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px 25px; /* reduced padding */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    color: #fff;
    animation: fadeIn 1s ease-in-out;
    transition: all 0.3s ease;
    margin-top: 120px; /* optional: spacing below navbar */
    margin-bottom: 100px;
}


/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form title */
.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

/* Floating label style */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1rem;
    box-shadow: inset 0 1px 6px rgba(0,0,0,0.25);
    transition: all 0.3s ease, box-shadow 0.4s ease;
}

    .form-control:focus {
        background: rgba(255,255,255,0.3);
        box-shadow: inset 0 1px 6px rgba(0,0,0,0.35), 0 0 12px rgba(255,255,255,0.4);
        color: #fff;
    }

/* Floating label */
.form-label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 12px;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255,255,255,0.15);
    padding: 0 5px;
    border-radius: 5px;
}

/* Button with shine effect */
.btn-book {
    background: linear-gradient(135deg, #d63384, #ff4d6d);
    border: none;
    border-radius: 14px;
    padding: 16px;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

    .btn-book::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: rgba(255,255,255,0.2);
        transform: rotate(45deg) translateX(-100%);
        transition: all 0.5s ease;
    }

    .btn-book:hover::after {
        transform: rotate(45deg) translateX(100%);
    }

    .btn-book:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

/* Alert styling */
.alert {
    background: rgba(0, 128, 0, 0.6);
    color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: bold;
    text-align: center;
}


/* Dropdown Styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 14px;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L5 5 L10 0 Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

    select.form-control:focus {
        background: rgba(255, 255, 255, 0.3);
        box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 255, 255, 0.4);
        color: #fff;
        outline: none;
    }

    /* Option styling */
    select.form-control option {
        background-color: #333; /* dark background for dropdown list */
        color: #fff; /* white text */
    }


/* Force label to float if .has-value class is present */
.float-input.has-value + .form-label,
.float-input:focus + .form-label {
    top: -10px;
    left: 12px;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255,255,255,0.15);
    padding: 0 5px;
    border-radius: 5px;
}


/* Floating label container */
.floating-label {
    position: relative;
    margin-bottom: 20px;
}

    .floating-label input,
    .floating-label textarea,
    .floating-label select {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        border: none;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 1rem;
        box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.25);
        transition: all 0.3s ease;
        appearance: none;
    }

        .floating-label input[type="date"]::-webkit-calendar-picker-indicator {
            filter: invert(1);
        }

        .floating-label input:focus,
        .floating-label textarea:focus,
        .floating-label select:focus {
            background: rgba(255,255,255,0.3);
            box-shadow: inset 0 1px 6px rgba(0,0,0,0.35), 0 0 12px rgba(255,255,255,0.4);
            color: #fff;
            outline: none;
        }

    .floating-label label {
        position: absolute;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        pointer-events: none;
        transition: 0.2s ease all;
        background: rgba(255,255,255,0.15);
        padding: 0 6px;
        border-radius: 4px;
    }

    .floating-label input:focus + label,
    .floating-label input:not(:placeholder-shown) + label,
    .floating-label textarea:focus + label,
    .floating-label textarea:not(:placeholder-shown) + label,
    .floating-label select:focus + label,
    .floating-label select:not([value=""]) + label {
        top: -10px;
        font-size: 0.8rem;
        color: #fff;
    }


/* --- Floating Label Fix for All Input Types --- */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-control.float-input {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 12px;
    padding: 16px 14px 14px;
    font-size: 1rem;
    width: 100%;
    color: white;
    box-shadow: inset 0 1px 6px rgba(0,0,0,0.25);
}

.form-label {
    position: absolute;
    left: 14px;
    top: 16px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

/* On focus or value present */
.form-control.float-input:focus + .form-label,
.form-control.float-input:not(:placeholder-shown) + .form-label,
select.form-control.float-input:valid + .form-label,
textarea.form-control.float-input:valid + .form-label {
    top: -10px;
    left: 12px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.15);
    padding: 0 5px;
    border-radius: 4px;
    color: white;
}

/* Fix for date input: show label if date has value */
input[type="date"].form-control.float-input:valid + .form-label {
    top: -10px;
    left: 12px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.15);
    padding: 0 5px;
    border-radius: 4px;
    color: white;
}


