/* ==========================================================================
   Global & Typography
   ========================================================================== */
body {
    font-family: 'Lora', serif;
    background-color: #fefae0;
    color: #4a4a4a;
    margin: 0;
    padding: 0;
    width: 100%;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
    background-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 0;
    width: 100%;
}

.nav-container {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
}

.nav-logo {
    height: 80px;
    width: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('./adorelogo400.jpg');
    margin: 0 10px;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #d4a373;
    background-color: #333333;
}

.book-now-btn {
    background-color: #25d366;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.book-now-btn span:first-child {
    font-size: 0.9rem;
}

.book-now-btn span:last-child {
    font-size: 0.7rem;
    color: #d4e8d4;
}

.book-now-btn:hover {
    background-color: #1da851;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

/* Desktop adjustments */
@media (min-width: 769px) {
    .nav-container {
        justify-content: space-between;
    }
    .nav-left .book-now-btn {
        margin-left: 20px;
    }
    .nav-right .nav-links {
        margin-right: 20px;
    }
    .nav-logo {
        margin: 0 20px;
    }
    nav {
        padding: 10px 10px;
    }
}

/* Mobile menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-container {
        padding: 0;
        justify-content: space-between;
    }
    .nav-logo {
        margin: 0 5px;
        transform: translateX(1%);
    }
    .nav-left .book-now-btn {
        margin-left: 10px;
    }
    .nav-right .menu-toggle {
        margin-right: 10px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #000000;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 100%;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a, .book-now-btn {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    .book-now-btn {
        padding: 5px 1.25px;
        max-width: 80px;
    }
    .book-now-btn span:first-child {
        font-size: 0.8rem;
    }
    .book-now-btn span:last-child {
        font-size: 0.6rem;
    }
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

.home-content {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    z-index: 10;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

.home-content h1 {
    font-size: 2rem;
    color: #6f4e37;
    margin-bottom: 12px;
}

.home-content p {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 16px;
}

.home-content a {
    background-color: #6f4e37;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}

.home-content a:hover {
    background-color: #5a3d2c;
}

/* ==========================================================================
   General Sections
   ========================================================================== */
section {
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 1.75rem;
    color: #6f4e37;
    text-align: center;
    margin-bottom: 24px;
}

.about-text {
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 12px;
    width: 100%;
    padding: 0 20px;
    max-width: 800px;
    box-sizing: border-box;
}

/* ==========================================================================
   Image Slideshows (About, Services, Beauty)
   ========================================================================== */
.about-images, .service-images, .beauty-service-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.service-image, .beauty-service-image {
    display: none;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.service-image.active, .beauty-service-image.active {
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.service-image:hover, .beauty-service-image:hover {
    border: 2px solid #d4a373;
}

/* Desktop: show all images side-by-side */
@media (min-width: 769px) {
    .service-image, .beauty-service-image {
        display: block;
        width: 22%;
        height: 250px;
    }
}

/* ==========================================================================
   Services Grid & Cards
   ========================================================================== */
.services-grid, .beauty-services-grid {
    margin: 0 auto;
    display: grid;
    gap: 24px;
    width: 100%;
    padding: 0 10px;
    max-width: 1200px;
    box-sizing: border-box;
}

.services-grid {
    grid-template-columns: 1fr 1fr;
}

.beauty-services-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
}

.services-header, .beauty-services-header {
    text-align: center;
    margin-bottom: 20px;
}

.services-header h2, .beauty-services-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: #6f4e37;
}

.services-header p, .beauty-services-header p {
    margin: 5px 0 0;
    font-size: 1.1rem;
    color: #4a4a4a;
}

.service-card, .beauty-service-card {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin-bottom: 20px;
    position: relative;
}

.service-card h3, .beauty-service-card h3 {
    font-size: 1.25rem;
    color: #6f4e37;
    margin: 0 0 10px 0;
}

.service-card h4, .beauty-service-card h4 {
    font-size: 1.1rem;
    color: #6f4e37;
    margin: 5px 0 10px 0;
}

.service-card p, .beauty-service-card p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.duration-price, .service-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 5px 0;
}

.service-card .book-now-btn, .beauty-service-card .book-now-btn {
    position: absolute;
    top: 16px;
    right: 16px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .beauty-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-wrapper {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.gallery-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-sizing: border-box;
}

@media (min-width: 480px) {
    .gallery-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .gallery-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 1200px;
    }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 12px;
}

.contact-info strong {
    color: #6f4e37;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #6f4e37;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: #5a3d2c;
}

.social-links img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 1200px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #6f4e37;
    color: #ffffff;
    padding: 24px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

footer p {
    margin: 6px 0;
    font-size: 0.95rem;
}