/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #000;
    letter-spacing: 2px;
    text-decoration: none;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    color: #333;
}

.header-icons i {
    cursor: pointer;
    transition: color 0.3s ease;
}

.header-icons i:hover {
    color: #000;
}

/* Mobile Nav Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #fff;
    padding: 2rem;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    z-index: 1002;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.sidebar a:hover {
    color: #000;
}

.close-nav {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    text-align: right;
    margin-bottom: 1rem;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    background-color: #1f1f1f; /* darker like reference */
    padding: 40px 20px;
    border-top: 1px solid #2a2a2a;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;                 /* switch to flex */
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;               /* allow second row for right-2 */
    gap: 0 48px;
}


.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 0.05em;
}

/* Stack logo above copyright links on the left */
.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-nav {
    display: flex;
    gap: 18px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6); /* muted copyright */
    letter-spacing: 0.04em;
    align-items: center;
    margin-top: 8px; /* align horizontally with .footer-right-2 */
}

.footer-right-1 {
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    margin-left: auto;             /* push first right row to the right */
}

.footer-right-2 {
    display: flex;
    flex-direction: row;
    gap: 18px;
    justify-content: flex-end;     
    opacity: 0.8;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    flex-basis: 100%;              
}

footer a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s ease;
    white-space: nowrap; /* keep labels on one line (e.g., About Us) */
}

footer a:hover { color: #ffffff; }

/* Common Responsive Media Queries */
@media (max-width: 992px) {
    .header-content {
        padding: 0 15px;
    }
    .logo {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        gap: 20px;
        text-align: center;
    }
    .footer-right-1,
    .footer-right-2 {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =====================
   Categories (Homepage)
   ===================== */
.categories {
    background: #fff;
    padding: 60px 0 80px;
}

.category-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px; /* white gutters like reference */
}

.category-item {
    position: relative;
    background: #d9d9d9; /* light grey placeholder */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Sizes: first tile spans 2 columns (wide) */
.category-grid .category-item:nth-child(1) {
    grid-column: 1 / span 2;
    aspect-ratio: 16 / 9; /* wide */
}

/* Other tiles are square-ish */
.category-grid .category-item:nth-child(n+2) {
    aspect-ratio: 1 / 1; /* square */
}

.category-item h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 34px;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.category-item button {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    padding: 10px 18px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-item:hover {
    filter: brightness(0.98);
}

/* Responsive */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid .category-item:nth-child(1) { grid-column: 1 / span 2; }
}

@media (max-width: 600px) {
    .category-grid { grid-template-columns: 1fr; }
    .category-grid .category-item:nth-child(1) { grid-column: auto; }
}