/* ============================================================
   Interio Shops B.V. - Landing Page Styles
   Light & clean, mobile-first, system fonts
   ============================================================ */

/* --- Custom Properties --- */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #1a1a2e;
    --color-text: #2d2d2d;
    --color-text-light: #6c757d;
    --color-text-inverse: #f8f9fa;
    --color-primary: #1a1a2e;
    --color-primary-hover: #2d2d4e;
    --color-accent: #4a6741;
    --color-accent-hover: #3a5331;
    --color-border: #e0e0e0;
    --color-success: #2e7d32;
    --color-error: #c62828;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    --max-width: 1100px;
    --radius: 6px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: 0.2s ease;
}

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

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

body {
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-accent-hover);
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo span {
    font-weight: 400;
    color: var(--color-text-light);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.header-nav a:hover {
    color: var(--color-accent);
}

/* --- Language Selector Dropdown --- */
.lang-selector {
    position: relative;
}

.lang-selector-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    font-family: var(--font-stack);
    transition: all var(--transition);
}

.lang-selector-toggle:hover {
    background: var(--color-border);
}

.lang-selector-toggle svg {
    transition: transform var(--transition);
}

.lang-selector-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.lang-selector-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    list-style: none;
    padding: 0.25rem 0;
    z-index: 200;
}

.lang-selector-dropdown.open {
    display: block;
}

.lang-selector-dropdown li {
    display: block;
}

.lang-selector-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--transition);
}

.lang-selector-dropdown li a:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.lang-selector-dropdown li.active a {
    color: var(--color-accent);
}

.lang-selector-dropdown .lang-name {
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.8rem;
}

.lang-selector-dropdown li.active .lang-name {
    color: var(--color-accent);
}

/* --- Mobile Navigation Toggle --- */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile: nav hidden by default, shown when .open */
@media (max-width: 639px) {
    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 1rem 1.5rem 1.25rem;
        gap: 0.75rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }

    .header-nav .lang-selector {
        margin-top: 0.25rem;
        align-self: flex-start;
    }

    .lang-selector-dropdown {
        right: auto;
        left: 0;
    }

    .site-header .container {
        position: relative;
    }
}

/* Desktop: hide hamburger, show nav normally */
@media (min-width: 640px) {
    .nav-toggle {
        display: none;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   STORES SECTION
   ============================================================ */
.stores {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.stores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.store-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.store-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.store-card .store-url {
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
}

.store-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.store-card .store-markets {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.store-card .market-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text-light);
    font-weight: 500;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-accent);
}

.store-link:hover {
    color: var(--color-accent-hover);
}

.store-link::after {
    content: "\2192";
    transition: transform var(--transition);
}

.store-link:hover::after {
    transform: translateX(3px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
    padding: 4rem 0;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* --- Privacy page content styling --- */
.privacy-content {
    text-align: left;
}

.privacy-content h2,
.privacy-body h2 {
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.privacy-body ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--color-text-light);
}

.privacy-body li {
    margin-bottom: 0.25rem;
}

/* Translation disclaimer banner */
.translation-disclaimer {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.translation-disclaimer p {
    color: #795548;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

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

.contact-form-wrapper {
    order: 1;
}

.contact-info-wrapper {
    order: 2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group label .required {
    color: var(--color-error);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-stack);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: var(--color-error);
}

/* Honeypot field - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--color-accent);
}

.form-checkbox label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.5;
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-stack);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--color-primary-hover);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: var(--color-success);
    border: 1px solid #c8e6c9;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: var(--color-error);
    border: 1px solid #ffcdd2;
}

/* Contact info sidebar */
.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

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

.contact-detail-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    margin-top: 0.15rem;
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}

.contact-detail-value a {
    color: var(--color-text);
    text-decoration: none;
}

.contact-detail-value a:hover {
    color: var(--color-accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 2.5rem 0;
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-content p {
    font-size: 0.85rem;
    color: rgba(248, 249, 250, 0.7);
    line-height: 1.6;
}

.footer-content a {
    color: rgba(248, 249, 250, 0.9);
    text-decoration: underline;
    text-decoration-color: rgba(248, 249, 250, 0.3);
    text-underline-offset: 2px;
}

.footer-content a:hover {
    color: #ffffff;
    text-decoration-color: rgba(248, 249, 250, 0.7);
}

.footer-legal {
    font-size: 0.8rem;
    color: rgba(248, 249, 250, 0.5);
}

.footer-separator {
    display: inline;
    margin: 0 0.4rem;
}

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

/* Tablet and up */
@media (min-width: 640px) {
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.75rem;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .stores-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 320px;
        gap: 4rem;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .contact-info-wrapper {
        order: 2;
    }

    .hero {
        padding: 6rem 0 5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}
