/* ============================================
   style.css — JBergentdecker
   ============================================ */

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

/* ---------- Design Tokens ---------- */
:root {
    --bg: #1a1a1a;
    --surface: #242424;
    --surface-raised: #2e2e2e;
    --accent: #c8a96e;
    --accent-hover: #d9be8a;
    --text-primary: #f0f0f0;
    --text-secondary: #9a9a9a;
    --border: #333333;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --transition: 0.3s ease;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --navbar-h: 68px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: clamp(1rem, 2vw, 1.3rem);
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-header {
    max-width: 600px;
    margin-bottom: 3rem;
}

.section-header p {
    margin-top: 0.75rem;
    font-size: 1.05rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.divider {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 1rem 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--accent);
    color: #1a1a1a;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    letter-spacing: 0.03em;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1.5px solid var(--accent);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    letter-spacing: 0.03em;
}

.btn-outline:hover {
    background: var(--accent);
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* ---------- Badge ---------- */
.badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(200, 169, 110, 0.15);
    color: var(--accent);
    border: 1px solid rgba(200, 169, 110, 0.3);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--navbar-h);
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar__logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.navbar__logo span {
    color: var(--accent);
}

.navbar__links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.navbar__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.navbar__links a:hover,
.navbar__links a.active {
    color: var(--text-primary);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
    width: 100%;
}

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

/* ---------- Language Switcher ---------- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0;
    transition: color var(--transition);
}

.lang-switcher button.active,
.lang-switcher button:hover {
    color: var(--accent);
}

.lang-switcher .separator {
    color: var(--border);
}

/* ---------- Hamburger ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

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

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ---------- Selection ---------- */
::selection {
    background: var(--accent);
    color: #1a1a1a;
}

/* ============================================
   Animations
   ============================================ */
@keyframes kenburns {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }

    100% {
        transform: scale(1.08) translateX(-1%) translateY(-1%);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar__links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: var(--navbar-h);
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--border);
        padding: 1rem 0;
    }

    .navbar__links.open {
        display: flex;
    }

    .navbar__links a {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .navbar__links a::after {
        display: none;
    }

    .section {
        padding: 3.5rem 0;
    }
}

/* ============================================
   About Page
   ============================================ */

/* — Hero — */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('../images/gallery/ameringkogel-unter-alm.JPG') center/cover no-repeat;
    text-align: center;
    padding: 10rem 0 5rem;
}

.about-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--text-primary);
}

/* — Grid — */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

/* — Photo — */
.about-photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* — Text — */
.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* — Contact card — */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.contact-email {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition);
}

.contact-email:hover {
    color: var(--accent);
}

/* — Responsive — */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-hero {
        padding: 8rem 0 3rem;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}