/* ========================================
   But First Cacao — Styles
   Premium dark cacao theme
   ======================================== */

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

:root {
    --bg-deep: #0f0b08;
    --bg-dark: #1a1410;
    --bg-card: #241c14;
    --brown-rich: #3d2b1f;
    --brown-warm: #6b4226;
    --brown-light: #a0724e;
    --cream: #f5e6d3;
    --cream-soft: #e8d5c0;
    --purple-lavender: #9b7bb8;
    --pink-ruby: #d4547a;
    --amber-tonic: #c4913a;
    --text-primary: #f5e6d3;
    --text-secondary: rgba(245, 230, 211, 0.65);
    --text-muted: rgba(245, 230, 211, 0.4);
    --glass-bg: rgba(36, 28, 20, 0.6);
    --glass-border: rgba(245, 230, 211, 0.08);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Noto Sans Georgian', 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Floating Cacao Beans --- */
.cacao-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bean {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.12;
    animation: floatBean 18s ease-in-out infinite;
}

.b1 {
    left: 8%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 22s;
}

.b2 {
    left: 70%;
    top: 15%;
    animation-delay: -4s;
    animation-duration: 19s;
}

.b3 {
    left: 25%;
    top: 60%;
    animation-delay: -8s;
    animation-duration: 24s;
}

.b4 {
    left: 85%;
    top: 50%;
    animation-delay: -2s;
    animation-duration: 20s;
}

.b5 {
    left: 50%;
    top: 80%;
    animation-delay: -10s;
    animation-duration: 26s;
}

.b6 {
    left: 15%;
    top: 85%;
    animation-delay: -6s;
    animation-duration: 21s;
}

@keyframes floatBean {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-30px) rotate(15deg) scale(1.1);
    }

    50% {
        transform: translateY(-15px) rotate(-10deg) scale(0.95);
    }

    75% {
        transform: translateY(-40px) rotate(8deg) scale(1.05);
    }
}

/* --- Language Toggle --- */
.lang-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-display);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(245, 230, 211, 0.12);
    transform: scale(1.05);
}

.lang-txt {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

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

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--brown-warm), transparent);
    top: -10%;
    left: -10%;
    animation: orbMove1 12s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--purple-lavender), transparent);
    bottom: -5%;
    right: -5%;
    animation: orbMove2 15s ease-in-out infinite;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--pink-ruby), transparent);
    top: 40%;
    left: 60%;
    animation: orbMove3 10s ease-in-out infinite;
}

@keyframes orbMove1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(60px, 40px);
    }
}

@keyframes orbMove2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-40px, -30px);
    }
}

@keyframes orbMove3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
}

/* --- Cat Mascot --- */
.cat-mascot {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    animation: catBounce 3s ease-in-out infinite;
}

@keyframes catBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.cat-body {
    position: relative;
    width: 80px;
    height: 70px;
}

.cat-ears {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    display: flex;
    justify-content: space-between;
}

.ear {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid var(--brown-warm);
}

.ear-left {
    transform: rotate(-8deg);
}

.ear-right {
    transform: rotate(8deg);
}

.cat-face {
    width: 70px;
    height: 60px;
    background: var(--brown-warm);
    border-radius: 50% 50% 45% 45%;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cat-eyes {
    display: flex;
    gap: 18px;
    margin-top: -4px;
}

.eye {
    width: 14px;
    height: 14px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: blink 4s ease-in-out infinite;
}

.pupil {
    width: 6px;
    height: 8px;
    background: #1a0e06;
    border-radius: 50%;
}

@keyframes blink {

    0%,
    42%,
    50%,
    100% {
        transform: scaleY(1);
    }

    45% {
        transform: scaleY(0.1);
    }
}

.cat-nose {
    width: 8px;
    height: 6px;
    background: #f5a0a0;
    border-radius: 50%;
    margin-top: 2px;
}

.cat-mouth {
    width: 16px;
    height: 6px;
    border-bottom: 2px solid #1a0e06;
    border-radius: 0 0 50% 50%;
    margin-top: 1px;
}

/* Cup */
.cacao-cup {
    margin-top: -6px;
    position: relative;
}

.cup-body {
    width: 36px;
    height: 28px;
    background: var(--cream);
    border-radius: 4px 4px 10px 10px;
    position: relative;
    border: 2px solid var(--brown-rich);
}

.cup-body::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -12px;
    width: 12px;
    height: 14px;
    border: 2px solid var(--brown-rich);
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.cup-steam {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.cup-steam span {
    width: 2px;
    height: 10px;
    background: rgba(245, 230, 211, 0.4);
    border-radius: 2px;
    animation: steam 2s ease-in-out infinite;
}

.cup-steam span:nth-child(2) {
    animation-delay: 0.3s;
    height: 14px;
}

.cup-steam span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes steam {

    0%,
    100% {
        opacity: 0.2;
        transform: translateY(0) scaleY(1);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-6px) scaleY(1.3);
    }
}

/* Hero Typography */
.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.title-line-1 {
    display: block;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--cream-soft);
    letter-spacing: 4px;
    text-transform: lowercase;
    font-weight: 400;
}

