/* ==========================================================================
   1. CORE DEFAULTS & RESET
   ========================================================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Disable selection globally */
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and 11 */
    user-select: none;
    /* Standard syntax */
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* Gives an editorial feel */
    font-weight: 600;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-gray);
    background: linear-gradient(180deg, var(--bg-body-start) 0%, var(--bg-body-end) 100%);
    background-attachment: fixed;
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

/* Decorative underline */
h2::after {
    content: '';
    display: block;
    width: 40px;
    /* Slightly narrower */
    height: 2px;
    /* Thinner */
    background: var(--accent-color);
    margin: 16px auto 0;
    border-radius: var(--radius-pill);
    opacity: 0.8;
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   4. SHARED COMPONENTS (Buttons & Links)
   ========================================================================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--text-dark) !important;
    /* Changed from #1a3c34 to your dark earthy tone */
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    /* Bumped up slightly to stand out on the gold */
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Text Links with Accent Underline (Used in Videos & Reviews) */
.button-accent {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-accent:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--primary-color);
}

/* ==========================================================================
   5. GLOBAL FLOATING ELEMENTS (WhatsApp FAB)
   ========================================================================== */
.chat-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    /* Desktop pill padding */
    height: 56px;
    box-shadow: 0 4px 15px rgba(140, 74, 50, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Subtle attention-grabbing pulse */
    animation: pulse-glow 3s infinite;
}

.chat-float svg {
    stroke: #ffffff;
    fill: none;
    flex-shrink: 0;
}

.chat-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-left: 10px;
    white-space: nowrap;
}

.chat-float:hover {
    background-color: var(--primary-light);
    transform: translateY(-4px) scale(1.02);
    /* Pause the pulse on hover so it feels stable when clicking */
    animation-play-state: paused;
}

/* Keyframes for the soft ring pulse */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(140, 74, 50, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(140, 74, 50, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(140, 74, 50, 0);
    }
}

@media (max-width: 768px) {

    /* Ensures content has enough space to be read above the floating button */
    .section {
        padding-bottom: 8rem;
    }

    .chat-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        /* Force circular shape */
        height: 60px;
        padding: 0;
        /* Remove text padding */
    }

    .chat-text {
        display: none;
        /* Hide the text entirely on mobile */
    }
}