/* 
   Sunflower Court - Design System 
   Based on "Garden Residential" Concept
*/

:root {
    /* 1. Core Palette */
    --sc-gold-primary: #F2B233;
    /* Sunflower Gold - Primary Actions */
    --sc-gold-light: #F5C04A;
    /* Gold Hover */

    --sc-green-leaf: #5E7F3A;
    /* Leaf Green - Navigation, Icons */
    --sc-green-dark: #243524;
    /* Deep Forest - Text, Footers, Dark Mode BG */
    --sc-green-olive: #1E2A1F;
    /* Olive - Dark Theme Base */

    --sc-brown-warm: #6B3E1E;
    /* Warm Brown - Headings */

    --sc-cream-base: #FAF3DF;
    /* Soft Cream - Light Mode BG */
    --sc-white-pure: #FFFFFF;
    /* Cards, Modals */

    /* 2. Text Colors */
    --sc-text-heading: var(--sc-brown-warm);
    --sc-text-body: #2E2E2E;
    /* Charcoal - Main Text */
    --sc-text-muted: #666666;

    /* 3. Spacing & Radius */
    --sc-radius-card: 12px;
    --sc-radius-btn: 8px;

    /* 4. Shadows */
    --sc-shadow-soft: 0 4px 20px rgba(94, 127, 58, 0.10);
    --sc-shadow-hover: 0 8px 30px rgba(94, 127, 58, 0.15);
}

/* Typography Overrides */
/* Note: Load 'Playfair Display' (serif) and 'Lato' (sans) in renderer */

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Playfair Display', serif !important;
    color: var(--sc-text-heading);
    font-weight: 700;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--sc-cream-base);
    color: var(--sc-text-body);
}

/* Utility overrides for legacy template */
.bg-light {
    background-color: var(--sc-cream-base) !important;
}

.text-primary {
    color: var(--sc-brown-warm) !important;
}

/* Button Systems */
.btn-primary {
    background-color: var(--sc-gold-primary);
    border-color: var(--sc-gold-primary);
    color: #fff;
    border-radius: var(--sc-radius-btn);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--sc-gold-light);
    border-color: var(--sc-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--sc-shadow-hover);
}

.btn-outline-primary {
    color: var(--sc-green-leaf);
    border-color: var(--sc-green-leaf);
    border-width: 2px;
}

.btn-outline-primary:hover {
    background-color: var(--sc-green-leaf);
    border-color: var(--sc-green-leaf);
    color: white;
}

/* Navigation - Clean & Sticky */
.navbar {
    background-color: var(--sc-white-pure) !important;
    box-shadow: var(--sc-shadow-soft);
    padding: 15px 0;
}

.nav-link {
    color: var(--sc-green-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 16px !important;
}

.nav-link:hover {
    color: var(--sc-gold-primary) !important;
}

/* Card Styling - Residential Feel */
.card {
    border: none;
    border-radius: var(--sc-radius-card);
    background: var(--sc-white-pure);
    box-shadow: var(--sc-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sc-shadow-hover);
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Amenities Icons */
.badge-light {
    background-color: rgba(94, 127, 58, 0.1);
    /* transparent green */
    color: var(--sc-green-leaf);
    border: 1px solid rgba(94, 127, 58, 0.2) !important;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.heading-section h2 {
    color: var(--sc-brown-warm);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.subheading {
    color: var(--sc-gold-primary);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* Footer */
footer,
.mastfoot {
    background-color: var(--sc-green-dark) !important;
    color: var(--sc-cream-base) !important;
    padding: 40px 0;
}