/* ========================================
   COMPONENT STYLESHEET
   ======================================== */

/* Color Variables - Matches Tailwind Palette */
:root {
    --color-saffron: #F4A261;
    --color-ivory: #FFF8F0;
    --color-sand: #EFE3D3;
    --color-maroon: #7A3E2E;
    --color-charcoal: #333333;
    --color-ash: #6B6B6B;
    --color-whatsapp: #25d366;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.2s ease-in-out;
    font-size: 0.875rem;
    line-height: 1;
}

.btn-primary {
    background-color: var(--color-maroon);
    color: white;
    border: 2px solid var(--color-maroon);
}

.btn-primary:hover {
    background-color: var(--color-saffron);
    border-color: var(--color-saffron);
}

.btn-secondary {
    background-color: var(--color-sand);
    color: var(--color-maroon);
    border: 2px solid rgba(122, 62, 46, 0.2);
}

.btn-secondary:hover {
    background-color: var(--color-sand);
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease-in-out;
}

.card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-maroon);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-ash);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

/* Divider */
.divider {
    height: 1px;
    background-color: rgba(122, 62, 46, 0.1);
    margin: 2rem 0;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-sand);
    color: var(--color-maroon);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* List Styles */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Quote Styles */
blockquote {
    border-left: 4px solid var(--color-saffron);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-ash);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(122, 62, 46, 0.1);
}

th {
    background-color: var(--color-sand);
    font-weight: 600;
    color: var(--color-maroon);
}

/* FAQ Accordion Styles */
.accordion {
    border: 1px solid rgba(122, 62, 46, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid rgba(122, 62, 46, 0.1);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--color-ivory);
    border: none;
    font-weight: 600;
    color: var(--color-maroon);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.open {
    padding: 1rem 1.5rem;
    max-height: 500px;
}

/* Alert/Notice Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-info {
    background-color: var(--color-sand);
    border-left: 4px solid var(--color-saffron);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #F59E0B;
}

/* ========================================
   SITE HEADER (components/header.html)
   ======================================== */
.site-header {
    transition: box-shadow 0.2s ease-in-out;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 12px rgba(122, 62, 46, 0.08);
}

.nav-link.is-active {
    color: var(--color-maroon);
}

.mobile-menu-link.is-active {
    color: var(--color-maroon);
    background-color: rgba(244, 162, 97, 0.08);
}

/* ========================================
   SITE FOOTER (components/footer.html)
   ======================================== */
.footer-column-title {
    letter-spacing: 0.08em;
}

/* ========================================
   WHATSAPP FLOATING BUTTON (components/header.html)
   Replaces the old .float class that used to be
   copy-pasted as an inline <style> block on every page.
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 28px;
    right: 24px;
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 90;
}

.whatsapp-float:hover {
    color: #FFFFFF;
    transform: scale(1.05);
}

/* ========================================
   FAQ SCHEMA SECTIONS
   Shared layout for the FAQ blocks required on every page.
   ======================================== */
.faq-question {
    font-weight: 600;
    color: var(--color-maroon);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--color-ash);
    line-height: 1.7;
}
