/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material-symbols-outlined.fill {
    font-variation-settings: 'FILL' 1;
}

/* Tailwind CSS Custom Properties - Color Palette */
:root {
    --surface-container-high: #e6e9e8;
    --secondary-fixed: #d9e6de;
    --surface-container-lowest: #ffffff;
    --text-primary: #1A2E1F;
    --surface-container: #eceeed;
    --surface: #f8faf9;
    --on-primary: #ffffff;
    --tertiary: #655b44;
    --primary-fixed-dim: #68de80;
    --tertiary-fixed-dim: #d3c5a8;
    --inverse-on-surface: #eff1f0;
    --surface-tint: #006e2d;
    --error-container: #ffdad6;
    --primary-fixed: #85fb9a;
    --background: #f8faf9;
    --on-secondary-fixed-variant: #3e4944;
    --inverse-primary: #68de80;
    --error: #C62828;
    --on-tertiary-fixed-variant: #4f4630;
    --surface-dim: #d8dada;
    --tertiary-fixed: #f0e1c3;
    --on-tertiary-container: #fffbff;
    --border-subtle: #D4DDD7;
    --on-primary-container: #f7fff2;
    --on-surface: #191c1c;
    --on-secondary-fixed: #131e19;
    --on-tertiary-fixed: #221b08;
    --surface-variant: #e1e3e2;
    --surface-container-highest: #e1e3e2;
    --inverse-surface: #2e3131;
    --secondary-fixed-dim: #bdcac2;
    --primary-dark: #006B2D;
    --on-error: #ffffff;
    --text-secondary: #5A6B5E;
    --surface-bright: #f8faf9;
    --on-error-container: #93000a;
    --primary-container: #00873a;
    --primary: #006b2c;
    --tertiary-container: #7f735b;
    --on-tertiary: #ffffff;
    --on-surface-variant: #3e4a3e;
    --on-secondary: #ffffff;
    --on-background: #191c1c;
    --secondary: #55615b;
    --on-secondary-container: #5b6761;
    --on-primary-fixed-variant: #005320;
    --secondary-container: #d9e6de;
    --surface-container-low: #f2f4f3;
    --outline-variant: #bdcaba;
    --outline: #6e7a6d;
    --on-primary-fixed: #002109;
}

