:root {
    --color-bg: #f7f7f8;
    --color-bg-alt: #ffffff;
    --color-text: #1F2937;
    --color-accent: #FF6B00;
    --color-accent-text: #B24A00;
    --color-soft: #FFB199;
    --color-border: #dddddd;
    --color-muted: #6b7280;
    --color-shadow: rgba(31, 41, 55, 0.12);
}

[data-theme="dark"] {
    --color-bg: #14181f;
    --color-bg-alt: #1f2530;
    --color-text: #e8e6e3;
    --color-accent: #ff8c42;
    --color-accent-text: #ffb199;
    --color-soft: #3a2a22;
    --color-border: #333a47;
    --color-muted: #9aa1ac;
    --color-shadow: rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    margin: 0;
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease;
}

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

a {
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
}

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

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

html body header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(31, 41, 55, 0.08);
    padding: 15px 30px;
    position: relative;
    z-index: 2;
}

header .logo a {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 44px;
    display: block;
}

html body header nav ul li a {
    color: #1F2937;
}

html body header nav ul li a:hover {
    color: var(--color-accent-text);
}

html body header .lang-switch a {
    color: #6b7280;
}

html body header .lang-switch a.active {
    color: var(--color-accent-text);
}

html body header .theme-toggle {
    color: #1F2937;
    border-color: #dddddd;
}

html body nav {
    display: flex;
    align-items: center;
}

html body nav ul {
    list-style-type: none;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

html body nav ul li {
    display: inline-block;
}

html body nav ul li a {
    padding: 0 15px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.theme-toggle:hover {
    border-color: var(--color-accent);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.lang-switch a {
    padding: 4px 6px;
    color: var(--color-muted);
    font-weight: 700;
}

.lang-switch a.active {
    color: var(--color-accent-text);
}

.lang-switch span {
    color: var(--color-border);
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    padding: 60px 50px;
    justify-content: center;
}

.hero .hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 0;
    max-width: 800px;
}

.accent {
    color: var(--color-accent-text);
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: var(--color-muted);
    margin-bottom: 30px;
    max-width: 700px;
}

.btn {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent-text);
    border: 2px solid var(--color-accent);
    padding: 13px 28px;
    border-radius: 6px;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #fff;
}

a.btn {
    color: #fff;
}

a.btn-outline {
    color: var(--color-accent-text);
}

a.btn-outline:hover {
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

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

.center h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.center h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--color-muted);
    margin-top: 0;
}

.center p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: var(--color-muted);
}

.content {
    max-width: 1200px;
    width: 100%;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.gold {
    color: var(--color-accent-text);
    font-size: 17px;
    transition: opacity 0.2s ease;
}

.gold:hover {
    opacity: 0.7;
}

.padded {
    padding: 10px 15px;
}

.vert-pad {
    padding: 60px 0;
}

.card {
    background-color: var(--color-bg-alt);
    border: solid 1px var(--color-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--color-shadow);
    padding: 30px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    flex: 1 1 260px;
    max-width: 280px;
}

.card:hover {
    transform: translateY(-4px);
}

.card .icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.card.secondary {
    border-style: dashed;
    background-color: transparent;
}

.contact-form input {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    height: 30px;
    padding: 5px 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    width: 100%;
}

.contact-form textarea {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    height: 100px;
    padding: 15px 10px;
    resize: none;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
}

.full-width {
    width: 100%;
}

.footer {
    padding: 60px 0 30px 0;
    background-color: #1a1e26;
    color: #fff;
}

.footer a {
    color: #fff;
}

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

.footer .contact-info {
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.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;
}

.flash-success,
.flash-error {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 90%;
    transition: opacity 0.3s ease;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
}

.social-links {
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 10px;
}

.social {
    background-color: #fff;
    border-radius: 50%;
    height: 48px;
    width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px var(--color-accent);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.made-with {
    padding: 0 30px;
    color: #fff;
}

.white-bg {
    background-color: var(--color-bg-alt);
}

/* Fade-in on scroll (JS toggles .is-visible) */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .hero {
        padding: 40px 25px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 15px;
    }

    header .logo img {
        height: 32px;
    }

    html body nav ul li a {
        padding: 0 8px;
        font-size: 13px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-left: 8px;
    }
}
