/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
    background-color: #f5efe6;
    font-family: 'Inter', sans-serif;
    color: #3e2f2f;
}

/* Headings */
h1,
h3,
p {
    font-family: 'Playfair Display', serif;
    color: #4b2e2e;
}

h1 {
    letter-spacing: 0.5px;
}


.quote {
    font-family: 'Playfair Display', serif;
    color: #4b2e2e;
    width: auto;
    font-size: 2rem;
    font-style: italic;
    background-color: #d9c4a8;
}

hr {
    border-top: 1px solid #d6c5b4;
}

/* Card styling */
.card {
    border: none;
    border-radius: 12px;
    background-color: #fffaf3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Quote text */
.card-title {
    font-size: 1.2rem;
    font-style: italic;
}

/* Author text */
.card-body div {
    color: #7a5c58;
    font-size: 0.9rem;
}

/* Links */
a {
    color: #6b4f4f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #ae8f4b;
    font-weight: bolder;
}

/* Section spacing */
.container {
    max-width: 800px;
}

/* Top site title */
.header-link {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: none;

}

.site-header h1 {
    font-family: "Praise", cursive;
    color: #4b2e2e;
    font-size: 10rem;
    font-weight: 700;
    letter-spacing: 0.3rem;
}

/* Navbar styling */
.navbar {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.navbar.bg-coffee {
    background-color: #4b2e2e;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar .nav-link {
    color: #f4e6d8;
    margin: 0 16px;
    font-weight: 500;
    transition: color 0.2s, text-shadow 0.2s;
}

.navbar .nav-link:hover {
    color: #d9c4a8;
    text-shadow: 1px 1px 2px rgba(240, 207, 178, 0.3);
}

.navbar-nav .dropdown-menu {
    min-width: 220px;
    max-width: 300px;
    background-color: rgb(247, 230, 207);
    color: #4b2e2e;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #dde1af;
    color: #4b2e2e;
    text-decoration: none;
}

.btn-signup,
.btn-signin,
.btn-logout {
    padding: 6px 18px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, color 0.2s;
}

.btn-signup {
    background-color: #d9b382;
    color: #4b2e2e;
}

.btn-signup:hover {
    background-color: #c79c65;
    color: #fff;
}

.btn-signin {
    background-color: #a97458;
    color: #fff;
}

.btn-signin:hover {
    background-color: #8b5e45;
}

.btn-logout {
    background-color: #8b5e45;
    color: #fff;
}

.btn-logout:hover {
    background-color: #6b4431;
}

.site-logo {
    width: 15rem;
    height: auto;

}

@media (max-width: 980px) {
    .site-logo {
        width: 150px;
    }

    .site-header h1 {
        font-size: 4rem;
    }

    .quote {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .site-logo {
        width: 120px;
    }

    .site-header h1 {
        font-size: 3rem;
    }

    .quote {
        font-size: 1rem;
    }
}


.form-select {
    background-color: #f9f6f4;
    color: #4b2e2e;
    border: 1px solid #6b4f4f;
}

.form-select:focus {
    border-color: #4b2e2e;
    box-shadow: 0 0 0 0.2rem rgba(75, 46, 46, 0.25);
}

.form-control:focus {
    border-color: #6b4f4f;
    box-shadow: 0 0 0 0.2rem rgba(107, 79, 79, 0.25);
    outline: none;
}