/* BODY STYLES */
html, body {
    height: 100%;
    background-color: #fbfaf9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: PT serif;
    text-align: center;
}

/* HEADER STYLES */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 40px;
    background: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);  
    position: sticky;
    top: 0;          
    z-index: 100;
}

.top-header {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
}

.logo {
    display: block;
    width: 60px;
    position: absolute;
    left: 30px;
    bottom: 10px; 
}

/* HEADER NAVIGATION STYLES */
.nav-links {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-grow: 1;
    justify-content: center;
    margin-top: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #4a3728;
    font-weight: bold;
    font-size: 16px;
}

.nav-links a:hover {
    color: #755e4b;
}

/* HEADER DROPDOWN BOX STYLES - SERVICES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    text-decoration: none;
    color: #4a3728;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 50%; 
    transform: translateX(-50%); 
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    border-radius: 5px;
}

.dropdown-content a {
    color: #4a3728;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* BOOK LINK BUTTON STYLES */
.book-now {
    display: block;
    text-decoration: none;
    background: #6F6652;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;
    margin-left: auto; 
    margin-right: auto; 
    position: absolute;
    right: 25px;
    bottom: 15px;
}

.book-now:hover {
    background: #7B725B; 
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* TITLE STYLES */
.title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0px;
    color: #4a3728;
    margin-top: 50px;
}

/* MAIN STYLES */
main {
    flex: 1;
    padding: 20px;
}

/* FOOTER STYLES */
.footer {
    background: #F0ECE8;
    text-align: center;
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.footer-content p {
    margin: 3px 0;
    font-size: 13px;
    font-weight: bold;
}

.footer-content a {
    color: #6F6652;
    text-decoration: none;
    font-weight: bold;
}

.footer-content a:hover {
    text-decoration: underline; 
}

.footer-nav {
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.footer-nav a {
    text-decoration: none;
    color: #6F6652;
    font-weight: bold;
}

.footer-nav a:hover {
    text-decoration: underline; 
}

.copyright {
    font-size: 10px; 
    margin-top: 5px;
    font-weight: normal; 
    opacity: 0.8; 
}

/* SOCIAL ICONS STYLES */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.social-icons a {
    text-decoration: none;
    color: white;
}

/* MENU PAGE STYLES */
.menu-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    background-color: #f8f8f8;
    padding: 10px 0;
    position: sticky;
    top: 175px;
    z-index: 99;
    font-size: 11px;
}

.menu-nav a {
    text-decoration: none;
    color: #1B2D2A;
    font-weight: bold;
    padding: 8px 12px;
    transition: color 0.3s ease-in-out;
}

.menu-nav a:hover {
    color: #3b5c55;
}

.menu-services {
    max-width: 600px;
    margin-top: 100px;
    margin: 0 auto;
}

h2 {
    color: #263832;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    scroll-margin-top: 250px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    margin: 5px 0;
    color: #263832;
}

.dotted-line {
    flex-grow: 1;
    border-bottom: 1px dashed black;
    margin: 0 10px;
    color: #3b5c55;
}

.warn {
    font-size: 12px;
    font-style: italic;
    color: #263832;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
}

/* SERVICE STYLES */
.h2-service {
    text-transform: uppercase;
    color: #1B2D2A;
    font-size: 20px; 
    font-weight: bold;
    margin-bottom: 10px;
    scroll-margin-top: 75px;
    text-align: left;
}

.h3-servMain {
    color: #1B2D2A;
    font-size: 16px; 
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    text-align: justify;
    margin-left: 25px;
}

.h3-service {
    color: #1B2D2A;
    font-size: 16px; 
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    text-align: left;
    margin-left: 25px;
}

.p-service {
    font-size: 14px;
    font-weight: bold;
    color: #263832; 
    line-height: 1.6;
    margin-bottom: 15px; 
    text-align: justify;
    margin-left: 75px;
}

/* HOME PAGE STYLES */
.h2-home {
    color: #1B2D2A;
    font-size: 25px; 
    font-weight: bold;
    margin-bottom: 10px;
    scroll-margin-top: 75px;
}

.h3-homeMain {
    color: #263832;
    font-size: 16px; 
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
}

.h3-home {
    color: #1B2D2A;
    font-size: 16px; 
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
}

.p-home {
    font-size: 16px;
    color: #263832; 
    margin-bottom: 15px; 
    text-align: center;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    overflow: hidden;
    width: auto;
    margin-left: auto; 
    margin-right: auto;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #ccc;
}

/* HOME TABLE PAGE STYLES 
table {
    border-collapse: collapse;
}

th {
    background-color: #dddee6;
}

th, td {
    padding: 15px;
    text-align: center;
    color: #8094a8;
} */

/* CONTACT PAGE STYLES */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    margin-top: 20px;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}

