/* ---------------------------------------------------------------------- */
/* --- COLOR VARIABLES (MATCHING FINAL SCREENSHOT) --- */
/* ---------------------------------------------------------------------- */
:root {
    --maroon: #54151B;      /* Deep Maroon from the image */
    --maroon-dark: #3a0d11; /* Darker shade for showroom box border */
    --light-bg: #d4d6d9;    /* Pure white (used for all menu gaps/borders) */
    --white-bg: #d4d6d9;    /* Pure white for the contact bar background */
}

/* ---------------------------------------------------------------------- */
/* --- BASE STYLES --- */
/* ---------------------------------------------------------------------- */
/* Ensures padding and borders are included within the element's total width/height */
* {
    box-sizing: border-box; 
}
body {
    font-family: "Times New Roman", Times, serif;
    color: #333;
    background-color: var(--light-bg); 
}

/* ---------------------------------------------------------------------- */
/* --- HEADER LAYOUT (Adjusted Spacing and Sizing) --- */
/* ---------------------------------------------------------------------- */

.main-header {
    background-color: #d4d6d9;
    padding: 20px 0 0 0; 
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%; 
    max-width: 1140px; 
    margin: 0 auto;
}

/* --- 1. Showroom Box (Bigger) --- */
#showroom-box {
    background-color: #54151b;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px; 
    padding: 25px 15px; 
    line-height: 1.5;
    /* width: 170px;  */
    height: 110px; 
    border: 3px solid var(--maroon-dark);
    border-radius: 35px; 
    margin-right: 15px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
    flex-shrink: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 2. Logo Area (Bigger Logo) --- */
#logo-container {
    flex-grow: 1; 
    display: flex;
    justify-content: center;
    padding: 0 5px; 
}

#logo-box {
    background-color: transparent;
    padding: 0; 
    border: none;
    box-shadow: none;
    max-width: 753px; 
    margin: 0 auto;
}

#logo-box img {
    width: 100%; 
    height: auto;
    display: block;
}


/* --- 3. Right Links/Social Media --- */
#right-links {
    text-align: right;
    font-size: 16px; 
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-left: 15px; 
    min-width: 150px;
    flex-shrink: 0;
}

#right-links a {
    color: #54151b;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-weight: bolder; 
}
#right-links a:hover {
    color: var(--maroon);
}

.social-icons-layout {
    margin-top: 5px;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    gap: 8px; 
}

.social-icons-layout a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px; 
    height: 25px;
    color: white; 
    text-decoration: none; 
    border-radius: 50%;
    margin: 0; 
    font-size: 0.8em;
}

.social-icons-layout a[aria-label="Facebook"] { background-color: #4267b2; }
.social-icons-layout a[aria-label="Instagram"] { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.social-icons-layout a[aria-label="Google"] { background-color: #db4437; }


/* ---------------------------------------------------------------------- */
/* --- 4. Address/Phone Bar --- */
/* ---------------------------------------------------------------------- */
#contact-details-bar {
    display: flex;
    justify-content: center; 
    align-items: center;
    font-weight: bold;
    font-size: 24px; 
    margin: 20px auto;
    width: 95%; 
    max-width: 1050px; 
    background-color: #ffffff; 
    padding: 5px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); 
}

#contact-details-bar .address-text {
    flex-basis: 80%;
    text-align: right;
    /* padding-right: 50px;  */
    color: #333;
    letter-spacing: 0.5px;
}

#contact-details-bar .phone-text {
    flex-basis: 50%;
    text-align: left;
    padding-left: 50px; 
    color: #333333;
    letter-spacing: 0.5px;
}

/* ---------------------------------------------------------------------- */
/* --- 5. MENU ROWS (FINAL, CORRECTED ALIGNMENT, BORDERS, AND HEIGHT) --- */
/* ---------------------------------------------------------------------- */
.category-menu-pdf-layout {
    background-color: transparent !important; 
    padding-top: 10px; 
    padding-bottom: 20px; 
    width: 95%; 
    max-width: 1050px; 
    margin: 0 auto;
}

.category-menu-wrapper {
    max-width: 1050px; 
    margin: 0 auto;
    /* This background is the "white border" color for the gaps */
    background-color: var(--light-bg); 
}

/* Menu Item Wrapper: Ensures even distribution and alignment */
.category-row-pdf > .category-block-wrapper {
    flex-basis: 12.5% !important; 
    flex-grow: 1; 
    flex-shrink: 0;
    padding: 0 !important;
    align-self: stretch; 
}

/* Row wrapper: 2 rows of 8 items, with spacing between rows */
.category-row-pdf {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Ensures the row stretches to contain the full height of the boxes */
    /* This creates the vertical white border/gap between the rows */
    border-bottom: 6px solid var(--light-bg) !important; 
}

/* This is essential: removes the border from the very last row */
.category-row-pdf:last-child {
    border-bottom: none !important;
}

/* Menu Item Block: The Maroon Box with Perfectly Centered 3-Row Text and FINAL Height */
.category-block-pdf {
    background-color: #54151b !important;
    color: white !important; 
    
    /* This creates the horizontal white border between items */
    
	border-top: 4.5px solid #ffffff !important;
	border-bottom: 4.5px solid #ffffff !important;
	border-left: 4.5px solid #ffffff !important;
    
    /* FINAL FONT/SPACING: Slightly larger font for better look */
    font-size: 13.5px !important; 
    font-weight: bold;
    text-transform: uppercase;
    
    /* FINAL TIGHTNESS: Making line height even smaller to fit 3 lines */
    line-height: 0.95; 
    text-align: center;
    
    /* Minimal vertical padding for the 3-line content to fit vertically */
    padding: 0 3px !important; 
    
    /* FINAL HEIGHT ADJUSTMENT: The absolute shortest height to match 2.jpg */
    height: 48px; 
    
    /* Flexbox for perfect vertical and horizontal centering of the text */
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-image: none !important; 
    width: 100%;
    height: 80px; /* Must be 100% of the wrapper height for alignment */
}
.category-block-pdf.dropdown-toggle::after {
    display: none !important; 
}


/* Ensure the last item in a row doesn't have a right border */
.category-row-pdf .category-block-wrapper:last-child .category-block-pdf {
    border-right: none !important;
}


/* ---------------------------------------------------------------------- */
/* --- MEDIA QUERIES (Responsiveness) --- */
/* ---------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    #showroom-box, #logo-container, #right-links {
        margin: 10px 0;
    }
    #logo-box {
        padding: 0;
        max-width: 400px;
    }
    #contact-details-bar {
        flex-direction: column;
        font-size: 20px;
    }
    #contact-details-bar .address-text,
    #contact-details-bar .phone-text {
        text-align: center;
        padding-right: 0;
        padding-left: 0;
        flex-basis: 100%;
    }
    .category-row-pdf {
        flex-wrap: wrap; 
    }
    .category-block-wrapper {
        /* On small screens, stack 2 items per row */
        flex-basis: 50% !important; 
        margin-bottom: 1px;
    }
    .category-block-pdf {
         height: auto; 
    }
}
/* ---------------------------------------------------------------------- */
/* --- FOOTER LINK STYLES (To override Bootstrap/browser defaults) --- */
/* ---------------------------------------------------------------------- */
.footer-link {
    color: white !important; /* Forces the text to be white */
    text-decoration: none !important; /* Removes the underline */
}

/* Style for when the user hovers over the link */
.footer-link:hover {
    color: #cccccc !important; /* Light gray on hover for feedback */
    text-decoration: underline !important; /* Optional: adds the underline back on hover */
}