/* DivineVines Landing Page Styling */

/* Use the theme variables from your main CSS */
:root {
    --olive: #556B2F;
    --light-olive: #6B8E23;
    --off-white: #F5F5F5;
    --dark-olive: #3A4D1F;
    --accent: #8A9A5B;
}

/* Landing page specific styling */
.landing-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background-color: var(--dark-olive);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.landing-container h1 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--off-white);
    margin-bottom: 30px;
    letter-spacing: 1.5px;
}

.landing-container p {
    font-size: 1.2rem;
    color: var(--off-white);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.landing-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 30px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Remove the filter that inverts images, since you likely want to see the actual wine image */
    filter: none;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-contact {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: var(--off-white);
    border: none;
    border-radius: 4px;
    font-weight: 400;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-contact:hover {
    background-color: var(--light-olive);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-bottom: none;
}

.reset-link-box {
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed #ccc;
}

.reset-link-box input {
    width: 100%;
    padding: 8px;
    font-family: monospace;
}

.faq-contact-button {
    margin-top: 30px;
    text-align: center;
}

.faq-contact-button .btn-contact {
    padding: 10px 20px;
    font-size: 16px;
}

.button.white-text {
    color: white !important;
}

.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: #5e0b15;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
}

.faq-category-title {
    font-size: 1.8rem;
    margin-top: 2rem;
    font-family: 'Lora', serif;
    color: #7b3f00;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-item {
    background-color: #f9f9f9;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 5px solid #7b3f00;
    border-radius: 8px;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-answer {
    font-size: 1rem;
    color: #333;
    margin-left: 1rem;
}

.faq-note {
    margin-top: 2rem;
    font-style: italic;
    color: #555;
}

.faq-contact-button {
    margin-top: 1rem;
}

.elegant-button {
    background-color: #7b3f00;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.elegant-button:hover {
    background-color: #5e0b15;
    color: #fff;
}

.urgent-contact {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #222;
}

/* ========== ABOUT PAGE STYLES ========== */

.about-hero {
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    color: white;
}

.about-hero h1 {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 500;
    font-style: italic;
    color: black;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.about-stephen,
.about-wines {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.about-stephen img {
    width: 1200px;
    border-radius: 10px;
}

.about-wines img {
    width: 545px;
    border-radius: 10px;
}

.search-products {
    padding: 2rem;
    text-align: center;
}

/* ========== MOBILE RESPONSIVE STYLES ========== */

/* Admin Dashboard Responsive Styles */
@media screen and (max-width: 768px) {
    /* Landing page mobile styles */
    .landing-container {
        padding: 30px 20px;
        margin: 30px auto;
    }

    .landing-container h1 {
        font-size: 2.2rem;
    }

    .landing-container p {
        font-size: 1rem;
    }

    .button-row {
        flex-direction: column;
        gap: 15px;
    }

    .btn-contact {
        width: 100%;
    }

    /* Admin Dashboard mobile styles */
    .admin-dashboard {
        padding: 10px;
    }

    .admin-dashboard h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 10px !important;
        margin-top: 20px !important;
    }

    .card {
        padding: 15px !important;
    }

    .card h4 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .card-icon {
        font-size: 18px !important;
    }

    .dashboard-footer {
        margin: 10px !important;
        text-align: center;
    }

    /* Adjust logout button placement */
    .admin-dashboard > div:nth-child(2) {
        text-align: center !important;
        margin: 10px !important;
    }

    /* Welcome message */
    .admin-dashboard p:first-child {
        text-align: center !important;
        margin: 10px !important;
        font-size: 1rem;
    }

    /* About page mobile styles */
    .about-hero h1 {
        font-size: 2.5rem !important;
        top: 1rem !important;
        padding: 0 1rem;
        text-align: center;
    }

    .about-stephen,
    .about-wines {
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 1rem !important;
    }

    .about-stephen img,
    .about-wines img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .about-stephen div,
    .about-wines div {
        order: 2;
    }

    .about-stephen img {
        order: 1;
    }

    .about-wines img {
        order: 1;
    }

    .search-products {
        padding: 1.5rem 1rem !important;
    }

    .search-products h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    /* Landing page small mobile styles */
    .landing-container h1 {
        font-size: 1.8rem;
    }

    /* Admin Dashboard small mobile styles */
    .admin-dashboard h1 {
        font-size: 1.5rem !important;
    }

    .card {
        padding: 12px !important;
    }

    .card h4 {
        font-size: 1rem;
    }

    .card p {
        font-size: 0.85rem;
    }

    /* About page small mobile styles */
    .about-hero {
        height: 250px !important;
    }

    .about-hero h1 {
        font-size: 2rem !important;
        top: 0.5rem !important;
    }

    .about-stephen,
    .about-wines {
        padding: 0.8rem !important;
    }

    .about-stephen h2,
    .about-wines h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .about-stephen p,
    .about-wines p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .search-products h3 {
        font-size: 1.1rem;
    }
}
