@import url('https://fonts.googleapis.com/css2?family=Acme&family=Bebas+Neue&family=BenchNine:wght@400;700&family=Concert+One&family=Passion+One:wght@400;700;900&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-image: url(images/HOMEPAGE.png);
    background-color: #f7a63b; /* Good fallback while testing */
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    font-family: "Passion One", sans-serif;
}


/* =========================================
   MAIN NAVBAR STYLING 
========================================= */

.navbar {
    background-color: #EF5225;
    width: 98%; 
    max-width: none; 
    height: 60px; /* Slightly taller to comfortably fit the new circle icons */
    margin: 20px auto; 
    border-radius: 50px;
    display: flex;
    align-items: center;
    position: relative; 
    z-index: 10;
}

/* 2. The Left "Bulge" behind the logo */
.navbar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0; /* Anchors the bulge strictly to the left edge */
    width: 260px; /* Width of the bulge */
    height: 120px; 
    background-color: #EF5225;
    border-radius: 50px 0 40px 40px; /* Matches top pill curve, rounds the bottom */
    z-index: -1; 
}

/* 3. General Link Setup & Flexbox Magic */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    gap: 35px; /* Spacing between the center links */
}

.nav-links li {
    display: flex;
    justify-content: center; 
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem; 
    padding: 8px 15px;
    border-radius: 60px;
    transition: 0.3s;
    font-weight: normal;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #EF5225;
    background-color: white;
}

/* =========================================
   LEFT SIDE: LOGO 
========================================= */

.logo-item {
    width: 180px; /* Creates invisible space pushing the other links right */
    
    /* THE MAGIC: Pushes everything after it perfectly to the center */
    margin-right: auto; 
    
    display: flex;
    align-items: center;
}

.logo-item img {
    position: absolute;
    left: 38px; /* Locks the logo into the left bulge */
    top: -30px; /* Pops it out of the top */
    height: 180px; 
    z-index: 20;
}

/* =========================================
   RIGHT SIDE: ICONS & LOGIN 
========================================= */

.right-menu {
    display: flex;
    align-items: center;
    gap: 15px; 
    
    /* THE MAGIC: Pushes this whole block perfectly to the far right */
    margin-left: auto; 
}

/* Removes the pill hover background strictly from the circle icons */
.right-menu .icon-link {
    padding: 0;
    background-color: transparent !important; 
}

/* The White Circle Shape for the Icons */
.nav-icon {
    height: 40px;
    width: 40px;
    object-fit: contain;
    transition: transform 0.2s;
}

.nav-icon:hover {
    transform: scale(1.1); 
}

/* Keep the log-in text readable and capitalized correctly */
.login-link {
    font-size: 1.4rem !important; 
    font-weight: bold !important;
}

/* =========================================
   DROPDOWN MENU 
========================================= */

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: -8px; 
    background-color: white;
    border-radius: 20px;
    flex-direction: column;
    align-items: center; 
    padding: 8px 20px 20px 20px; 
    z-index: 40; 
    white-space: nowrap; 
    box-shadow: 0px 10px 15px rgba(0,0,0,0.1); 
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content a {
    color: #EF5225 !important; 
    padding: 8px 0 !important; 
    background-color: transparent !important; 
}

.dropdown-content a:nth-child(2),
.dropdown-content a:nth-child(3) {
    font-size: 1.4rem; 
}

.dropdown-content a:hover {
    color: #c43e18 !important; 
}

/* Make "MENU" inside the dropdown unclickable */
.dropdown-content a:first-child {
    cursor: default !important;      
    pointer-events: none !important; 
}

.dropdown-content a:first-child:hover {
    color: #EF5225 !important;       
    background-color: transparent !important;
}

/* --- HERO SECTION --- */
.hero-section {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    max-width: none; /* REMOVED the limit so it spans the whole screen */
    margin: 40px 0; /* Removed 'auto' to stop it from centering */
    padding-left: 60px; /* Keeps your text on the left from hitting the edge */
    padding-right: 5; /* Lets the image on the right touch the edge! */
}

.hero-text {
    flex: 1; /* Takes up the left half of the screen */
    min-height: 10px; /* Keeps the invisible box from collapsing */
}

