/*
Theme Name: Cahaya Senja Kaimana
Author: Yudha Wirastana
Description: Tema WordPress resmi CV. Cahaya Senja Kaimana untuk website company profile. Dirancang ringan, responsif, modern, mendukung Dark Mode, Elementor Free, identitas situs dinamis, Informasi, Portfolio, dan integrasi plugin Cahaya Senja.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cahaya-senja-kaimana
Tags: custom-logo, custom-menu, featured-images
*/
/* =========================================================
   WORDPRESS BASE
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

[x-cloak] {
    display: none !important;
}


/* =========================================================
   WORDPRESS CORE
   ========================================================= */

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
}


/* =========================================================
   ADMIN BAR
   ========================================================= */

@media screen and (min-width: 783px) {
    body.admin-bar header.sticky {
        top: 32px;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar header.sticky {
        top: 46px;
    }
}
/* =========================================================
   POST CONTENT
   ========================================================= */

.csk-entry-content > * + * {
    margin-top: 1.5rem;
}

.csk-entry-content p {
    line-height: 1.8;
}

.csk-entry-content h2 {
    margin-top: 2rem;
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    color: #0f172a;
}

.csk-entry-content h3 {
    margin-top: 1.75rem;
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    color: #0f172a;
}

.dark .csk-entry-content h2,
.dark .csk-entry-content h3 {
    color: #ffffff;
}

.csk-entry-content blockquote {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-left: 4px solid #f59e0b;
    border-radius: 0 1rem 1rem 0;
    background: #f8fafc;
    color: #0f172a;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.dark .csk-entry-content blockquote {
    background: #0f172a;
    color: #ffffff;
}

.csk-entry-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.csk-entry-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.csk-entry-content a {
    color: #d97706;
    text-decoration: underline;
}

.csk-entry-content img {
    border-radius: 1rem;
}


/* =========================================================
   WORDPRESS PAGINATION
   ========================================================= */

.navigation.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.navigation.pagination .page-numbers {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.navigation.pagination .page-numbers:hover {
    background: #e2e8f0;
}

.navigation.pagination .page-numbers.current {
    background: #0f172a;
    color: #ffffff;
}

.dark .navigation.pagination .page-numbers {
    background: #0f172a;
    color: #94a3b8;
}

.dark .navigation.pagination .page-numbers:hover {
    background: #1e293b;
}

.dark .navigation.pagination .page-numbers.current {
    background: #f59e0b;
    color: #0f172a;
}


/* =========================================================
   CSK ELEMENTOR COMPATIBILITY
   ========================================================= */


/*
 * Elementor Full Width.
 * Header dan Footer tetap menggunakan Theme.
 */
.csk-elementor-page,
.csk-elementor-frontpage {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}


/*
 * Hilangkan margin bawaan WordPress pada area Elementor.
 */
.csk-elementor-page > .elementor,
.csk-elementor-frontpage > .elementor {
    width: 100%;
    max-width: none;
    margin: 0;
}


/*
 * Elementor mengikuti font Theme.
 */
.elementor {
    font-family: 'Inter', sans-serif;
}


.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6,
.elementor-heading-title,
.elementor-button {
    font-family: 'Poppins', sans-serif;
}


/*
 * Elementor images.
 */
.elementor img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   ELEMENTOR + DARK MODE
   ========================================================= */

:root {

    --csk-bg: #ffffff;

    --csk-surface: #f8fafc;

    --csk-surface-card: #ffffff;

    --csk-text: #0f172a;

    --csk-text-body: #475569;

    --csk-text-muted: #64748b;

    --csk-border: #e2e8f0;

    --csk-primary: #d97706;

    --csk-primary-light: #f59e0b;

}


html.dark {

    --csk-bg: #020617;

    --csk-surface: #0f172a;

    --csk-surface-card: #0f172a;

    --csk-text: #ffffff;

    --csk-text-body: #cbd5e1;

    --csk-text-muted: #94a3b8;

    --csk-border: #1e293b;

    --csk-primary: #f59e0b;

    --csk-primary-light: #fbbf24;

}


/*
 * Utility classes yang dapat digunakan dari Elementor.
 *
 * Elementor:
 * Advanced
 * → CSS Classes
 */
.csk-bg {
    background-color: var(--csk-bg);
}


.csk-surface {
    background-color: var(--csk-surface);
}


.csk-card {
    background-color: var(--csk-surface-card);
    border-color: var(--csk-border);
}


.csk-heading {
    color: var(--csk-text);
}


.csk-text {
    color: var(--csk-text-body);
}


.csk-muted {
    color: var(--csk-text-muted);
}


.csk-border {
    border-color: var(--csk-border);
}


.csk-primary {
    color: var(--csk-primary);
}


/*
 * Transition saat berpindah Light / Dark.
 */
.csk-bg,
.csk-surface,
.csk-card,
.csk-heading,
.csk-text,
.csk-muted,
.csk-border {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


/*
 * Jangan beri Elementor container tambahan dari Theme.
 */
.elementor-page .site-main {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}


/*
 * Elementor editor compatibility.
 */
.elementor-editor-active
.csk-elementor-frontpage {
    min-height: 300px;
}



/* =========================================================
   CSK ELEMENTOR HOME V2
   ========================================================= */


/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */

.csk-home-v2 {
    width: 100%;
}

.csk-home-v2,
.csk-home-v2 p,
.csk-home-v2 li,
.csk-home-v2 input,
.csk-home-v2 textarea,
.csk-home-v2 button {
    font-family: "Inter", sans-serif;
}

.csk-home-v2 h1,
.csk-home-v2 h2,
.csk-home-v2 h3,
.csk-home-v2 h4,
.csk-home-v2 h5,
.csk-home-v2 h6,
.csk-home-v2 .elementor-heading-title,
.csk-home-v2 .elementor-button {
    font-family: "Poppins", sans-serif;
}


/* ---------------------------------------------------------
   PROFILE
   --------------------------------------------------------- */

.csk-home-profile {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

html.dark .csk-home-profile {
    background: #020617;
    border-top-color: #0f172a;
}

.csk-profile-image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow:
        0 25px 50px -12px
        rgba(15, 23, 42, 0.25);
}

.csk-profile-caption {
    margin-top: -8px;
    padding: 18px 22px;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
}

.csk-profile-caption-label {
    margin: 0 0 4px;
    color: #f59e0b;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.csk-profile-caption-title {
    margin: 0;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   COMMON SECTION ELEMENTS
   --------------------------------------------------------- */

.csk-section-badge-wrap {
    display: flex;
}

.csk-section-badge-wrap.is-center {
    justify-content: center;
}

.csk-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    padding: 7px 13px;
    border: 1px solid #fde68a;
    border-radius: 999px;
    background: #fffbeb;
    color: #b45309;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
}

html.dark .csk-section-badge {
    border-color: rgba(217,119,6,0.35);
    background: rgba(120,53,15,0.25);
    color: #fbbf24;
}

.csk-heading .elementor-heading-title {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

html.dark .csk-heading .elementor-heading-title {
    color: #ffffff;
}

.csk-heading .csk-highlight {
    color: #d97706;
}

html.dark .csk-heading .csk-highlight {
    color: #f59e0b;
}

.csk-body-text,
.csk-body-text p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

html.dark .csk-body-text,
html.dark .csk-body-text p {
    color: #94a3b8;
}


/* ---------------------------------------------------------
   PROFILE FEATURES
   --------------------------------------------------------- */

.csk-profile-features .elementor-icon-list-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 12px;
}

.csk-profile-features .elementor-icon-list-item {
    margin: 0 !important;
}

.csk-profile-features .elementor-icon-list-text {
    color: #334155;
    font-size: 13px;
    font-weight: 500;
}

.csk-profile-features .elementor-icon-list-icon {
    color: #d97706;
}

html.dark .csk-profile-features .elementor-icon-list-text {
    color: #e2e8f0;
}

html.dark .csk-profile-features .elementor-icon-list-icon {
    color: #f59e0b;
}


/* ---------------------------------------------------------
   SERVICES
   --------------------------------------------------------- */

.csk-home-services {
    background:
        radial-gradient(
            circle,
            rgba(217,119,6,0.06) 1px,
            transparent 1px
        ),
        #f8fafc;

    background-size: 24px 24px;

    border-top: 1px solid #e2e8f0;
}

html.dark .csk-home-services {
    background:
        radial-gradient(
            circle,
            rgba(245,158,11,0.08) 1px,
            transparent 1px
        ),
        #0f172a;

    background-size: 24px 24px;

    border-top-color: #1e293b;
}

.csk-service-card {
    height: 100%;
    padding: 30px !important;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 1px 2px
        rgba(15,23,42,0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.csk-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217,119,6,0.45);
    box-shadow:
        0 20px 35px -15px
        rgba(15,23,42,0.18);
}

html.dark .csk-service-card {
    border-color: #1e293b;
    background: #0f172a;
}

html.dark .csk-service-card:hover {
    border-color: rgba(245,158,11,0.55);
}

.csk-service-icon .elementor-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fde68a;
    border-radius: 16px;
    background: #fffbeb;
    color: #d97706;
}

html.dark .csk-service-icon .elementor-icon {
    border-color: rgba(217,119,6,0.35);
    background: rgba(120,53,15,0.25);
    color: #f59e0b;
}

.csk-service-title .elementor-heading-title {
    color: #0f172a;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

html.dark .csk-service-title .elementor-heading-title {
    color: #ffffff;
}

.csk-service-description,
.csk-service-description p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

html.dark .csk-service-description,
html.dark .csk-service-description p {
    color: #94a3b8;
}

.csk-service-bullets {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

html.dark .csk-service-bullets {
    border-top-color: #1e293b;
}

.csk-service-bullets ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.csk-service-bullets li {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

html.dark .csk-service-bullets li {
    color: #94a3b8;
}

.csk-service-dot {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 5px;
    border-radius: 999px;
    background: #f59e0b;
}

.csk-service-actions .elementor-button {
    min-height: 34px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 600;
}

.csk-btn-whatsapp .elementor-button {
    background: #22c55e;
    color: #ffffff;
}

.csk-btn-whatsapp .elementor-button:hover {
    background: #16a34a;
}

.csk-btn-email .elementor-button {
    background: #0f172a;
    color: #ffffff;
}

html.dark .csk-btn-email .elementor-button {
    background: #334155;
}


/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */

.csk-home-contact {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

html.dark .csk-home-contact {
    background: #020617;
    border-top-color: #0f172a;
}

.csk-contact-info .elementor-icon-list-text {
    color: #475569;
    font-size: 13px;
}

.csk-contact-info .elementor-icon-list-icon {
    color: #d97706;
}

html.dark .csk-contact-info .elementor-icon-list-text {
    color: #cbd5e1;
}

html.dark .csk-contact-info .elementor-icon-list-icon {
    color: #f59e0b;
}

.csk-contact-whatsapp .elementor-button {
    width: auto;
    padding: 14px 22px;
    border-radius: 11px;
    background: #059669;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.csk-contact-whatsapp .elementor-button:hover {
    background: #047857;
}

.csk-contact-form-card {
    padding: 36px !important;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #f8fafc;
    box-shadow:
        0 15px 35px -20px
        rgba(15,23,42,0.25);
}

html.dark .csk-contact-form-card {
    border-color: #1e293b;
    background: rgba(15,23,42,0.75);
}

.csk-contact-form label {
    display: block;
    margin-bottom: 7px;
    color: #475569;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

html.dark .csk-contact-form label {
    color: #cbd5e1;
}

.csk-contact-form .csk-field {
    margin-bottom: 17px;
}

.csk-contact-form input,
.csk-contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.csk-contact-form input:focus,
.csk-contact-form textarea:focus {
    border-color: #d97706;
    box-shadow:
        0 0 0 3px
        rgba(217,119,6,0.10);
}

html.dark .csk-contact-form input,
html.dark .csk-contact-form textarea {
    border-color: #334155;
    background: #020617;
    color: #ffffff;
}

.csk-contact-form button {
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.csk-contact-form button:hover {
    background: #d97706;
}

html.dark .csk-contact-form button {
    background: #f59e0b;
    color: #0f172a;
}

.csk-form-note {
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 10px;
}


/* ---------------------------------------------------------
   ELEMENTOR SHORTCODE CLEANUP
   --------------------------------------------------------- */

.csk-slider-shortcode > .elementor-widget-container,
.csk-portfolio-shortcode > .elementor-widget-container {
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .csk-profile-image img {
        height: 420px;
    }

    .csk-service-card {
        padding: 26px !important;
    }
}


@media (max-width: 767px) {

    .csk-profile-image img {
        height: 330px;
    }

    .csk-profile-features .elementor-icon-list-items {
        grid-template-columns: 1fr;
    }

    .csk-service-card {
        padding: 24px !important;
    }

    .csk-contact-form-card {
        padding: 24px !important;
    }
}



/* =========================================================
   CSK WORDPRESS HEADER MENU
   ========================================================= */

[x-cloak] {
    display: none !important;
}


/* Logo */

.csk-header-brand .custom-logo-link {
    display: flex;
    align-items: center;
}

.csk-header-brand .custom-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 48px;
    object-fit: contain;
}


/* Desktop */

.csk-desktop-menu,
.csk-desktop-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.csk-desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.csk-desktop-menu > li {
    position: relative;
}

.csk-desktop-menu > li > a {
    display: block;
    padding: 1.8rem 0;
    color: #475569;
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.csk-desktop-menu > li > a:hover {
    color: #d97706;
}

.dark .csk-desktop-menu > li > a {
    color: #cbd5e1;
}

.dark .csk-desktop-menu > li > a:hover {
    color: #f59e0b;
}


/* Current Menu */

.csk-desktop-menu .current-menu-item > a,
.csk-desktop-menu .current-menu-parent > a,
.csk-desktop-menu .current-menu-ancestor > a,
.csk-desktop-menu .current_page_item > a {
    color: #d97706;
    font-weight: 600;
}

.dark .csk-desktop-menu .current-menu-item > a,
.dark .csk-desktop-menu .current-menu-parent > a,
.dark .csk-desktop-menu .current-menu-ancestor > a,
.dark .csk-desktop-menu .current_page_item > a {
    color: #f59e0b;
}


/* Dropdown */

.csk-desktop-menu .sub-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    z-index: 100;

    min-width: 220px;

    padding: 0.5rem;

    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;

    background: #ffffff;

    box-shadow:
        0 20px 35px -15px
        rgba(15, 23, 42, 0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.csk-desktop-menu li:hover > .sub-menu,
.csk-desktop-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dark .csk-desktop-menu .sub-menu {
    border-color: #1e293b;
    background: #0f172a;
}

.csk-desktop-menu .sub-menu li {
    position: relative;
}

.csk-desktop-menu .sub-menu a {
    display: block;

    padding: 0.7rem 0.9rem;

    border-radius: 0.5rem;

    color: #475569;

    font-size: 0.82rem;
    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.csk-desktop-menu .sub-menu a:hover {
    background: #fffbeb;
    color: #d97706;
}

.dark .csk-desktop-menu .sub-menu a {
    color: #cbd5e1;
}

.dark .csk-desktop-menu .sub-menu a:hover {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
}


/* Mobile */

.csk-mobile-menu,
.csk-mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.csk-mobile-menu > li {
    border-bottom: 1px solid #f1f5f9;
}

.dark .csk-mobile-menu > li {
    border-bottom-color: #1e293b;
}

.csk-mobile-menu > li:last-child {
    border-bottom: 0;
}

.csk-mobile-menu a {
    display: block;

    padding: 0.8rem 0;

    color: #0f172a;

    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;

    text-decoration: none;
}

.dark .csk-mobile-menu a {
    color: #f8fafc;
}

.csk-mobile-menu .current-menu-item > a,
.csk-mobile-menu .current-menu-parent > a,
.csk-mobile-menu .current_page_item > a {
    color: #d97706;
    font-weight: 600;
}

.dark .csk-mobile-menu .current-menu-item > a,
.dark .csk-mobile-menu .current-menu-parent > a,
.dark .csk-mobile-menu .current_page_item > a {
    color: #f59e0b;
}

.csk-mobile-menu .sub-menu {
    padding-left: 1rem;
    padding-bottom: 0.5rem;
}

.csk-mobile-menu .sub-menu a {
    padding: 0.5rem 0;

    color: #64748b;

    font-size: 0.82rem;
}

.dark .csk-mobile-menu .sub-menu a {
    color: #94a3b8;
}


/* ==========================================================
   CSK GLOBAL LAYOUT TOKENS
   ========================================================== */

:root {
    --csk-container-width: 1140px;
    --csk-container-gutter: 24px;
}

.csk-site-container {
    width: 100%;
    max-width: var(--csk-container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--csk-container-gutter);
    padding-right: var(--csk-container-gutter);
    box-sizing: border-box;
}

@media (max-width: 767px) {

    :root {
        --csk-container-gutter: 20px;
    }

}
