/* Larch Leavenworth - Premium Restaurant Theme */

:root {
    --color-primary: #1a2c24;
    /* Deep forest green */
    --color-secondary: #c9a96e;
    /* Muted Gold */
    --color-text: #2c2c2c;
    --color-bg: #f9f8f4;
    /* Off-white / Eggshell */
    --color-white: #ffffff;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 44, 36, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--color-white);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav a:hover {
    color: var(--color-secondary);
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background: #d4b87f;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.btn-outline {
    border: 1px solid var(--color-white);
    padding: 1rem 2.5rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* Intro Section */
.intro {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--color-bg);
    background-image: radial-gradient(#c9a96e 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.intro .container {
    position: relative;
    z-index: 2;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201, 169, 110, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.intro-text::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--color-secondary);
    pointer-events: none;
}

.intro-text h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.intro-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    margin: 0.5rem auto 0;
}

.intro-text p {
    font-size: 1.2rem;
    color: #4a4a4a;
    font-weight: 300;
    line-height: 1.8;
}

/* Highlight Section */
.highlight {
    padding: 6rem 0;
    background: var(--color-white);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.image-col {
    flex: 1;
    position: relative;
}

.image-col img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.text-col {
    flex: 1;
}

.text-col h3 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.text-col p {
    margin-bottom: 2rem;
    color: #555;
}


.intro-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.intro-image {
    flex: 1;
    position: relative;
}

.intro-image img {
    width: 100%;
    border-radius: 4px;
    /* Slight rounding */
    box-shadow: 20px 20px 0 var(--color-secondary);
    /* Offset decorative shadow */
    transition: transform 0.3s ease;
}

.intro-image:hover img {
    transform: translateY(-5px);
}

.intro-text {
    flex: 1;
    /* Existing styles continue... */
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201, 169, 110, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: left;
    /* Better for side-by-side */
}

/* ... existing intro-text inner styles ... */

/* Responsive adjustment for Intro */
@media (max-width: 900px) {
    .intro-content {
        flex-direction: column;
        gap: 3rem;
    }

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

    .intro-image img {
        box-shadow: 10px 10px 0 var(--color-secondary);
    }
}

/* Link Arrow Style (Moved down as it was overlapping in file view inference) */
.link-arrow {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    gap: 0.8rem;
    color: var(--color-secondary);
}

/* Info Section */
.info-section {
    padding: 6rem 0;
    background: var(--color-primary);
    color: var(--color-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.info-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.info-card a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.info-card a:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.info-card .note {
    font-style: italic;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.socials {
    margin-top: 1rem;
}

.socials a {
    font-size: 1.2rem;
    border: none;
    margin: 0 0.5rem;
}

/* Footer */
footer {
    background: #111;
    color: #666;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Chatbot Widget Styles */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    font-family: var(--font-body);
}

.chat-toggle {
    background: var(--color-secondary);
    color: var(--color-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.3s ease;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.chat-close {
    cursor: pointer;
    opacity: 0.7;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f9f9fc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    margin-bottom: 0.5rem;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message .bubble {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.bot .bubble {
    background: var(--color-white);
    border: 1px solid #eee;
    color: var(--color-text);
    border-bottom-left-radius: 2px;
}

.message.user .bubble {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-bottom-right-radius: 2px;
}

.chat-input {
    padding: 1rem;
    background: var(--color-white);
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.7rem;
    border: 1px solid #eee;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
}

.chat-input input:focus {
    border-color: var(--color-secondary);
}

.chat-input button {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-input button:hover {
    background: #2a4136;
}

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

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 44, 36, 0.98);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    nav.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .image-col img {
        height: 300px;
    }

    .chatbot-widget {
        bottom: 20px;
        right: 20px;
        width: auto;
        height: auto;
        /* Reset full screen overlay */
    }

    .chat-toggle {
        /* Reset positioning relative to widget */
        position: static;
    }

    .chat-window {
        position: fixed;
        /* Break out of widget container */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        z-index: 2001;
        /* Ensure above toggle */
        margin: 0;
        /* Reset any margins */
    }

    .chat-window.active~.chat-toggle {
        display: none;
    }
}

/* Chatbot Enhancements */

/* Timestamps */
.message .timestamp {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-top: 4px;
    margin-left: 5px;
}

.message.user .timestamp {
    text-align: right;
    margin-right: 5px;
}

/* Chat Header Icon */
.chat-header-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Suggestion Chips */
.suggestion-chips {
    display: flex;
    flex-direction: column;
    /* Vertical alignment */
    align-items: flex-start;
    /* Left align chips, don't stretch */
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.chip {
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    color: var(--color-primary);
}

.chip:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

/* Typing Indicator */
.typing-indicator .bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 1rem 1.2rem;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Image Gallery in Chat */
.message.gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    background: transparent;
}

.message.gallery img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.message.gallery img:hover {
    transform: scale(1.05);
}

/* Clear Chat Button (Header) */
#clearChat:hover {
    color: var(--color-secondary);
    opacity: 1 !important;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 300px;
    /* Fixed height for uniformity */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Map Section */
.map-container {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}