.hero-image {
    flex: 1; 
    display: flex;
    justify-content: flex-end; /* Pushes the image flush to the right */
}

.hero-image img {
    height: 1800px; 
    max-height: 85vh; 
    object-fit: contain;
    max-width: 100%;
    margin-right: 0px; /* Tweak this negative number to drag it perfectly to the edge! */
}

/* 5. Mobile Responsiveness */


/* =========================================
   FOOTER & TOP BAR ALIGNMENT
========================================= */

/* 1. Shared Grid Setup for Perfect Alignment */
.top-content {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 2fr 1.5fr 1fr; 
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    
    /* THE NEW ADDITIONS FOR CENTERING: */
    height: 100%;          /* Forces the grid to match the orange bar's new height */
    align-items: center;   /* Pushes the phone, email, etc., to the vertical middle */
}

/* 1. Force the orange bar to stay thin */
.top-bar {
    background-color: #FF6100;
    padding: 10px 10px;
    height: 80px; /* Locks the thickness of the bar */
    position: relative; 
    z-index: 20;
    overflow: visible !important; /* Allows the giant logo to stick out */
}

/* 2. Make the logo huge and pull it out of the layout */
.top-logo {
    position: absolute; /* Breaks it out of the grid's height calculation */
    height: 130px;      /* Make this as big as you want! */
    width: auto;
    top: -25px;         /* Pulls it up so it overlaps the top and bottom */
    left: 40;            /* Aligns it to the left of your grid container */
    z-index: 30;        /* Keeps it on top of everything */
}

/* 3. Keep the phone number from sliding to the left */
.contact-item:first-of-type {
    /* Since the logo is now 'absolute', this forces the phone number 
       to stay in column 2, leaving column 1 empty for your logo */
    grid-column: 2; 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    font-family: 'BenchNine', sans-serif; /* Matches your body font */
    font-size: 1.8rem;
    color: black;
}

.contact-icon {
    height: 40px; /* Adjust based on your icon image sizes */
    width: auto;
}

/* 3. Bottom Dark Brown Footer Styling */
.footer {
    background-color: #4a2e15; /* The dark brown from your image */
    padding: 30px 40px;
}

.footer-container {
    display: grid;
    /* THIS IS THE MAGIC LINE: It must exactly match your .top-content columns! */
    grid-template-columns: 1.2fr 1.5fr 2fr 1.5fr 1fr; 
    
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    align-items: start; /* Keeps the footer text anchored to the top of the brown section */
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Vertical spacing between the links */
    font-family: 'BenchNine', sans-serif;
}

.footer-col h3 {
    color: white;
    font-size: 2rem;
    font-weight: normal;
    margin: 0 0 10px 0;
}

.footer-col a {
    color: #e0e0e0; /* Slightly dimmed white for links */
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #FF6100; /* Turns orange on hover */
}

