/* ==============================================
   Fahari Complex - Updated site.css (2025)
   Fixes: left-aligned logo, larger logo, no left push, better mobile
============================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(233, 111, 67);
    color: white;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
header {
    background-color: white;
    border-radius: 10px;
    margin: 10px;
    padding: 15px 20px;
}

#header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;     /* logo stays left */
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

#logo {
    margin: 0;
    flex-shrink: 0;
}

#logo img {
    max-height: 120px;               /* ← larger logo – change this value to suit */
    width: auto;
    display: block;
}

#tittles {
    color: black;
    text-align: center;
    flex: 1;
    min-width: 220px;
}

#tittles h1 {
    margin: 0;
    font-size: 2.5rem;
}

#tittles p {
    margin: 5px 0 0 0;
    font-style: italic;
    font-size: 1.15rem;
}

/* Navigation */
nav {
    width: 100%;
    margin-top: 15px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.35rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: rgb(233, 111, 67);
}

/* Main content */
main {
    padding: 20px;
    max-width: 1400px;
    margin: 20px auto;
}

#welcome-section {
    text-align: center;
    margin-bottom: 50px;
}

#welcome-section h1 {
    font-size: 3.8rem;
    margin-bottom: 15px;
}

#welcome-section p {
    font-size: 2rem;
    margin: 0;
}

/* Search bar */
#search-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

#search-holder input[type="search"] {
    padding: 12px 16px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 300px;
    flex: 1;
    max-width: 600px;
}

#search-holder input[type="button"],
#search-holder input[type="submit"] {
    background-color: rgb(233, 111, 67);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Filters */
#filters-section {
    background-color: white;
    color: black;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

#category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

#category-buttons a button {
    background-color: black;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05rem;
}

#category-buttons a button:hover {
    background-color: rgb(200, 90, 50);
}

/* Products grid */
#products-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    color: black;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: rgb(233, 111, 67);
    margin: 10px 0 8px 0;
    font-size: 1.45rem;
}

.product-card p {
    margin: 8px 0;
    font-size: 1.2rem;
}

.product-card button {
    background-color: rgb(233, 111, 67);
    color: white;
    border: none;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05rem;
}

.product-card button:hover {
    background-color: rgb(200, 90, 50);
}

/* Footer */
footer {
    background-color: white;
    color: black;
    border-radius: 10px;
    margin: 40px 10px 20px;
    padding: 25px;
    text-align: center;
}

footer h3 {
    margin: 0 0 10px 0;
}

footer p {
    margin: 5px 0;
}

/* About / Contact / Sell pages */
#about-section,
#contact-section,
#sell-item-section {
    max-width: 900px;
    margin: 50px auto;
    background-color: white;
    color: black;
    border-radius: 10px;
    padding: 35px;
}

#sell-item-section form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#sell-item-section label {
    font-weight: bold;
    margin-bottom: 6px;
}

#sell-item-section input,
#sell-item-section textarea,
#sell-item-section select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.05rem;
}

#sell-item-section button {
    background-color: rgb(233, 111, 67);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.15rem;
}

#sell-item-section button:hover {
    background-color: rgb(200, 90, 50);
}

/* ==============================================
   Responsive Design
============================================== */
@media (max-width: 768px) {
    #header-container {
        justify-content: center;
        gap: 20px;
    }

    #logo img {
        max-height: 90px;
    }

    #tittles h1 {
        font-size: 2.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    nav ul li a {
        font-size: 1.4rem;
    }

    #search-holder {
        flex-direction: column;
        gap: 15px;
    }

    #search-holder input {
        width: 100%;
    }

    #products-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #welcome-section h1 {
        font-size: 2.6rem;
    }

    #welcome-section p {
        font-size: 1.5rem;
    }
}
#welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

#welcome-section h1 {
    font-size: 3.8rem;          /* or your preferred size */
    margin-bottom: 8px;         /* ← reduced from 20px or more */
}

#welcome-section h2 {
    font-size: 2.2rem;
    margin: 8px 0 12px 0;       /* small top/bottom margin */
    color: #fff;                /* or your preferred color */
}

#welcome-section p {
    font-size: 1.6rem;
    margin-top: 6px;            /* almost no top space */
    margin-bottom: 30px;
}