/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Martel Sans', serif;
}

body {
    width: 100%;
    background-color: #f7f7f7;
    margin: 0;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center; /* Vertically align the text and image */
    gap: 10px; 
}

.logo img {
    max-width: 50px; /* Set the maximum width of the logo */
    height: auto; 
}

.logo span {
    font-size: 1.8em; 
    font-weight: bold; /* Make the text bold */
    color: white; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Add a shadow for better contrast */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #b8976a; 
}

.search-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn img {
    width: 24px;
    height: 24px;
    filter: invert(1); 
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .nav-links {
        flex-direction: column; /* Stack nav links vertically */
        gap: 10px;
        margin-top: 10px;
    }

    .nav-links li a {
        font-size: 0.9em; /* Smaller font size for mobile */
    }
}

body {
    padding-top: 80px; 
}



.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-image: url('/assets/banner/banner-background.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.banner-content {
    max-width: 50%; 
}

.banner-content h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000; 
}

.banner-content p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #555; 
}

.shop-now-btn {
    display: flex; /* Use flexbox */
    justify-content: center; 
    align-items: center; /* Vertically center the text */
    width: fit-content; 
    padding: 10px 20px; /* Add spacing around the text */
    font-size: 1em; 
    background-color: black; /* Keep button background color */
    color: white;
    border: none;
    border-radius: 5px; /* Slightly rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    text-align: center; 
    transition: background-color 0.3s ease;
}

.shop-now-btn:hover {
    background-color: #b8976a; 
}

.banner-image {
    max-width: 50%; /* Restrict image to half the screen */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image img {
    max-width: 100%; /* Make sure the coffee image scales properly */
    height: auto;
}

/* Responsive Banner for Mobile */
@media (max-width: 768px) {
    .banner {
        flex-direction: column; /* Stack content vertically */
        text-align: center;
        padding: 20px;
    }

    .banner-content {
        padding: 0;
    }

    .banner-content h1 {
        font-size: 1.8em; /* Smaller text size */
    }

    .banner-image img {
        max-width: 300px; /* Smaller image size */
    }
}

/* Reasons Section Styles */
.reasons {
    display: flex;
    justify-content: space-around; 
    align-items: center; /* Align items vertically */
    gap: 40px; /* Add spacing between feature items */
    padding: 60px 20px;
    background-color: #fff; 
    height: auto;
}

.reason {
    display: flex;
    align-items: center; 
    gap: 20px; /* Add spacing between image and text */
    max-width: 350px; 
    text-align: left; /* Ensure the text aligns to the left */
}

.reason img {
    max-width: 100px; /* Restrict image size */
    height: auto; 
}

.reason p {
    font-size: 1.4em;
    color: #333;
    margin: 0; /* Remove default paragraph margins */
}

/* Responsive Banner for Mobile */
@media (max-width: 768px) {
    .banner {
        flex-direction: column; /* Stack content vertically */
        text-align: center;
        padding: 20px;
    }

    .banner-content {
        padding: 0;
    }

    .banner-content h1 {
        font-size: 1.8em; /* Smaller text size */
    }

    .banner-image img {
        max-width: 300px; /* Smaller image size */
    }
}

/* Our Story Section */
.our-story {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; /* Space between text and image */
    padding: 60px 20px;
    background-color: #fff; /* Clean white background */
}

.story-image {
    flex: 1; /* Takes 50% of the space */
    max-width: 50%;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Smooth rounded corners */
    object-fit: cover; 
}

.story-text {
    flex: 1; /* Takes the remaining 50% */
    max-width: 50%;
    padding-right: 20px; /* Adds spacing inside text */
}

.story-text h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.story-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .our-story {
        flex-direction: column;
        text-align: center;
    }

    .story-image, .story-text {
        max-width: 100%;
    }
}

/*Quote section*/
.quote {
    display: flex; /* Flex container for the quote section */
    align-items: center; /* Vertically */
    justify-content: space-between; 
    gap: 40px; 
    padding: 50px;
    background-color: #fff;
}

.quote-content {
    display: flex; /* Flexbox for inner content */
    flex-direction: column; /* Stack text vertically */
    justify-content: center;
    position: relative; 
    flex: 1; 
    max-width: 50%; /* Limit text width */
}

.quote-content blockquote {
    font-size: 2em; /* Large quote text */
    font-weight: bold; /* Make the text bold */
    line-height: 1.4;
    color: #333;
    margin: 0;
    position: relative; 
    padding: 20px;
}

.quote-content blockquote::before {
    content: "“";
    font-size: 2em;
    font-weight: bold;
    color: #b8976a; /* Highlighted color for quotes */
    position: absolute;
    top: -5%;
    left: -6%;
}

.quote-content blockquote::after {
    content: "”";
    font-size: 2em;
    font-weight: bold;
    color: #b8976a; /* Highlighted color for quotes */
    position: absolute;
    bottom: -65%;
    right: -1%;
}

