/* Wartek Cilandak theme layer
   The reference structure remains in css/style.css and css/responsive.css.
   This file only adds the Cilandak visual language and local content accents.
*/

:root {
    --primary-dark: #164e43;
    --primary: #18715f;
    --primary-light: #3fa98d;
    --accent-green: #15803d;
    --accent-green-dark: #166534;
    --white: #ffffff;
    --gray-50: #fffaf3;
    --gray-100: #f8f0e5;
    --gray-200: #eadfce;
    --gray-300: #d7c7b2;
    --gray-400: #a89782;
    --gray-500: #756657;
    --gray-600: #5b4b3c;
    --gray-700: #3f342b;
    --gray-800: #2d251f;
    --gray-900: #1e1915;
    --shadow-sm: 0 1px 2px 0 rgb(60 39 20 / 0.08);
    --shadow: 0 1px 3px 0 rgb(60 39 20 / 0.10), 0 1px 2px -1px rgb(60 39 20 / 0.08);
    --shadow-md: 0 7px 14px -4px rgb(60 39 20 / 0.15), 0 3px 6px -3px rgb(60 39 20 / 0.10);
    --shadow-lg: 0 14px 25px -8px rgb(60 39 20 / 0.20), 0 6px 10px -6px rgb(60 39 20 / 0.10);
    --shadow-xl: 0 24px 34px -12px rgb(25 78 67 / 0.30), 0 10px 15px -8px rgb(60 39 20 / 0.14);
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1.1rem;
    --radius-lg: 1.5rem;
    --transition: all 0.22s cubic-bezier(0.23, 1, 0.32, 1);
}

body.cilandak-theme {
    background: #fffdf9;
}

body.cilandak-theme .header {
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(14px);
    border-bottom-color: #efe5d8;
}

body.cilandak-theme .logo img {
    filter: drop-shadow(0 5px 7px rgba(22, 78, 67, 0.16));
}

body.cilandak-theme .nav-list a:hover,
body.cilandak-theme .nav-list a.active {
    color: var(--primary-dark);
    background: #edf7f1;
}

body.cilandak-theme .hero,
body.cilandak-theme .service-hero {
    background: linear-gradient(120deg, #123f38 0%, #18715f 58%, #2f8b70 100%);
}

body.cilandak-theme .hero::before {
    background-image:
        radial-gradient(circle at 18% 22%, rgba(246, 207, 88, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
        linear-gradient(135deg, transparent 0 47%, rgba(246, 207, 88, 0.08) 48% 50%, transparent 51% 100%);
    background-size: 74px 74px, 53px 53px, 160px 160px;
    opacity: 0.9;
}

body.cilandak-theme .hero-content h1 span,
body.cilandak-theme .hero-feature svg {
    color: #f6cf58;
}

body.cilandak-theme .hero-image {
    border: 6px solid rgba(255,255,255,0.12);
    background: #f5eadb;
}

body.cilandak-theme .service-icon {
    background: linear-gradient(135deg, #e36b3f 0%, #b84d2b 100%);
    box-shadow: 0 10px 18px rgba(184, 77, 43, 0.18);
}

body.cilandak-theme .service-card,
body.cilandak-theme .sidebar-card,
body.cilandak-theme .testimonial-card,
body.cilandak-theme .stat-card,
body.cilandak-theme .area-card {
    box-shadow: 0 7px 20px rgba(94, 65, 35, 0.05);
}

body.cilandak-theme .service-card:hover,
body.cilandak-theme .area-card:hover {
    border-color: #2b9278;
    box-shadow: 0 18px 30px rgba(22, 78, 67, 0.12);
}

body.cilandak-theme .feature-icon {
    background: #fff7e8;
    border-color: #f0d99a;
    color: #b85b32;
}

body.cilandak-theme .callout {
    border-left-color: #e36b3f;
    background: #fff5e8;
}

body.cilandak-theme .cta-section {
    background: linear-gradient(110deg, #164e43 0%, #18715f 62%, #2b9278 100%);
    position: relative;
    overflow: hidden;
}

body.cilandak-theme .cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    right: -110px;
    top: -160px;
    border: 1px solid rgba(246, 207, 88, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(246, 207, 88, 0.08), 0 0 0 52px rgba(246, 207, 88, 0.05);
    pointer-events: none;
}

body.cilandak-theme .btn-primary {
    background: #e36b3f;
    border-color: #e36b3f;
}

body.cilandak-theme .btn-primary:hover {
    background: #b84d2b;
    border-color: #b84d2b;
}

body.cilandak-theme .btn-secondary {
    color: var(--primary-dark);
    border-color: #3fa98d;
}

body.cilandak-theme .btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

body.cilandak-theme .btn-whatsapp {
    background: #15803d;
    border-color: #15803d;
}

body.cilandak-theme .btn-whatsapp:hover {
    background: #166534;
    border-color: #166534;
}

body.cilandak-theme .area-card svg,
body.cilandak-theme .contact-info-icon,
body.cilandak-theme .stat-number {
    color: #d45a32;
}

body.cilandak-theme .footer {
    background: #143d36;
}

body.cilandak-theme .footer-bottom {
    border-top-color: rgba(255,255,255,0.14);
}

/* Added homepage block; base layout still comes from the reference stylesheet. */
.cilandak-ribbon {
    position: relative;
    z-index: 2;
    margin-top: -2.25rem;
    padding-bottom: 1.5rem;
}

.cilandak-ribbon-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-lg);
}

.cilandak-ribbon-copy .eyebrow {
    margin-bottom: 0.45rem;
    color: #b85d36;
}

.cilandak-ribbon-copy h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.8rem);
    margin-bottom: 0.4rem;
}

.cilandak-ribbon-copy p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.cilandak-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.cilandak-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.75rem;
    background: #edf7f1;
    border: 1px solid #cbe8dc;
    border-radius: 999px;
    color: #1d5d50;
    font-size: 0.8rem;
    font-weight: 700;
}

.cilandak-pill::before {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 0.42rem;
    border-radius: 50%;
    background: #e36b3f;
}

@media (max-width: 760px) {
    .cilandak-ribbon {
        margin-top: -1.25rem;
    }

    .cilandak-ribbon-inner {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .cilandak-pills {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.cilandak-theme *,
    body.cilandak-theme *::before,
    body.cilandak-theme *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
