/* ==================== CSS Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: var(--header-height);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    z-index: 10000;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    font-weight: 500;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

main {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==================== Typography ==================== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.3;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--accent-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 36px;
    font-size: 1rem;
}

.btn-small {
    padding: 6px 16px;
    font-size: 0.8rem;
}

/* ==================== Floating WhatsApp Button ==================== */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    animation: none;
}

.floating-whatsapp img {
    width: 28px;
    height: 28px;
}

.floating-whatsapp::before {
    content: 'Chat with us';
    position: absolute;
    right: 68px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-whatsapp:hover::before {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

@media (min-width: 969px) {
    .floating-whatsapp {
        display: none;
    }
}

/* ==================== Section Styles ==================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 16px auto 20px;
    border-radius: 2px;
}

/* ==================== Page Header ==================== */
.page-header {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    :root {
        --header-height: 72px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }
}

/* ==================== Utility Classes ==================== */
.highlight-location {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 2px;
    color: inherit;
    transition: var(--transition);
}

.highlight-location:hover {
    text-decoration-color: var(--primary-light);
    opacity: 0.9;
}