.quote-content cite {
    display: flex; /* Flexbox for the citation */
    justify-content: flex-start; 
    font-size: 1em; 
    font-style: italic; /* Italicized text */
    color: #777;
    margin-top: 10px;
}

.quote-image {
    flex: 1; /* Equal space for image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-image img {
    width: 100%;
    height: auto;
    object-fit: cover; 
    border-radius: 5px; /* Add rounded corners */
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote {
        flex-direction: column;
        text-align: center; /* Center-align text */
    }

    .quote-content {
        max-width: 100%; /* Full width */
        padding: 20px;
    }

    .quote-content blockquote::before {
        font-size: 3em; /* Adjust quote size for smaller screens */
        left: 0;
    }

    .quote-content blockquote::after {
        font-size: 3em;
        right: 0;
    }
}

/* Locations Section */
.locations {
    display: flex; 
    justify-content: space-between;
    gap: 20px;
    padding: 50px;
    background-color: #f9f8f6; 
}

.location-card {
    display: flex; /* Flexbox for card container */
    flex-direction: column; /* Stack image and details vertically */
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1; /* Cards take equal space */
}

.location-card img {
    width: 100%; /* Image takes full width */
    height: 300px; 
    object-fit: cover; 
    flex-shrink: 0; 
}

.location-details {
    display: flex;
    flex: 1; 
    flex-direction: column;
    justify-content: space-between; /* Distribute content evenly */
    padding: 20px;
}

.location-details h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.location-info {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 20px;
}

.location-btn {
    padding: 10px 20px;
    font-size: 1em;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.location-btn:hover {
    background-color: #b8976a; 
}

/* Gallery Section */
.gallery-section {
    padding: 50px 20px;
    text-align: center;
}

.gallery-header {
    margin-bottom: 30px;
}

.gallery-header h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.gallery-header p {
    font-size: 1.1em;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: repeat(2, auto); 
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fit nicely */
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.05); /* Slight zoom effect */
}

/* Specific Image Placement */
.coffee1 {
    grid-column: 1 / 2; /* Left column */
    grid-row: 1 / 2; /* Top row */
}

.coffee2 {
    grid-column: 1 / 2; /* Left column */
    grid-row: 2 / 3; /* Bottom row */
}

.coffee3 {
    grid-column: 2 / 3; /* Center column */
    grid-row: 1 / 3; /* Spans two rows */
}

.coffee4 {
    grid-column: 3 / 4; /* Right column */
    grid-row: 1 / 2; /* Top row */
}

.coffee5 {
    grid-column: 3 / 4; /* Right column */
    grid-row: 2 / 3; /* Bottom row */
}

/* Best Sellers Section */
.best-sellers {
    padding: 50px 20px;
    background-color: #f3f1eb;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
    gap: 20px;
}

/* Section Title */
.section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
    color: #333;
}

/* Menu Item */
.menu-item {
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Space between details and price */
    align-items: center; /* Align items vertically */
    border-bottom: 1px solid #ddd; /* Line between items */
    padding: 15px 0;
    position: relative;
}

.item-details h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.item-details p {
    font-size: 0.9em;
    color: #777;
}

.item-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}


/* Read More Button */
.read-more-container {
    display: flex;
    justify-content: center; /* Center the button */
    margin-top: 20px;
}

.read-more-btn {
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-transform: uppercase;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #b8976a;
}

/* Footer General Styles */
.footer {
    background-color: #f9f8f6; /* Light beige background */
    color: #000;
    font-size: 0.9em;
    padding: 30px 20px;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex; /* Flexbox layout */
    justify-content: space-between; 
    align-items: flex-start; /* Align items to the top */
    width: 100%; 
    padding: 30px 20px 30px 20px; /* Keep minimal padding (left & right) */
    box-sizing: border-box; 
}

/* Left Section */
.footer-left {
    display: flex;
    flex: 3; /* Left section takes up 3x space */
    gap: 40px; /* Space between the items */
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-logo img {
    max-width: 120px; /* Logo size */
    height: auto;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 24px;
    height: 24px;
}

.footer-logo p {
    font-size: 0.8em;
    color: #777;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.footer-links li a:hover {
    color: #000;
}

.visit-us h4 {
    margin-bottom: 10px;
    font-size: 1em;
}

.visit-us p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: #555;
}

/* Right Section */
.footer-right {
    flex: 1; /* Take less space */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align to the left inside its box */
    gap: 10px; /* Space between form elements */
    box-sizing: border-box; /* Include padding in flex width */
}

.footer-right form {
    display: flex;
    width: 100%;
}

.footer-right input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    flex: 1;
}

.footer-right button {
    padding: 8px 15px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-right button:hover {
    background-color: #b8976a; 
}

.footer-right label {
    font-size: 0.8em;
    color: #555;
}

.footer-right .privacy-policy {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.footer-right .privacy-policy:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;
    }

    .footer-right {
        align-items: center;
    }
}

@media (max-width: 350px) {
    .navbar {
        flex-direction: column;
    }

    .banner-content, .banner-image {
        max-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 2000px) {
    .container, .gallery-grid {
        max-width: 1800px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}