/* ==========================================================================
   gabs.cafe -- Scandinavian Functional Cafe
   Palette:
     Oat Milk:      #fdfbf7  (primary bg)
     Espresso:      #2c1810  (primary text)
     Latte Foam:    #f0e8d8  (card bg)
     Ceramic White: #ffffff  (white accents)
     Coffee Ring:   #c4a882  (decorative rings)
     Chalkboard:    #2a3a2a  (menu board bg)
     Chalk White:   #e8e4d8  (chalkboard text)
   Fonts: Nunito, Noto Sans KR, Caveat
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #2c1810;
    background-color: #fdfbf7;
    overflow-x: hidden;
    position: relative;
}

/* ---- Coffee Ring Decorations ---- */
.coffee-ring {
    position: fixed;
    border: 2px solid #c4a882;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.coffee-ring-1 {
    width: 70px;
    height: 70px;
    top: 12%;
    left: 8%;
}

.coffee-ring-2 {
    width: 50px;
    height: 50px;
    top: 35%;
    right: 6%;
}

.coffee-ring-3 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 5%;
}

.coffee-ring-4 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 12%;
}

.coffee-ring-5 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    right: 9%;
}

/* ---- Hero Section ---- */
.hero {
    background-color: #fdfbf7;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    padding: 2rem;
}

/* Ceramic Cup Icon */
.ceramic-cup {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.cup-body {
    width: 48px;
    height: 40px;
    background-color: #2c1810;
    border-radius: 0 0 8px 8px;
    position: relative;
}

.cup-handle {
    position: absolute;
    top: 6px;
    right: -14px;
    width: 14px;
    height: 20px;
    border: 3px solid #2c1810;
    border-left: none;
    border-radius: 0 10px 10px 0;
}

/* Steam Wisps */
.steam-container {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    pointer-events: none;
}

.steam-wisp {
    position: absolute;
    bottom: 0;
    width: 2px;
    height: 20px;
    background: rgba(44, 24, 16, 0.1);
    border-radius: 50%;
    animation: steam 5s ease-out infinite;
}

.steam-wisp-1 {
    left: 10px;
    animation-delay: 0s;
}

.steam-wisp-2 {
    left: 20px;
    animation-delay: 1.7s;
}

.steam-wisp-3 {
    left: 30px;
    animation-delay: 3.3s;
}

@keyframes steam {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-80px) scaleX(1.5);
        opacity: 0;
    }
}

/* Site Title */
.site-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #2c1810;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.site-subtitle {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #2c1810;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.site-subtitle-kr {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: #2c1810;
    opacity: 0.5;
}

/* ---- Main Content ---- */
.content {
    max-width: 580px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    position: relative;
    z-index: 1;
}

/* ---- Table Conversations Section ---- */
.section-heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #2c1810;
    margin-bottom: 2rem;
    text-align: center;
}

.conversation-card {
    background: #f0e8d8;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conversation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Latte Art Circle */
.latte-art {
    width: 32px;
    height: 32px;
    background-color: #c4a882;
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    opacity: 0.6;
}

.latte-art::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #f0e8d8;
    clip-path: polygon(50% 0%, 100% 35%, 80% 100%, 50% 70%, 20% 100%, 0% 35%);
}

.card-question {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: #2c1810;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-response {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #2c1810;
    opacity: 0.85;
}

/* ---- Chalkboard Section ---- */
.chalkboard {
    background: #2a3a2a;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Subtle grain texture */
.chalkboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.chalkboard-title {
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: 2rem;
    color: #e8e4d8;
    text-align: center;
    margin-bottom: 0.25rem;
    transform: rotate(-0.5deg);
}

.chalkboard-subtitle {
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: 1.1rem;
    color: #e8e4d8;
    text-align: center;
    opacity: 0.6;
    margin-bottom: 2rem;
    transform: rotate(0.3deg);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(232, 228, 216, 0.15);
    transform: rotate(calc(-0.5deg + var(--nth) * 0.3deg));
    transition: opacity 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    opacity: 0.8;
}

.menu-topic {
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: 1.2rem;
    color: #e8e4d8;
    white-space: nowrap;
}

.menu-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(232, 228, 216, 0.3);
    margin: 0 0.5rem;
    min-width: 20px;
    align-self: center;
}

.menu-price {
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: 1rem;
    color: #c4a882;
    text-align: right;
    white-space: nowrap;
}

/* ---- Closing Section ---- */
.closing {
    text-align: center;
    padding: 3rem 0;
}

.closing-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: #2c1810;
    margin-bottom: 0.5rem;
}

.closing-text-kr {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #2c1810;
    opacity: 0.5;
}

/* ---- Footer ---- */
.site-footer {
    text-align: center;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(44, 24, 16, 0.08);
    position: relative;
    z-index: 1;
}

.footer-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #2c1810;
    opacity: 0.4;
}

/* ---- Scroll Reveal Utility ---- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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