/* Color Palette */
:root {
    --seasalt: #f8f9fa;
    --antiflash-white: #e9ecef;
    --platinum: #dee2e6;
    --french-gray: #ced4da;
    --french-gray-2: #adb5bd;
    --slate-gray: #6c757d;
    --outer-space: #495057;
    --onyx: #343a40;
    --onyx: #040404ff;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--black); /* Text Color */
    background-color: var(--seasalt); /* Background Color */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Header Styles */
header {
    background: var(--onyx); /* Dark Background */
    color: var(--seasalt); /* Light Text */
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    max-width: 150px; /* Adjust as needed */
}

header .mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--seasalt);
    cursor: pointer;
}

header .main-nav {
    flex: 1;
    margin-left: 20px;
}

header .main-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header .main-nav ul li {
    margin-left: 20px;
}

header .main-nav ul li a {
    color: var(--seasalt);
    font-weight: bold;
    padding: 5px 10px;
}

header .main-nav ul li a:hover,
header .main-nav ul li a.active {
    color: var(--slate-gray); /* Hover Color */
}

.header-contact {
    display: flex;
    align-items: center;
}

.header-contact .phone-number {
    margin-right: 20px;
    color: var(--seasalt);
}

.header-contact .btn-appointment {
    background: var(--outer-space);
    color: var(--seasalt);
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 20px;
}

.header-contact .btn-appointment:hover {
    background: var(--slate-gray);
}

.header-contact .social-media-icons {
    display: flex;
    align-items: center;
}

.header-contact .social-media-icons a {
    color: var(--seasalt);
    margin-left: 10px;
    font-size: 1.5em;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: var(--seasalt);
    padding: 20px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.hero-content .btn {
    font-size: 1.2em;
}

/* About, Services, and Contact Sections */
.about-page,
.services-page,
.contact-page {
    padding: 60px 0;
    background-color: var(--seasalt);
}

.about-page h1,
.services-page h1,
.contact-page h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--black);
}

.about-page p,
.services-page p,
.contact-page p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--black);
}

.about-page ul,
.services-page ul {
    list-style-type: disc;
    margin-left: 40px;
    color: var(--black);
}

.about-page ul li,
.services-page ul li {
    margin-bottom: 10px;
}

.service {
    margin-bottom: 40px;
}

.service h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--black);
}

.service ul {
    list-style-type: circle;
    margin-left: 40px;
}

.service ul li {
    margin-bottom: 8px;
}

.contact-page .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form,
.contact-details {
    width: 48%;
}

.contact-form form {
    background-color: var(--seasalt);
    padding: 20px;
    border-radius: 10px;
}

.contact-form label {
    display: block;
    margin: 10px 0 5px;
    color: var(--black);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--black);
    border-radius: 5px;
}

.contact-details {
    padding: 20px;
    color: var(--black);
}

.contact-details h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.contact-details p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.contact-details i {
    margin-right: 10px;
}

.cta {
    background-color: var(--outer-space);
    color: var(--seasalt);
    padding: 40px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta .btn {
    font-size: 1.2em;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--outer-space);
    color: var(--seasalt);
}

.btn-primary:hover {
    background-color: var(--slate-gray);
}

.btn-appointment {
    background-color: var(--outer-space);
    color: var(--seasalt);
}

.btn-appointment:hover {
    background-color: var(--slate-gray);
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--seasalt);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--black);
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

.modal-content h2 {
    color: var(--black);
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    margin: 10px 0 5px;
    color: var(--black);
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--black);
    border-radius: 5px;
}

.modal-content .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1em;
}

/* Close Button */
.close {
    background: none;
    border: none;
    color: var(--black);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--outer-space);
    text-decoration: none;
    cursor: pointer;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--outer-space);
    color: var(--seasalt);
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.floating-contact:hover {
    background-color: var(--slate-gray);
}

/* Footer Styles */
footer {
    background-color: var(--onyx);
    color: var(--seasalt);
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer .social-media a {
    color: var(--seasalt);
    margin: 0 10px;
    font-size: 1.2em;
}

footer .social-media a:hover {
    color: var(--slate-gray);
}

/* Responsive Styles */
@media (max-width: 992px) {
    header .container {
        flex-wrap: wrap;
    }

    .header-contact {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    /* Header Adjustments */
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu-toggle {
        display: block;
        align-self: flex-end;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .main-nav ul li a {
        padding: 10px;
        width: 100%;
        border-bottom: 1px solid var(--slate-gray);
    }

    .header-contact {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    .header-contact .phone-number {
        margin-bottom: 10px;
    }

    .header-contact .btn-appointment {
        margin-bottom: 10px;
    }

    .header-contact .social-media-icons {
        margin-top: 10px;
    }

    /* Show Header Contact Elements for Mobile Users */
    .header-contact {
        display: flex;
    }

    /* Adjust Hero Content */
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 14px;
    }

    /* Contact Page Responsive */
    .contact-form,
    .contact-details {
        width: 100%;
    }

    .contact-page .container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .modal-content {
        margin: 10% auto;
        width: 90%;
    }

    .about-page h1,
    .services-page h1,
    .contact-page h1 {
        font-size: 2em;
    }

    .service h2 {
        font-size: 1.5em;
    }

    .contact-details h2 {
        font-size: 1.5em;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
