/*!
Theme Name: Kura Theme
Description: A custom WordPress theme template with ACF support
Version: 1.0.0
*/

/* Design System Colors */
:root {
  /* Gray Scale */
  --color-gray-900: #140E10;
  --color-gray-800: #212529;
  --color-gray-700: #343A40;
  --color-gray-600: #495057;
  --color-gray-500: #6C757D;
  --color-gray-400: #ADB5BD;
  --color-gray-300: #CED4DA;
  --color-gray-200: #DEE2E6;
  --color-gray-100: #F7F8F2;

  /* Blue/Purple Tones */
  --color-blue-primary: #697AFF;
  --color-blue-light-100: #8290FF;
  --color-blue-light-200: #9CA7FF;
  --color-blue-light-300: #B5BEFF;
  --color-blue-light-400: #CFD4FF;
  --color-blue-light-500: #E8EBFF;
  --color-blue-dark-100: #364DFF;
  --color-blue-dark-200: #4F63FF;

  /* Orange/Red Tones */
  --color-orange-primary: #FF6112;
  --color-orange-light-100: #FF722B;
  --color-orange-light-200: #FF8345;
  --color-orange-light-300: #FF945E;
  --color-orange-light-400: #FFA578;
  --color-orange-light-500: #FFB691;
  --color-orange-light-600: #FFC7AB;
  --color-orange-light-700: #FFD8C4;

  /* Yellow/Gold Tones */
  --color-yellow-light-100: #FFF8EB;
  --color-yellow-light-200: #FFEBC2;
  --color-yellow-light-300: #dd9300;
  --color-yellow-primary: #FFCE5C;
  --color-yellow-dark-100: #E1A501;
  --color-yellow-dark-200: #A17A00;
  --color-yellow-dark-300: #876600;
  --color-yellow-dark-400: #6E5300;

  /* Green Tones */
  --color-green-light-100: #E5EAD7;
  --color-green-light-200: #CFD9BF;
  --color-green-light-300: #AFBF95;
  --color-green-primary: #91A671;
  --color-green-dark-100: #758C51;
  --color-green-dark-200: #5B7337;
  --color-green-dark-300: #435922;

  /* Semantic Color Aliases */
  --color-primary: var(--color-green-primary);
  --color-secondary: var(--color-orange-light-300);
  --color-accent: var(--color-green-dark-300);
  --color-success: var(--color-green-primary);
  --color-text-primary: var(--color-gray-900);
  --color-text-secondary: var(--color-gray-500);
  --color-text-light: var(--color-gray-600);
  --color-background: var(--color-green-primary);
  --color-surface: var(--color-gray-100);
  --color-border: var(--color-green-dark-300);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-surface);
}

/* Fix WordPress admin bar overflow op kleine schermen */
#wpadminbar {
    overflow-x: hidden;
}

.container {
    /* max-width wordt ingesteld via Customizer */
    margin: 0 auto;
    padding: 0 20px;
}

main>.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;

    @media (max-width: 768px) {
        padding: 0;
    }
}

/* WordPress Block Overrides */
.wp-block-columns,
.wp-block-column,
.wp-block-group,
.entry-content > * {
    max-width: 100%;
    box-sizing: border-box;
}

.entry-content {
    width: 100%;
    max-width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 5.75rem; }
h2 { font-size: 3.75rem; }
h3 { font-size: 1.9375rem; }

p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

a {
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

/* Layout */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-area {
    flex: 1;
    width: 100%;
    padding: 0 0 0 0;

    @media (max-width: 768px) {
        padding: 0;
    }
}

.site-main {
    width: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Content */
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-meta a {
    color: #666;
}

.entry-thumbnail {
    margin-bottom: 2rem;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    margin-bottom: 2rem;
}

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

.entry-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Sidebar */
.widget-area {
    padding: 2rem 0;
}

.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.widget-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #005177;
    color: #fff;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

/* Responsive Design */

/* Accessibility */
.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 !important;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    background: #0073aa;
    color: #fff;
    padding: 0.5rem 1rem;
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 999999;
    text-decoration: none;
}

.skip-link:focus {
    top: 6px;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Pagination */
.posts-navigation,
.post-navigation {
    margin: 3rem 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.nav-previous,
.nav-next {
    flex: 1;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

/* Search */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
}

.search-submit {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
}

@font-face {
    font-family: 'Satoshi';
    font-style: normal;
    font-weight: 400;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: italic;
    font-weight: 400;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-Italic.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: normal;
    font-weight: 300;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-Light.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: italic;
    font-weight: 300;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-LightItalic.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: normal;
    font-weight: 500;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-Medium.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: italic;
    font-weight: 500;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-MediumItalic.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: normal;
    font-weight: 700;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-Bold.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: italic;
    font-weight: 700;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-BoldItalic.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: normal;
    font-weight: 900;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-Black.woff') format('woff');
}
@font-face {
    font-family: 'Satoshi';
    font-style: italic;
    font-weight: 900;
    src: local('Satoshi'), url('https://fonts.cdnfonts.com/s/85546/Satoshi-BlackItalic.woff') format('woff');
}