/*
Theme Name:        Zahara Kebab
Theme URI:         https://zaharakebab.com
Author:            WarungFIX
Author URI:        https://ptf.id
Description:       Premium WordPress Theme untuk Zahara Kebab — Franchise & Company Profile Website. Modern F&B franchise theme dengan identitas kuning dominan, merah aksen, dan black balance.
Version:           2.0.1
Requires at least: 6.4
Tested up to:      6.7
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       zahara-kebab
Tags:              franchise, food, restaurant, business, yellow, custom-colors, custom-logo, featured-images, full-width-template, gutenberg, block-patterns, responsive-layout

*/

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand Colors */
    --zk-yellow:         #F8C400;
    --zk-yellow-dark:    #E6B400;
    --zk-yellow-light:   #FDD835;
    --zk-yellow-pale:    #FFF8E1;
    --zk-red:            #D62828;
    --zk-red-dark:       #B71C1C;
    --zk-red-light:      #EF5350;
    --zk-black:          #111111;
    --zk-black-soft:     #1A1A1A;
    --zk-gray-900:       #212121;
    --zk-gray-700:       #424242;
    --zk-gray-500:       #757575;
    --zk-gray-300:       #BDBDBD;
    --zk-gray-100:       #F5F5F5;
    --zk-white:          #FFFFFF;

    /* Typography */
    --font-display:      'Montserrat', sans-serif;
    --font-body:         'Inter', sans-serif;

    /* Type Scale */
    --text-xs:           0.75rem;
    --text-sm:           0.875rem;
    --text-base:         1rem;
    --text-lg:           1.125rem;
    --text-xl:           1.25rem;
    --text-2xl:          1.5rem;
    --text-3xl:          1.875rem;
    --text-4xl:          2.25rem;
    --text-5xl:          3rem;
    --text-6xl:          3.75rem;
    --text-7xl:          4.5rem;

    /* Spacing */
    --space-1:           0.25rem;
    --space-2:           0.5rem;
    --space-3:           0.75rem;
    --space-4:           1rem;
    --space-6:           1.5rem;
    --space-8:           2rem;
    --space-10:          2.5rem;
    --space-12:          3rem;
    --space-16:          4rem;
    --space-20:          5rem;
    --space-24:          6rem;
    --space-32:          8rem;

    /* Layout */
    --container-max:     1440px;
    --content-max:       1200px;
    --content-narrow:    800px;

    /* Borders */
    --radius-sm:         4px;
    --radius-md:         8px;
    --radius-lg:         12px;
    --radius-xl:         16px;
    --radius-2xl:        24px;
    --radius-full:       9999px;

    /* Shadows */
    --shadow-sm:         0 1px 3px rgba(0,0,0,0.12);
    --shadow-md:         0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg:         0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl:         0 16px 48px rgba(0,0,0,0.20);
    --shadow-yellow:     0 8px 32px rgba(248,196,0,0.30);
    --shadow-red:        0 8px 32px rgba(214,40,40,0.25);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--zk-black);
    background-color: var(--zk-white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--zk-black);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.zk-container {
    width: 100%;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.zk-container--wide {
    max-width: var(--container-max);
}

.zk-container--narrow {
    max-width: var(--content-narrow);
}

.zk-section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
}

.zk-section--sm {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

.zk-section--lg {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

.zk-eyebrow {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--zk-red);
    display: block;
    margin-bottom: var(--space-3);
}

.zk-heading-xl {
    font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
    font-weight: 800;
    line-height: 1.1;
}

.zk-heading-lg {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    font-weight: 800;
    line-height: 1.15;
}

.zk-heading-md {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: 700;
    line-height: 1.2;
}

.zk-heading-sm {
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
    font-weight: 700;
}

.zk-text-yellow { color: var(--zk-yellow); }
.zk-text-red    { color: var(--zk-red); }
.zk-text-white  { color: var(--zk-white); }
.zk-text-black  { color: var(--zk-black); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.zk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-8);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.zk-btn--primary {
    background-color: var(--zk-red);
    color: var(--zk-white);
    box-shadow: var(--shadow-red);
}

.zk-btn--primary:hover {
    background-color: var(--zk-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(214,40,40,0.35);
    color: var(--zk-white);
}

.zk-btn--secondary {
    background-color: transparent;
    color: var(--zk-black);
    border: 2px solid var(--zk-black);
}

.zk-btn--secondary:hover {
    background-color: var(--zk-black);
    color: var(--zk-white);
    transform: translateY(-2px);
}

.zk-btn--yellow {
    background-color: var(--zk-yellow);
    color: var(--zk-black);
    box-shadow: var(--shadow-yellow);
}

.zk-btn--yellow:hover {
    background-color: var(--zk-yellow-dark);
    transform: translateY(-2px);
    color: var(--zk-black);
}

.zk-btn--outline-white {
    background-color: transparent;
    color: var(--zk-white);
    border: 2px solid var(--zk-white);
}

.zk-btn--outline-white:hover {
    background-color: var(--zk-white);
    color: var(--zk-black);
}

.zk-btn--lg {
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-base);
}

.zk-btn--sm {
    padding: var(--space-2) var(--space-6);
    font-size: var(--text-xs);
}

/* ==========================================================================
   BADGE / TAG
   ========================================================================== */

.zk-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
}

