/*
Theme Name: VendingKings
Theme URI: https://vendingkings.nl
Author: VendingKings
Author URI: https://vendingkings.nl
Description: Modern dark theme for VendingKings - Vending machine solutions in the Netherlands
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
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: vendingkings
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --background: #0a0a0a;
    --surface: #121212;
    --surface-highlight: #1E1E1E;
    --primary: #14b8a6;
    --primary-hover: #0d9488;
    --secondary: #e5e7eb;
    --accent: #f59e0b;
    --border-color: #27272a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--primary);
    color: white;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-dark {
    background-color: black;
    color: white;
}

.btn-dark:hover {
    background-color: #1a1a1a;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-logo:hover {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: #d1d5db;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.current::after {
    width: 100%;
}

.header-cta .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d1d5db;
}

.mobile-nav a:hover,
.mobile-nav a.current {
    color: var(--primary);
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .main-nav, .header-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background), rgba(10, 10, 10, 0.8), transparent);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--background), rgba(10, 10, 10, 0.6), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(to right, white, #6b7280);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.hero p {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 42rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* USPs Section */
.usps {
    padding: 2.5rem 0;
    background-color: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.usps-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

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

.usp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.usp-item:hover {
    border-color: rgba(20, 184, 166, 0.3);
}

.usp-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.usp-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.usp-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.usp-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    background-color: var(--surface);
    padding: 8rem 0 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.page-header .subtitle {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.page-header h1 {
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto;
}

/* Process Steps */
.process-section {
    padding: 5rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    position: relative;
}

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

    .process-grid::before {
        content: '';
        position: absolute;
        top: 3rem;
        left: 16%;
        right: 16%;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(20, 184, 166, 0.3), transparent);
    }
}

.process-step {
    position: relative;
    background-color: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: rgba(20, 184, 166, 0.5);
    transform: translateY(-8px);
}

.step-number {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background-color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

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

.benefit-card {
    background-color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.75rem;
    transition: border-color 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(20, 184, 166, 0.5);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(20, 184, 166, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #d1d5db;
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    padding: 5rem 0;
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, black 1px, transparent 0);
    background-size: 30px 30px;
}

.cta-banner .container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-banner h2 {
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
    }
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-list .icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-list .icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.contact-list .label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-list .value {
    font-weight: 700;
}

.contact-list a:hover {
    color: var(--primary);
}

.contact-box {
    background-color: rgba(18, 18, 18, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.contact-box p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background-color: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    padding: 0.75rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-checkbox a {
    color: var(--primary);
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.contact-form .btn {
    width: 100%;
}

/* About Section */
.about-content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 5rem 0;
}

.about-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.owner-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background-color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .owner-quote {
        flex-direction: row;
    }
}

.owner-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.owner-name {
    font-weight: 700;
    color: var(--primary);
}

.owner-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.company-info {
    list-style: none;
}

.company-info li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info .value {
    font-family: monospace;
}

/* Steps Detail */
.steps-list {
    max-width: 56rem;
    margin: 0 auto;
}

.step-card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    transition: border-color 0.3s ease;
}

.step-card:hover {
    border-color: rgba(20, 184, 166, 0.3);
}

.step-card-inner {
    display: flex;
    gap: 1.5rem;
}

.step-card-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background-color: rgba(20, 184, 166, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-card-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(20, 184, 166, 0.2);
}

.step-card h3 {
    font-size: 1.5rem;
}

.step-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.step-details {
    list-style: none;
}

.step-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.step-details svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background-color: var(--surface);
    padding: 5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 48rem;
    height: 4px;
    background-color: rgba(20, 184, 166, 0.5);
    filter: blur(100px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-nav a:hover::before {
    background-color: var(--primary);
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a:hover {
    color: white;
}

/* Section Spacing */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
}

/* Text link */
.text-link {
    color: var(--primary);
    border-bottom: 1px solid rgba(20, 184, 166, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: white;
    border-color: white;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-secondary); }
.bg-surface { background-color: var(--surface); }
.bg-background { background-color: var(--background); }

/* WordPress specific */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-block-image {
    margin-bottom: 1.5rem;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