.desktop-spacer {
    height: 100px;
}
@media screen and (max-width: 1000px) {
    .navbar {
        height: 20px; /* Thinner bar */
        border-radius: 30px;
        margin: 10px auto; 
    }
    
    /* 2. Shrink the Left-Aligned Bulge */
    .navbar::after {
        width: 80px; /* Narrower bulge */
        height: 40px; /* Shallower drop */
        left: 0; /* Keeps it strictly on the left edge */
        border-radius: 0px 0 10px 10px; /* Blends top-left with the pill shape, rounds the bottom */
    }

    /* 3. Link alignment and text sizing */
    .nav-links {
        padding: 0 5px; /* Less padding on the far left/right */
        gap: 3px; /* Just a tiny gap between the center links */
    }

    .nav-links a {
        font-size: 0.6rem; /* Shrink the text heavily */
        padding: 2px 4px;
        white-space: nowrap; /* Forces text to stay on one line */
    }

    /* 4. The Logo Spacer & Image */
    .logo-item {
        /* Replaces your old flex: 140px rule so it pushes the center links correctly */
        width: 60px; 
        margin-right: auto; /* Shoves the main text links into the center */
    }
    
    .logo-item img {
        height: 60px; /* Smaller logo */
        top: -10px; /* Adjust the vertical position */
        left: 10px; /* Tucks it nicely inside the 80px bulge */
    }

    /* 5. The Right Side Icons (NEW) */
    .right-menu {
        gap: 4px; /* Tiny gap between the cart and user icons */
        margin-left: auto; /* Shoves the icons to the far right */
    }

    .nav-icon {
        height: 14px; /* Micro white circles to match the 20px navbar */
        width: 14px;
        padding: 2px;
    }

    /* Hide the login text so it doesn't break your 0.5rem micro-layout */
    .login-link {
        display: none !important; 
    }

    /* 6. The Dropdown Box */
    .dropdown-content {
        min-width: 40px; /* Prevents the box from being unnecessarily wide */
        padding: 0px 4px 4px 4px; /* Reduces empty white space */
        border-radius: 10px; 
        top: 0px;
    }

    .dropdown-content a {
        font-size: 0.5rem !important; /* Smaller main text */
        padding: 2px 0 !important; 
    }

    .dropdown-content a:nth-child(2),
    .dropdown-content a:nth-child(3) {
        font-size: 0.5rem !important; /* Noticeably smaller sub-links */
    }

    /* --- MOBILE HERO SECTION --- */
    .hero-section {
        flex-direction: column; /* This is the magic! Stacks the text and image vertically */
        margin: 20px 0; /* Reduces the top/bottom spacing for smaller screens */
        padding-left: 20px; /* Reduces the heavy left padding */
        padding-right: 20px; /* Adds even padding to the right so things stay centered */
    }

    .hero-text {

        width: 100%; /* Forces the text container to take up the full screen width */
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers your text horizontally */
        text-align: center; 
        margin-bottom: 30px; /* Adds breathing room between the text and the hand image below it */
    }

    .hero-image {
        width: 100%; 
        display: flex;
        justify-content: flex-end; /* Centers the hand image instead of pushing it to the right edge */
    }

        /* --- TAGLINE IMAGE (Left Side) --- */
    .tagline-img {
        width: 450px; /* CHANGE THIS NUMBER to make the tagline bigger or smaller! */
        max-width: 100%; /* Keeps it from breaking out of the screen */
        height: auto; /* Keeps the proportions perfect */
        object-fit: contain;
    }
    
    .hero-image img {
        height: 220px; 
        max-height: 50vh; 
        object-fit: contain;
        max-width: 100%;
        
        /* CHANGE THIS: Pulls the image 20px to the right, ignoring the container's padding! */
        margin-right: -20px; 
        margin-top: -110px;
    }
}

/* Styling for the new Branches Banner */
.branches-banner {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    gap: 20px; /* Adds space between the lines and the text */
    padding: 85px 20px; /* Adds space above and below the banner */
}

.title-text1 {
    font-family: 'Boogaloo', cursive;
    font-size: 55px; /* You can adjust this value to perfectly fit your layout */
    letter-spacing: 2px;
    color: #000000;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); 
}


/* Controls the size of the orange side lines */
.title-line {
    max-width: 150px; 
    height: auto;
}

/* Controls the size of the main text image */
.title-text {
    max-width: 350px;
    height: auto;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .title-line {
        max-width: 80px; /* Shrinks the lines on mobile */
    }
    
    .title-text1 {
        max-width: 200px; /* Shrinks the text on mobile */
    }
}

h1 {
    font-family: 'Luckiest Guy', cursive;
  }


/* Reusing your luckiest guy class concept */
.big-boyz-font {
    font-family: "Luckiest Guy", cursive;
    font-weight: 400;
    font-style: normal;
}

/* --- New CSS for the Side-by-Side Layout --- */