.title-line-2 {
    display: block;
    font-size: clamp(3.5rem, 10vw, 6rem);
    background: linear-gradient(135deg, var(--brown-light), var(--cream), var(--brown-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    text-transform: lowercase;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Info Pills */
.hero-info-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.info-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--cream-soft);
    font-weight: 400;
}

.pill-icon {
    font-size: 1rem;
}

/* Scroll Hint */
.scroll-hint {
    margin-top: 1rem;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--cream-soft);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        opacity: 1;
        top: 6px;
    }

    50% {
        opacity: 0.3;
        top: 20px;
    }
}

/* --- Feature Strip --- */
.feature-strip {
    padding: 1.5rem 0;
    background: rgba(61, 43, 31, 0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.feature-strip.revealed {
    opacity: 1;
    transform: translateY(0);
}

.strip-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 2rem;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--cream-soft);
    font-weight: 400;
    white-space: nowrap;
}

.strip-icon {
    font-size: 1.1rem;
}

.strip-dot {
    color: var(--text-muted);
    font-weight: 300;
}

/* --- Sections --- */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-title.revealed {
    opacity: 1;
    transform: translateY(0);
}

.text-gradient {
    background: linear-gradient(135deg, var(--brown-light), var(--cream), var(--brown-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.section-sub.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Menu Section --- */
.menu-section {
    padding: 5rem 2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.menu-card {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.menu-card:nth-child(2) {
    transition-delay: 0.15s;
}

.menu-card:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.card-glow {
    position: absolute;
    inset: -20px;
    border-radius: var(--radius-xl);
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.lavender-glow {
    background: var(--purple-lavender);
}

.ruby-glow {
    background: var(--pink-ruby);
}

.tonic-glow {
    background: var(--amber-tonic);
}

.menu-card:hover .card-glow {
    opacity: 0.15;
}

.card-glass {
    position: relative;
    z-index: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.menu-card:hover .card-glass {
    border-color: rgba(245, 230, 211, 0.15);
    transform: translateY(-6px);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--cream);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
}

/* --- Social Links --- */
.socials-section {
    padding: 4rem 2rem;
}

.socials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.social-card:nth-child(2) {
    transition-delay: 0.1s;
}

.social-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.social-card:hover {
    border-color: rgba(245, 230, 211, 0.15);
    transform: translateY(-3px);
}

.instagram-card:hover {
    background: rgba(193, 53, 132, 0.15);
    border-color: rgba(193, 53, 132, 0.3);
}

.facebook-card:hover {
    background: rgba(66, 103, 178, 0.15);
    border-color: rgba(66, 103, 178, 0.3);
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 230, 211, 0.06);
    flex-shrink: 0;
}

.social-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.social-info strong {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
}

.social-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.social-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-card:hover .social-arrow {
    color: var(--cream);
    transform: translate(2px, -2px);
}

/* --- Map Section --- */
.map-section {
    padding: 4rem 2rem 5rem;
}

.map-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.map-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.map-info {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.map-pin {
    font-size: 1.5rem;
}

.map-address strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
}

.map-address span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    background: var(--brown-warm);
    color: var(--cream);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-directions-btn:hover {
    background: var(--brown-light);
    transform: translateY(-2px);
}

.map-embed {
    border-top: 1px solid var(--glass-border);
}

.map-embed iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    filter: grayscale(0.2) contrast(1.1);
}

/* --- Footer --- */
.footer {
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.nuri-icon {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-copy a {
    color: var(--cream-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem;
    }

    .hero-info-pills {
        gap: 0.5rem;
    }

    .info-pill {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .strip-track {
        gap: 0.6rem;
    }

    .strip-dot {
        display: none;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .map-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-info-pills {
        flex-direction: column;
        align-items: center;
    }

    .strip-track {
        flex-direction: column;
        gap: 0.5rem;
    }
}