/* ==========================================================================
   Sunset Care - Global Stylesheet
   ========================================================================== */

/* Reset & Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #E65F2B;    /* Warm Sunset Orange from Logo */
    --primary-light: #FDF4F0;     /* Soft warm tint for sections */
    --dark-charcoal: #2D3142;     /* Grounded corporate charcoal */
    --text-muted: #5C6479;        /* Mid-tone gray for readable body text */
    --white: #FFFFFF;
    --light-bg: #FAFAFA;          /* Crisp clean light gray background */
    --border-color: #EAECEF;
    --border-radius: 12px;        /* Soft modern corners */
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-charcoal);
    background-color: var(--light-bg);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--dark-charcoal);
    color: var(--white);
    font-size: 14px;
    padding: 8px 20px;
    text-align: right;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    margin-left: 15px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-charcoal);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-orange);
}

/* Main Layout Framework */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Typography elements */
h1, h2, h3, h4 {
    color: var(--dark-charcoal);
    font-weight: 700;
}

h1 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-orange);
    padding-left: 15px;
}

p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 18px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #D44F1C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 95, 43, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-charcoal);
    border: 2px solid var(--dark-charcoal);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--dark-charcoal);
    color: var(--white);
    box-shadow: none;
}

/* Premium Hero Blocks */
.hero-block {
    background: linear-gradient(135deg, #FFFDFB 0%, #FDF4F0 100%);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* Structural Grids & Interface Cards */
.grid-layout-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.ui-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ui-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.ui-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Split Showcase Feature Layout */
.split-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.showcase-image-container {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.showcase-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Input Form Layouts */
.form-wrapper {
    margin-bottom: 24px;
}

.form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
}

.form-field {
    width: 100%;
    padding: 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-field:focus {
    outline: none;
    border-color: var(--primary-orange);
}

/* Comprehensive Footer */
footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p, .footer-col a {
    color: #BAC2D1;
    font-size: 15px;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #8892A6;
}

/* Responsive UI Adjustments */
@media (max-width: 900px) {
    .split-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .showcase-image-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    .nav-links {
        gap: 20px;
    }
    h1 {
        font-size: 34px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