.column-1 {
    margin-left: 20px;
    width: 100%;
}

.column-2 {
    margin-left: 100px;
    align-items: center;
}

.column-3 {
    margin-right: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.contact-item img {
    width: 30px;
    height: 30px;
    margin-right: 20px;
}

.contact-item a {
    text-decoration: none;
    color: #1B2D2A;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.contact-form h2 {
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: bold;
}

.contact-form p {
    margin-bottom: 20px;
    color: #555;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

.input-field:focus {
    border-color: #666;
    outline: none;
}

.submit-button {
    background-color: #6F6652;
    font-family: PT serif;
    color: white;
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #7B725B;
}

/* GALLERY PAGE STYLES */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;    
}

.left, .right {
    flex: 1;
    padding: 20px;
}

/* SUBMIT FORM ERROR STYLES */
.form {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); 
}

.form-content {
    background-color: #fff;
    margin: 15% auto; 
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.form-content button {
    margin-top: 15px;
    padding: 10px 20px;
    cursor: pointer;
}

/* SECTION BACKGROUND STYLES */
.section-background {
    height: 300px;
    width: auto;
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: auto auto;
    border-width: 5px;
}

#home {
    background-image: url('backgroundImages/home.jpg');
}

#artificial {
    background-image: url('backgroundImages/artificial.jpg');
}

#natural {
    background-image: url('backgroundImages/natural.jpg');
}

#esthetics {
    background-image: url('backgroundImages/esthetics.jpg');
}

#contact {
    background-image: url('backgroundImages/contact.jpg');
}

@media (min-width: 650px) {
    .nav-links {
        gap: 75px;
    }
    .menu-nav {
        font-size: 14px;
    }
    .book-now {
        padding: 10px 25px;
        font-size: 12px;
    }
    .logo {
        width: 75px;
        left: 20px;
    }
    .contact-item img {
        width: 35px;
        height: 35px;
    }
    .column-1 {
        margin-left: 75px;
    }
    .map-container {
        height: 325px;
        margin-left: 100px; 
        margin-right: 100px;
        padding-bottom: 0;
    }
}

@media (min-width: 1075px) {
    .nav-links {
        gap: 100px;
    }
    .book-now {
        padding: 15px 30px;
        font-size: 16px;
        margin-top: 20px; 
        top: 70px;
        bottom: 40px;
    }
    .logo {
        width: 125px;
        left: 20px;
        top: 25px; 
    }
    .row {
        flex-direction: row;
    }
    .menu-nav {
        gap: 15px;
        font-size: 16px;
    }
    .contact-column {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .column-1 {
        margin-left: 200px;
    }
    .contact-item {
        font-size: 16px;
    }
    .contact-item img {
        width: 40px;
        height: 40px;
    }
    .map-container {
        height: 400px;
        margin-left: 200px; 
        margin-right: 200px;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 500px) {
    .header {
        position: static;
    }
    .nav-links {
        flex-direction: column;
        gap: 15px;
        margin: 0 10px;
    }

    .title {
        margin-top: 25px;
        text-align: center;
    }

    .book-now {
        position: static; 
        font-size: 12px;
        margin: 10px auto 0 auto; 
        display: block;
    }

    .logo {
        position: static; 
        display: block;
        margin: 10px auto 0 auto; 
        padding-bottom: 10px;
        width: 60px;
    }
    .dropbtn {
        padding: 0px;
    }
    .menu-nav {
        top: 0; 
        margin-top: 5px;
        scroll-margin-top: 15px;
    }
    h2 {
        scroll-margin-top: 125px;
    }
    .contact-item {
        font-size: 5px;
    }
    .contact-item img {
        margin-right: 0px;
    }
    .section-background {
        height: 225px;
    }
}