.zk-badge--yellow {
    background-color: var(--zk-yellow);
    color: var(--zk-black);
}

.zk-badge--red {
    background-color: var(--zk-red);
    color: var(--zk-white);
}

.zk-badge--dark {
    background-color: var(--zk-black);
    color: var(--zk-white);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.zk-card {
    background: var(--zk-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.zk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.zk-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.zk-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.zk-card:hover .zk-card__image img {
    transform: scale(1.05);
}

.zk-card__body {
    padding: var(--space-6);
}

.zk-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.zk-card__meta {
    font-size: var(--text-sm);
    color: var(--zk-gray-500);
    margin-bottom: var(--space-3);
}

.zk-card__excerpt {
    font-size: var(--text-sm);
    color: var(--zk-gray-700);
    line-height: 1.6;
}

/* ==========================================================================
   SECTION TITLE
   ========================================================================== */

.zk-section-title {
    margin-bottom: var(--space-12);
}

.zk-section-title--center {
    text-align: center;
}

.zk-section-title p {
    margin-top: var(--space-4);
    font-size: var(--text-lg);
    color: var(--zk-gray-700);
    max-width: 640px;
}

.zk-section-title--center p {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   DIVIDER
   ========================================================================== */

.zk-divider {
    width: 60px;
    height: 4px;
    background-color: var(--zk-yellow);
    margin: var(--space-4) 0;
    border-radius: var(--radius-full);
}

.zk-divider--red {
    background-color: var(--zk-red);
}

.zk-divider--center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   BACKGROUNDS
   ========================================================================== */

.zk-bg-yellow        { background-color: var(--zk-yellow); }
.zk-bg-yellow-pale   { background-color: var(--zk-yellow-pale); }
.zk-bg-red           { background-color: var(--zk-red); }
.zk-bg-black         { background-color: var(--zk-black); }
.zk-bg-gray          { background-color: var(--zk-gray-100); }
.zk-bg-white         { background-color: var(--zk-white); }

/* ==========================================================================
   GRID SYSTEM
   ========================================================================== */

.zk-grid {
    display: grid;
    gap: var(--space-6);
}

.zk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.zk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.zk-grid--4 { grid-template-columns: repeat(4, 1fr); }
.zk-grid--5 { grid-template-columns: repeat(5, 1fr); }

.zk-flex {
    display: flex;
    align-items: center;
}

.zk-flex--between {
    justify-content: space-between;
}

.zk-flex--center {
    justify-content: center;
}

.zk-flex--gap-4 { gap: var(--space-4); }
.zk-flex--gap-6 { gap: var(--space-6); }
.zk-flex--gap-8 { gap: var(--space-8); }

/* ==========================================================================
   SKIP LINK (Accessibility)
   ========================================================================== */

.zk-skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--zk-red);
    color: var(--zk-white);
    padding: var(--space-2) var(--space-4);
    font-weight: 700;
    z-index: 9999;
    border-radius: var(--radius-sm);
    transition: top var(--transition-fast);
}

.zk-skip-link:focus {
    top: var(--space-4);
    color: var(--zk-white);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .zk-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .zk-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --space-20: 3.5rem;
        --space-24: 4rem;
        --space-32: 5rem;
    }

    .zk-grid--2,
    .zk-grid--3,
    .zk-grid--4,
    .zk-grid--5 {
        grid-template-columns: 1fr;
    }

    .zk-container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
}

@media (max-width: 480px) {
    :root {
        --space-20: 3rem;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes zk-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zk-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes zk-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

@keyframes zk-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.zk-animate-fadeInUp {
    animation: zk-fadeInUp 0.6s ease both;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   WORDPRESS NATIVE CLASSES
   ========================================================================== */

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

.wp-caption-text {
    font-size: var(--text-sm);
    color: var(--zk-gray-500);
    text-align: center;
    padding-top: var(--space-2);
}

.sticky { /* sticky post */ }

.gallery {
    display: grid;
    gap: var(--space-4);
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.alignleft  { float: left; margin-right: var(--space-6); margin-bottom: var(--space-4); }
.alignright { float: right; margin-left: var(--space-6); margin-bottom: var(--space-4); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: var(--space-4); }
.alignwide   { margin-left: calc(-1 * var(--space-8)); margin-right: calc(-1 * var(--space-8)); }
.alignfull   { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--zk-yellow);
    clip: auto !important;
    clip-path: none;
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    height: auto;
    left: var(--space-4);
    padding: var(--space-3) var(--space-6);
    text-decoration: none;
    top: var(--space-4);
    width: auto;
    z-index: 100000;
}
