/* Milton Flusk Website - Shared Styles */

:root {
    --gold: #c6a15b;
    --gold-light: #d8b76f;
    --black: #0b0b0b;
    --dark: #101010;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
}

/* Better text selection */
::selection {
    background: var(--gold);
    color: #000;
}

/* Links */
a {
    transition: 0.2s ease;
}

/* Form fields */
input,
textarea,
select {
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Focus state */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.15);
}

/* Simple fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.7s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile spacing helper */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
    }

    h2 {
        font-size: 2rem !important;
        line-height: 1.15 !important;
    }

    header nav {
        display: none;
    }
}

#chatbot {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    font-family: 'DM Sans', sans-serif;
}

#chatbotToggle {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 0.85rem 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

#chatbotBox {
    display: none;
    width: 330px;
    height: 430px;
    margin-bottom: 12px;
    background: #080808;
    border: 1px solid rgba(198, 161, 91, 0.35);
}

#chatbotBox.open {
    display: flex;
    flex-direction: column;
}

#chatbotHeader {
    padding: 1rem;
    background: rgba(198, 161, 91, 0.12);
    color: var(--gold);
    font-weight: 700;
}

#chatbotMessages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

#chatbotInputArea {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#chatbotInput {
    flex: 1;
    padding: 0.85rem;
    background: #111;
    border: none;
    color: #fff;
    outline: none;
}

#chatbotSend {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 0 1rem;
    font-weight: 700;
    cursor: pointer;
}