/* =========================
   Global Styles
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

/* =========================
   Container
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   Header & Navigation
========================= */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007BFF;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    font-weight: 500;
    padding: 0.5rem;
}

.nav-links li a:hover {
    border-bottom: 2px solid #007BFF;
}

/* =========================
   Hero Section
========================= */
.hero {
    background: url('../img/hero.webp') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* =========================
   About Section
========================= */
.about {
    padding: 6rem 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    background-color: #e2e2e2;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.2rem;
}

/* =========================
   Services Section
========================= */
.services {
    padding: 6rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* =========================
   FAQ Section
========================= */
.faq {
    padding: 6rem 0;
    background-color: #f1f1f1;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background-color: #007BFF;
    color: #fff;
    border: none;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #0056b3;
}

.faq-answer {
    display: none;
    padding: 1rem;
    background-color: #fff;
    border-left: 4px solid #007BFF;
}

/* =========================
   Packages Section
========================= */
.packages {
    padding: 6rem 0;
}

.packages h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.package-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.package-price {
    font-size: 1.5rem;
    color: #007BFF;
    margin: 1rem 0;
}

.package-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.package-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e2e2;
}

/* =========================
   Appointment Form
========================= */
.appointment {
    padding: 6rem 0;
    background-color: #f1f1f1;
}

.form-group {
    margin-bottom: 1rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

form input, form select, form textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form textarea {
    resize: none;
}

/* =========================
   Contact Section
========================= */
.contact {
    padding: 6rem 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: #f1f1f1;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

/* =========================
   Footer
========================= */
footer {
    background-color: #007BFF;
    color: #fff;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-content h3, .footer-content h4 {
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #d1e7ff;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* =========================
   Modals
========================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.modal-content form .form-group {
    margin-bottom: 1rem;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
