/* Global Styles */
:root {
    --primary-color: #D48C95;
    /* Rose */
    --secondary-color: #222;
    /* Black/Dark Grey */
    --bg-color: #fff;
    --text-color: #444;
    --light-gray: #FFF5F7;
    /* Soft Pink */
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    color: var(--secondary-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
    background-color: #bfa030;
    transform: translateY(-2px);
}

/* Header */
header {
    background: var(--bg-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow */
    border-bottom: 3px solid var(--primary-color);
    /* "Mais destacado" */
    position: sticky;
    /* Changed to sticky */
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    /* Fixed height for compactness */
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: center;
    /* Centered since logo is gone */
    align-items: center;
    padding: 0;
    /* Removed padding to rely on header height alignment */
    width: 100%;
}

.logo img {
    height: 50px;
    /* Reduced from 85px to fit compact header */
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Decorative Top Bar */
.top-bar {
    background: var(--bg-color);
    height: 50px;
    /* Adjusted for text message */
    width: 100%;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar .welcome-msg {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    position: absolute;
    /* Absolute position for mobile layout */
    left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 70px;
        /* Matches header height */
        left: 0;
        width: 100%;
        background: var(--bg-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        text-align: center;
        border-bottom: 2px solid var(--primary-color);
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
    }

    .menu-toggle {
        display: block;
        /* Show hamburger on mobile */
    }
}

/* Hero Section (Welcome) */
.hero {
    height: 450px;
    /* Reduced further to ensure a "banner" look */
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/background/AC-Beauty.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section (Ana Clara) */
.about {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-img {
    flex: 1;
}

.about-img img {
    box-shadow: 12px 12px 0 rgba(212, 140, 149, 0.3);
}

.about-text {
    flex: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.cta-container {
    text-align: center;
    margin: 3rem 0;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Services Section (Side-by-Side) */
.services {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
    /* Alternating layout */
}

.service-img {
    flex: 1;
}

.service-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-desc {
    flex: 1;
}

.service-desc h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-desc p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Location Section */
.location {
    padding: 5rem 0;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    /* .nav-links handled in main css block */

    .about-content,
    .service-item {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .about-img img {
        box-shadow: 8px 8px 0 rgba(212, 140, 149, 0.3);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}