.branch-locations {
    display: flex;
    justify-content: center; /* Centers the cards horizontally */
    align-items: center; /* Aligns them vertically */
    gap: 40px; /* Space between the two cards */
    padding: 5px 5px;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

.branch-card {
    display: flex;
    align-items: center; /* Aligns image and text vertically */
    padding: 20px;
    border-radius: 15px;
    max-width: 600px; /* Adjust as needed */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Optional: adds depth */
}

/* Colors based on your uploaded image */
.left-card {
    background-color: #94b51a; /* Greenish yellow */
}

.right-card {
    background-color: #179397; /* Teal */
}

/* Image container styling */
.branch-image-container {
    flex-shrink: 0; /* Prevents the image from shrinking too much */
}

.branch-image-container img {
    max-width: 250px; /* Adjust based on your actual images */
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Typography for the cards */
.branch-info {
    font-family: "Luckiest Guy", cursive;
    font-size: 45px;
    color: white;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 3px;
    padding: 10px 10px;
}


.branch-info p {
    margin: 0; /* Removes default paragraph spacing */
    padding: 5px 0;
}

/* Specific Alignment */
.left-align {
    text-align: left;
    margin-left: 20px; /* Space between image and text */
}

.right-align {
    text-align: right;
    margin-right: 20px; /* Space between text and image */
}

/* --- Responsive adjustments --- */
@media (max-width: 900px) {
    .branch-locations {
        flex-direction: row; /* Stacks cards vertically on smaller screens */
    }
    
    .branch-card {
        flex-direction: column; /* Stacks image and text inside the card */
        text-align: center;
        padding: 10px;
    }
    
    .left-align, .right-align {
        text-align: center; /* Centers text on mobile */
        margin: 10px 0 0 0; /* Adjust spacing */
    }
    
    /* Reverse order on mobile for the right card so image is on top */
    .right-card {
       flex-direction: column-reverse;
    }
     .right-card .right-align {
        margin: 0 0 20px 0;
    }
}

.archers-kitchen-section {
    padding: 40px 20px;
    text-align: center;
}

/* Formats the title like the photo: white text, black outline */
.archers-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 55px; 
    color: #ffffff;
    letter-spacing: 2px;
    -webkit-text-stroke: .01px black; /* Creates the black border */
    margin-bottom: 30px;
    margin-top: 0;
}

/* Container keeping the 3 images in a row */
.image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allows images to stack on phones */
}

.image-row img {
    width: 30%; /* Keeps them identically sized */
    max-width: 350px;
    height: auto;
    object-fit: cover;
}

/* Formats the block of description text */
.description-text {
    font-family: 'Barlow Condensed', sans-serif; 
    font-size: 22px;
    color: #000000;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 900px;
}

/* Mobile responsiveness so it doesn't break on small screens */
@media (max-width: 768px) {
    .image-row {
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .image-row img {
        width: 90%;
        margin-bottom: 15px;
    }
}

.lti-square-section {
    padding: 40px 20px;
    text-align: center;
}

/* Formats the title like the photo: white text, black outline */
.lti-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 55px; 
    color: #ffffff;
    letter-spacing: 2px;
    -webkit-text-stroke: .2px black; /* Creates the black border */
    margin-bottom: 30px;
    margin-top: 0;
}

/* Container keeping the 3 images in a row */
.image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; 
    margin-bottom: 30px;
    flex-direction: row;
}

.image-row1 img {
    width: 150%; /* Keeps them identically sized */
    max-width: 350px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 16px #FF0202;
}
.image-row2 img {
    width: 150%; /* Keeps them identically sized */
    max-width: 350px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 16px #08979C;
}
.image-row3 img {
    width: 150%; /* Keeps them identically sized */
    max-width: 350px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 16px #9BB605;
}

/* Formats the block of description text */
.description-text {
    font-family: 'Barlow Condensed', sans-serif; 
    font-size: 22px;
    color: #000000;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 900px;
}

/* Mobile responsiveness so it doesn't break on small screens */
@media (max-width: 768px) {
    .image-row {
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .image-row img {
        width: 90%;
        margin-bottom: 15px;
    }
}

/* --- WHERE TO FIND MAP SECTION (Scaled Down) --- */
.dlsu-where-to-find-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px; /* Reduced top/bottom spacing */
    width: 100%;
}

/* The Green Container Box */
.dlsu-map-container-card {
    background-color: #8cb019; 
    border-radius: 30px; /* Slightly tighter corners */
    padding: 30px; /* Reduced from 40px */
    width: 100%;
    max-width: 700px; /* Reduced from 900px to make the whole block smaller */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Slightly softer shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header layout with lines and text */
.map-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Tighter gap between text and lines */
    margin-bottom: 20px; /* Reduced from 30px */
    width: 100%;
}

