/* 
    This is the style.css file for the PHP salon website.
    It is responsible for the styling of the website.
*/

/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* General styles */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin: 0;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

header a.logo {
    font-size: 24px;
    font-weight: 700;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

/* Footer styles */
footer {
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 20px;
    text-align: center;
}

/* Button styles */
button {
    background-color: #333;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #555;
}

/* Form styles */
form {
    margin-bottom: 20px;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
    padding: 10px;
    width: 100%;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #333;
    outline: none;
}

/* Calendar styles */
.calendar {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.calendar h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.calendar table {
    border-collapse: collapse;
    width: 100%;
}

.calendar th,
.calendar td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.calendar th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.calendar td {
    font-size: 14px;
}

.calendar td.today {
    background-color: #f9f9f9;
}

.calendar td.booked {
    background-color: #f00;
    color: #fff;
}

/* Services styles */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.services .service {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-basis: calc(50% - 20px);
    margin-bottom: 20px;
    padding: 20px;
}

.services .service h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.services .service p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Featured styles */
.featured {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    padding: 20px;
}

.featured h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.featured .feature {
    display: flex;
    margin-bottom: 20px;
}

.featured .feature img {
    flex-basis: 30%;
    margin-right: 20px;
}

.featured .feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.featured .feature p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Testimonials styles */
.testimonials {
    margin-bottom: 40px;
}

.testimonials h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonials .testimonial {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
}

.testimonials .testimonial:before {
    content: '\201C';
    color: #f00;
    font-size: 60px;
    font-weight: 700;
    left: 20px;
    position: absolute;
    top: 20px;
}

.testimonials .testimonial p {
    font-size: 16px;
    margin-bottom: 10px;
}

.testimonials .testimonial .name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonials .testimonial .rating {
    color: #f00;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    right: 20px;
    top: 20px;
}