/* ============================================
   CINCI ICE — Classic & Elegant Café & Bar
   Color Palette: Emerald Green + Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50:  #fdfcf8;
    --cream-100: #faf8f0;
    --cream-200: #f5f0e1;
    --cream-300: #ece4cc;
    --cream-400: #e0d4b0;
    --cream-500: #c8b88a;

    --gold-400:  #d4a853;
    --gold-500:  #c49a3c;

    --text-dark:    #1a1a1a;
    --text-medium:  #3d3d3d;
    --text-light:   #6b6b6b;
    --text-white:   #f5f0e8;

    --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Lora', Georgia, 'Times New Roman', serif;

    --spacing-xs:   0.5rem;
    --spacing-sm:   1rem;
    --spacing-md:   1.5rem;
    --spacing-lg:   2.5rem;
    --spacing-xl:   4rem;
    --spacing-2xl:  6rem;
    --spacing-3xl:  8rem;

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   16px;

    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl:   0 16px 48px rgba(0,0,0,0.14);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--emerald-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--emerald-500);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section-eyebrow {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: var(--spacing-md);
    color: var(--emerald-900);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: var(--spacing-md);
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--emerald-700);
    color: var(--text-white);
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border-color: rgba(245, 240, 232, 0.6);
}

.btn-secondary:hover {
    background-color: rgba(245, 240, 232, 0.12);
    border-color: var(--text-white);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Section --- */
.section {
    padding: var(--spacing-3xl) 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--emerald-900);
}

.logo-mark {
    font-size: 1.4rem;
    color: var(--emerald-600);
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 0.25rem 0;
    letter-spacing: 0.02em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--emerald-600);
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--emerald-700);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--emerald-800);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--emerald-800);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-950);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 44, 34, 0.88) 0%,
        rgba(6, 78, 59, 0.78) 50%,
        rgba(4, 120, 87, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-eyebrow {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-300);
    margin-bottom: var(--spacing-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-200);
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--cream-200);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream-300);
    font-size: 1.2rem;
    opacity: 0.6;
    animation: scrollBounce 2s ease-in-out infinite;
    text-decoration: none;
    z-index: 1;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background-color: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content .section-title {
    color: var(--emerald-900);
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--cream-300);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.feature-text {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   MENU
   ============================================ */
.menu {
    background-color: var(--cream-100);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.menu-category {
    background-color: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: box-shadow var(--transition), transform var(--transition);
}

.menu-category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--cream-300);
}

.category-icon {
    font-size: 1.5rem;
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.menu-item {
    padding-bottom: var(--spacing-md);
    border-bottom: 1px dashed var(--cream-300);
}

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

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin-bottom: 0.3rem;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.menu-item-price {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--emerald-700);
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

.menu-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   ATMOSPHERE
   ============================================ */
.atmosphere {
    background-color: var(--cream-50);
}

.atmosphere-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.atmosphere-content .section-title {
    color: var(--emerald-900);
}

.atmosphere-content p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.atmosphere-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.atmosphere-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.list-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.atmosphere-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: var(--spacing-md);
}

.atm-img-main img,
.atm-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.atm-img-main {
    height: 380px;
}

.atm-img-secondary {
    height: 260px;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    background-color: var(--emerald-900);
    color: var(--text-white);
}

.visit .section-eyebrow {
    color: var(--emerald-300);
}

.visit .section-title {
    color: var(--text-white);
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.visit-address {
    font-style: normal;
    margin-bottom: var(--spacing-lg);
}

.visit-address p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cream-200);
}

.visit-address strong {
    font-size: 1.3rem;
    color: var(--text-white);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.visit-detail {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.visit-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: var(--emerald-300);
    flex-shrink: 0;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 0.2rem;
}

.visit-detail-value {
    font-size: 0.95rem;
    color: var(--cream-200);
    line-height: 1.7;
}

.visit-detail-link {
    color: var(--cream-200);
    text-decoration: none;
    transition: color var(--transition);
}

.visit-detail-link:hover {
    color: var(--emerald-300);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 420px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background-color: var(--cream-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-content .section-title {
    color: var(--emerald-900);
}

.contact-content p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--cream-300);
}

.contact-direct-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--emerald-700);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}

.contact-direct-item:hover {
    color: var(--emerald-500);
}

.contact-direct-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
}

/* Form */
.contact-form-wrapper {
    background-color: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-200);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--cream-100);
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-md);
    color: var(--emerald-800);
    font-size: 0.95rem;
}

.form-success[hidden] {
    display: none;
}

.form-success span {
    font-size: 1.2rem;
    color: var(--emerald-600);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--emerald-950);
    color: var(--cream-200);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.logo-footer .logo-name {
    color: var(--text-white);
}

.logo-footer .logo-tagline {
    color: var(--emerald-400);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--cream-300);
    line-height: 1.8;
    margin-top: var(--spacing-md);
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--cream-300);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-300);
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--cream-300);
}

.footer-phone a,
.footer-email a {
    color: var(--emerald-400);
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--emerald-300);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-copy,
.footer-legal {
    font-size: 0.8rem;
    color: var(--cream-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .atmosphere-grid,
    .visit-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .atmosphere-images {
        order: -1;
    }

    .atm-img-main { height: 320px; }
    .atm-img-secondary { height: 220px; }

    .menu-categories {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-2xl: 4rem;
        --spacing-3xl: 5rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background-color: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .hero-headline {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .menu-category {
        padding: var(--spacing-md);
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-indicator {
        animation: none;
    }
}