/* Base Styles */
body.kedr-theme {
    background-color: var(--surface);
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* Typography */
.kedr-theme h1,
.kedr-theme h2,
.kedr-theme h3,
.kedr-theme h4,
.kedr-theme h5,
.kedr-theme h6 {
    font-family: 'Outfit', system-ui, sans-serif;
}

/* Header Styles */
.kedr-header {
    background-color: rgba(248, 250, 249, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kedr-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

@media (min-width: 768px) {
    .kedr-header-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.kedr-brand {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.2s;
}

.kedr-brand:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.kedr-brand-text {
    display: none;
}

@media (min-width: 640px) {
    .kedr-brand-text {
        display: inline;
    }
}

/* Navigation */
.kedr-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .kedr-nav {
        display: flex;
    }
}

.kedr-nav-link {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.kedr-nav-link:active {
    transform: scale(0.95);
}

.kedr-nav-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.kedr-nav-link-secondary {
    color: var(--secondary);
    border-bottom: none;
    padding-bottom: 0;
    transition: color 0.2s;
}

.kedr-nav-link-secondary:hover {
    color: var(--primary);
}

/* Header Actions */
.kedr-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kedr-phone {
    display: none;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

@media (min-width: 640px) {
    .kedr-phone {
        display: flex;
    }
}

.kedr-phone:hover {
    color: var(--primary);
}

.kedr-phone-icon {
    font-size: 18px;
}

.kedr-divider {
    display: none;
    width: 1px;
    height: 20px;
    background-color: var(--border-subtle);
}

@media (min-width: 640px) {
    .kedr-divider {
        display: block;
    }
}

.kedr-social-link {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.kedr-social-link:hover {
    color: var(--primary);
}

.kedr-social-icon {
    width: 20px;
    height: 20px;
}

.kedr-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.kedr-search-btn:hover {
    color: var(--primary);
}

/* Main Content */
.kedr-main {
    padding-top: 96px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

@media (min-width: 768px) {
    .kedr-main {
        padding-top: 128px;
        padding-bottom: 80px;
        gap: 80px;
    }
}

.kedr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .kedr-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Hero Section */
.kedr-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .kedr-hero {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kedr-hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kedr-hero-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

@media (min-width: 768px) {
    .kedr-hero-title {
        font-size: 48px;
        line-height: 56px;
    }
}

.kedr-hero-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
}

.kedr-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

@media (min-width: 640px) {
    .kedr-hero-buttons {
        flex-direction: row;
    }
}

.kedr-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, background-color 0.2s;
}

.kedr-btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.kedr-btn-primary:hover {
    opacity: 0.9;
}

.kedr-btn-secondary {
    background-color: var(--surface-container-lowest);
    color: var(--primary);
    border: 1px solid var(--border-subtle);
}

.kedr-btn-secondary:hover {
    background-color: var(--secondary-container);
}

.kedr-hero-image {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .kedr-hero-image {
        height: 500px;
    }
}

.kedr-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trust Markers */
.kedr-trust-markers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .kedr-trust-markers {
        grid-template-columns: repeat(5, 1fr);
    }
}

.kedr-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.kedr-trust-icon {
    color: var(--primary);
    font-size: 32px;
}

.kedr-trust-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

/* Shifts Section */
.kedr-shifts-section {
    background-color: var(--surface-container-lowest);
    padding: 48px;
    border-radius: 12px;
}

.kedr-section-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 32px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .kedr-section-title {
        font-size: 36px;
        line-height: 44px;
    }
}

.kedr-shifts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .kedr-shifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .kedr-shifts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.kedr-shift-card {
    background-color: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s;
}

.kedr-shift-card-nearest {
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 107, 44, 0.1);
    position: relative;
    overflow: hidden;
}

.kedr-shift-card-normal {
    border: 1px solid var(--border-subtle);
}

.kedr-shift-card-normal:hover {
    border-color: rgba(0, 107, 44, 0.5);
}

.kedr-shift-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-fixed-dim);
    color: var(--on-primary-fixed-variant);
    padding: 4px 12px;
    border-radius: 0 0 0 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.kedr-shift-date {
    display: inline-block;
    background-color: var(--secondary-fixed);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 9999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    align-self: flex-start;
}

.kedr-shift-date-secondary {
    background-color: var(--surface-container);
    color: var(--text-secondary);
}

.kedr-shift-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.kedr-shift-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
    margin-top: auto;
}

/* Infrastructure Section */
.kedr-infrastructure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .kedr-infrastructure-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kedr-infrastructure-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.kedr-infrastructure-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.kedr-infrastructure-item:hover img {
    transform: scale(1.05);
}

.kedr-infrastructure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.kedr-infrastructure-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--surface-container-lowest);
    margin: 0;
}

.kedr-infrastructure-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 4px 0 0 0;
}

/* Booking Form */
.kedr-booking-section {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .kedr-booking-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.kedr-booking-form {
    background-color: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.kedr-form-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 24px 0;
    text-align: center;
}

.kedr-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kedr-form-label {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
}

.kedr-form-input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background-color: var(--surface-bright);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.kedr-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 107, 44, 0.2);
}

.kedr-form-submit {
    margin-top: 16px;
    background-color: var(--primary);
    color: var(--on-primary);
    width: 100%;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.kedr-form-submit:hover {
    opacity: 0.9;
}

.kedr-form-disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin: 8px 0 0 0;
}

/* Footer */
.kedr-footer {
    background-color: var(--surface-container);
    border-top: 1px solid var(--border-subtle);
    border-radius: 12px 12px 0 0;
    transition: opacity 0.2s;
}

.kedr-footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
    position: relative;
}

@media (min-width: 768px) {
    .kedr-footer-inner {
        grid-template-columns: repeat(3, 1fr);
        padding: 80px 40px;
    }
}

.kedr-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kedr-footer-brand-name {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 36px;
    line-height: 44px;
    font-weight: 700;
    color: var(--primary);
}

.kedr-footer-copyright {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
}

.kedr-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kedr-footer-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--secondary);
    text-decoration: none;
    width: fit-content;
    transition: color 0.2s, text-decoration 0.2s;
}

.kedr-footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Developer Credit - Bottom Right */
.kedr-footer-developer {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

@media (min-width: 768px) {
    .kedr-footer-developer {
        bottom: 24px;
        right: 40px;
    }
}

.kedr-developer-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}

.kedr-developer-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Utility Classes */
.kedr-hidden-mobile {
    display: none;
}

@media (min-width: 640px) {
    .kedr-hidden-mobile {
        display: inline;
    }
}

.kedr-hidden-desktop {
    display: inline;
}

@media (min-width: 768px) {
    .kedr-hidden-desktop {
        display: none;
    }
}

.kedr-col-span-2 {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .kedr-col-span-2 {
        grid-column: span 1;
    }
}
