/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Palette */
    --color-bg: #FAF9F7;
    --color-primary: #7A4F2A;
    --color-secondary: #B5895D;
    --color-tertiary: #D97706;
    --color-surface: rgba(255, 255, 255, 0.9);
    --color-surface-hover: #ffffff;
    --color-text-main: #3E2F22;
    /* Darker brown for readability */
    --color-text-light: #7A4F2A;
    --color-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(122, 79, 42, 0.1), 0 2px 4px -1px rgba(122, 79, 42, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(122, 79, 42, 0.1), 0 4px 6px -2px rgba(122, 79, 42, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(122, 79, 42, 0.1), 0 10px 10px -5px rgba(122, 79, 42, 0.04);
}

body {
    background-color: var(--color-bg) !important;
    font-family: 'Inter', sans-serif !important;
    color: var(--color-text-main) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif !important;
    color: var(--color-primary) !important;
}

/* Header / Navbar */
#header {
    background: rgba(250, 249, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

#header.header-scrolled {
    background: rgba(250, 249, 247, 0.98) !important;
    box-shadow: var(--shadow-md);
}

/* Navbar Links */
.navbar a {
    color: var(--color-primary) !important;
    font-weight: 500 !important;
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover>a {
    color: var(--color-tertiary) !important;
}

/* Helper Buttons (Get Started etc) */
.navbar .getstarted,
.btn-get-started,
.buy-btn {
    background: var(--color-tertiary) !important;
    border: 2px solid var(--color-tertiary) !important;
    color: var(--color-white) !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px 0 rgba(217, 119, 6, 0.39) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.navbar .getstarted:hover,
.btn-get-started:hover,
.buy-btn:hover {
    background: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(217, 119, 6, 0.29) !important;
    color: var(--color-white) !important;
}

/* Log-In Button specific style */
.navbar a.page-scroll {
    font-weight: 500 !important;
    transition: color 0.3s ease;
}

/* Hero Section */
#hero {
    background: transparent !important;
    /* Remove old gradients */
    position: relative;
    padding-top: 140px;
    /* Account for fixed header */
}

#hero h1 {
    color: var(--color-primary) !important;
    text-shadow: none !important;
    font-size: 3.5rem !important;
    /* Bigger and bolder */
    line-height: 1.2 !important;
}

#hero h2 {
    color: var(--color-secondary) !important;
    font-weight: 400 !important;
}

/* Fix visibility of text that was previously white in custom.css */
.homesection,
.homeheader,
.action-para,
.text-white {
    color: var(--color-text-main) !important;
}

.homeheader {
    color: var(--color-primary) !important;
    /* Make main header pop more */
}

/* Sections General */
.section-bg {
    background-color: var(--color-bg) !important;
    /* Consistent bg */
}

section {
    padding: 80px 0;
}

.section-title h2 {
    color: var(--color-primary) !important;
    font-size: 2.5rem !important;
}

.section-title h2::after {
    background: var(--color-tertiary) !important;
}

.section-title p {
    color: var(--color-secondary) !important;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}



/* Ensure headings in these sections are Primary Brown, even if they have .text-white class */
#services h2,
#faq h2,
#services .text-white,
#faq .text-white {
    color: var(--color-primary) !important;
}

#services p,
#faq p,
#services .text-white p {
    color: var(--color-secondary) !important;
}

#services .section-title h2::after,
#faq .section-title h2::after {
    background: var(--color-tertiary) !important;
}

/* Feature Boxes / Services */
.icon-box {
    background: var(--color-surface) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(181, 137, 93, 0.2);
    padding: 40px 30px !important;
}

.icon-box:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-lg) !important;
    background: var(--color-surface-hover) !important;
    border-color: var(--color-tertiary);
}

.icon-box h4 a {
    color: var(--color-primary) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
}

.icon-box p {
    color: var(--color-text-main) !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
}

/* Pricing */
.pricing .box {
    background: var(--color-surface) !important;
    border-radius: 24px !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid rgba(181, 137, 93, 0.1);
}

.pricing .box.featured {
    border: 2px solid var(--color-tertiary) !important;
    transform: scale(1.02);
}

.pricing h3 {
    color: var(--color-primary) !important;
}

.pricing h4 {
    color: var(--color-tertiary) !important;
}

.pricing ul li {
    color: var(--color-text-main) !important;
}

.pricing ul li i {
    color: var(--color-tertiary) !important;
}

/* FAQ / Mobile Features */
.faq .faq-list li {
    background: var(--color-surface) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(181, 137, 93, 0.15);
}

.faq .faq-list a {
    color: var(--color-primary) !important;
    font-family: 'Outfit', sans-serif !important;
}

.faq-list .collapse p {
    color: var(--color-text-main) !important;
}

/* Footer */
#footer {
    /* Gradient from transparent/bg to a light tinted color for separation */
    background: linear-gradient(to bottom, var(--color-bg) 0%, rgba(181, 137, 93, 0.08) 100%) !important;
    border-top: 4px solid var(--color-secondary) !important;
    /* Distinct top border */
    padding-top: 40px;
    margin-top: 60px;
}

#footer .footer-newsletter {
    background: var(--color-bg) !important;
    padding: 50px 0;
}

#footer h4 {
    color: var(--color-primary) !important;
}

#footer h4 a {
    color: var(--color-primary) !important;
}

#footer p,
#footer div,
#footer span,
#footer small {
    color: var(--color-text-main) !important;
}

#footer a,
#footer u {
    color: var(--color-primary) !important;
}

#footer a:hover {
    color: var(--color-tertiary) !important;
}

#footer .copyright {
    color: var(--color-text-main) !important;
    margin-top: 20px;
}

#footer .copyright a {
    color: var(--color-primary) !important;
}

/* Form inputs */
input,
textarea,
.form-control {
    border-radius: 12px !important;
    border: 1px solid #e0dacd !important;
    background: #ffffff !important;
    padding: 12px 15px !important;
}

input:focus,
textarea:focus,
.form-control:focus {
    border-color: var(--color-tertiary) !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1) !important;
    outline: none;
}

button[type="submit"] {
    background: var(--color-tertiary) !important;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background: var(--color-secondary) !important;
}