.map-title {
    font-family: "Luckiest Guy", cursive;
    font-size: 2.8rem; /* Scaled down from 3.5rem */
    color: #000000;
    margin: 0;
    letter-spacing: 1.5px;
}

.map-line {
    flex-grow: 1;
    max-width: 90px; /* Shorter lines */
    height: auto;
}

/* Map Image Styling */
.map-image-wrapper {
    width: 100%;
    margin-bottom: 20px; /* Reduced from 30px */
    display: flex;
    justify-content: center;
}

.map-image {
    width: 100%;
    height: auto;
    border: 4px solid white; /* Slightly thinner frame */
    border-radius: 5px; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Button Wrapper & Link Styling */
/* Button Wrapper & Link Styling */
.map-button-wrapper {
    display: flex;
    justify-content: center;
}

/* Creates the white pill shape behind the image */
.map-link-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px; 
    background-color: white;
    padding: 10px 45px; 
    border-radius: 50px; 
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    transition: transform 0.2s ease-in-out;
    font-family: 'Bayon', sans-serif;
    font-size: 36px;
    color: #749b14; 
}

.map-link-btn:hover {
    transform: scale(1.05); 
}

/* The image inside the button */
.map-icon-img {
    height: 32px;
    width: auto;
    display: block;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .map-container-card {
        padding: 20px 15px;
        border-radius: 20px;
    }
    
    .map-title {
        font-size: 1.8rem; 
    }
    
    .map-line {
        max-width: 50px; 
    }
    
    .map-link-btn {
        padding: 8px 25px; 
        font-size: 20px; 
        gap: 8px; 
    }
    
    .map-icon-img {
        height: 18px; 
    }

    /* 1. SHRINK THE TOP BAR & KEEP GRID */
    .top-bar {
        /* Your existing mobile styles */
        height: 40px; 
        padding: 5px; 
        
        /* THE FIX: Pulls the entire footer section UP */
        margin-top: -100px; /* Make this number more negative (e.g., -100px) if you need to pull it higher! */
    }

    .top-content {
        display: grid;
        /* Keeps your exact 5-column desktop layout */
        grid-template-columns: 1.2fr 1.5fr 2fr 1.5fr 1fr; 
        height: 100%;
        align-items: center;
        gap: 2px; /* Tiny gap to save space */
    }

    /* 2. SCALE DOWN THE POP-OUT LOGO */
    .top-logo {
        position: absolute; 
        height: 50px; /* Much smaller so it doesn't cover the screen */
        top: 50%; 
        transform: translateY(-50%);
        left: 40;
    }

    /* 3. SHRINK ICONS & TEXT TO FIT */
    .contact-item {
        font-size: 0.65rem; /* VERY small text to fit the 5 columns */
        gap: 3px;           /* Less space between icon and text */
        
        /* Forces the long email address to wrap to two lines instead of breaking the layout */
        word-break: break-all; 
        overflow-wrap: anywhere; 
        line-height: 1.1;
    }

    .contact-icon {
        height: 12px; /* Tiny icons */
    }

    /* 4. SHRINK THE FOOTER & KEEP GRID */
    .footer {
        padding: 15px 5px; /* Minimal padding */
    }

    .footer-container {
        display: grid;
        /* Matches the top bar exactly to keep that invisible vertical alignment */
        grid-template-columns: 1.2fr 1.5fr 2fr 1.5fr 1fr; 
        gap: 2px;
    }

    .footer-col {
        gap: 4px;
    }

    .footer-col h3 {
        font-size: 0.9rem; /* Scaled down titles */
        margin: 0 0 5px 0;
    }

    .footer-col a {
        font-size: 0.75rem; /* Scaled down links */
    }

    .desktop-spacer {
        display: none;
    }
}

.lti-where-to-find-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px; /* Reduced top/bottom spacing */
    width: 100%;
}

.lti-map-container-card {
    background-color: #11999E; 
    border-radius: 30px; /* Slightly tighter corners */
    padding: 30px; /* Reduced from 40px */
    width: 100%;
    max-width: 700px; /* Reduced from 900px to make the whole block smaller */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Slightly softer shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
}




