/* ===========================
   MAP OF KATTALAN — GLOBAL CSS
   Font: Creato Display
=========================== */

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

/* Creato Display via CDN workaround — using system-safe fallback chain */

@font-face {
    font-family: 'Creato Display';
    src: url('https://db.onlinewebfonts.com/t/0f0e52e5cbf13db6e1b90fc32e46d35a.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --brown-dark: #2C2A1E;
    --brown-mid: #3D3A27;
    --brown-olive: #4A4730;
    --sage: #8A8C72;
    --sage-light: #A9AB91;
    --cream: #F0EDE3;
    --cream-warm: #E8E4D8;
    --white: #FFFFFF;
    --black-deep: #0D0E0A;
    --black-card: #1A1C14;
    --text-muted: #B5B5A0;
    --font-display: 'Creato Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Creato Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 40px;
    --radius-xl: 80px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background: var(--brown-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}


/* ========================
   NAVBAR
======================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: none;
}

.nav-links a:hover {
    color: var(--cream);
}

.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 18px;
    gap: 10px;
    backdrop-filter: blur(8px);
    transition: background var(--transition), border var(--transition);
}

.nav-search:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-search svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    width: 200px;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}


/* Hamburger */

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Mobile nav drawer */

.nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(10, 9, 6, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
    padding: 100px 40px 40px;
    flex-direction: column;
    gap: 32px;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-drawer.open {
    left: 0;
}

.nav-drawer a {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ========================
   FOOTER
======================== */

.footer {
    background: var(--black-deep);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 80px 80px 50px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-brand .footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brown-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}

.footer-socials a:hover {
    background: var(--sage);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-contact-item {
    margin-bottom: 20px;
}

.footer-contact-item .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-bottom: 4px;
}

.footer-contact-item .value {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}


/* ========================
   ANIMATIONS (shared)
======================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

.delay-5 {
    transition-delay: 0.5s !important;
}

.delay-6 {
    transition-delay: 0.6s !important;
}


/* ========================
   SEARCH HIGHLIGHT
======================== */

mark.search-highlight {
    background: #F5C842;
    color: #1a1800;
    border-radius: 3px;
    padding: 0 2px;
    font-style: inherit;
    font-weight: inherit;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    animation: highlightPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes highlightPop {
    from {
        background: #ffe066;
        transform: scale(1.08);
    }
    to {
        background: #F5C842;
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 16px 32px;
    }
    .nav-links,
    .nav-search {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .nav-drawer {
        display: flex;
    }
    .footer {
        padding: 60px 40px 40px;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 24px 36px;
        border-radius: 30px 30px 0 0;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.kattalan-text {
    padding: 30px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    width: 100%;
    height: 100%;
    /* fill full grid height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    font-family: 'Creato Display', sans-serif;
    font-size: clamp(30px, 3.5vw, 50px);
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--olive-muted);
    margin-bottom: 2px;
    position: relative;
    display: inline-block;
}

.eyebrow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.6);
    filter: blur(8px);
    border-radius: 50%;
}

.eyebrowkt {
    font-family: 'Creato Display', sans-serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.eyebrowkt::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 90%;
    height: 16px;
    background: rgba(0, 0, 0, 0.7);
    filter: blur(12px);
    border-radius: 50%;
}

.kattalan-text p {
    font-family: 'Creato Display', sans-serif;
    font-size: clamp(14px, 1.5vw, 19px);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-top: 18px;
}