*{
    margin: 0px
}

/* <--- Navbar Starting ---> */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@700&display=swap');

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 30px;
    background-color: #3e2723;
    background-image: url(coffee-texture.png);
    position: fixed;
    width: 100%;
    top: 0;
    transition: transform 0.5s ease, background-color 0.5s ease, padding 0.5s ease;
    z-index: 1000;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}
.logo img {
    height: 60px;
    transition: transform 0.5s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #f1e8e6; 
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    gap: 8px; 
}

.nav-links a:hover {
    color: #d4a373; 
    transform: scale(1.1);
}

.menu-item {
    position: relative;
}

.dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateX(-20%);
    background-color: #5d4037; 
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    text-align: left;
    border-radius: 8px;
    animation: dropdownFadeIn 0.3s ease forwards;
}

.menu-item:hover .dropdown {
    display: flex;
}

.dropdown li a {
    padding: 10px 20px;
    color: #f1e8e6;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px; 
    transition: background-color 0.3s, transform 0.3s;
}

.dropdown li a:hover {
    background-color: #3e2723; 
    transform: translateX(5px);
    border-radius: 4px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px; 
    transition: transform 0.3s ease;
}

.hamburger span {
    width: 30px; 
    height: 3px;
    background-color: #f1e8e6; 
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #3e2723;
        position: absolute;
        top: 50px;
        left: 0px;
        width: 100%;
        padding: 31px;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.5s ease forwards;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .hamburger {
        display: flex;
    }
}

/* Sticky navbar animations */
.sticky {
    background-color: #2d1b18; 
    padding: 25px 30px; 
}

.sticky .logo img {
    transform: scale(0.9);
    height: 50px;
}

.navbar:not(.sticky) {
    transform: translateY(0);
}
/* <--- Navbar Ending ---> */



/* <--- Header Starting ---> */
.main-header {
    background-image: url('HeaderImage.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    height: 75vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f1e8e6; 
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.main-header.active {
    opacity: 1;
    transform: translateY(0);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-content h1 {
    font-size: 42px; 
    margin-bottom: 20px; 
    font-family: 'Cairo', sans-serif; 
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.header-content.active h1 {
    opacity: 1;
    transform: translateY(0);
}

.header-content p {
    font-size: 18px; 
    margin-bottom: 25px; 
    max-width: 600px; 
    line-height: 1.6;
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.header-content.active p {
    opacity: 1;
    transform: translateY(0);
}

.header-btn {
    text-decoration: none;
    background-color: #d4a373; 
    color: #3e2723; 
    padding: 12px 25px; 
    font-size: 18px; 
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
    opacity: 0; 
    transform: translateY(20px);
}

.header-content.active .header-btn {
    opacity: 1;
    transform: translateY(0);
}

.header-btn:hover {
    background-color: #c49a6c; 
    transform: scale(1.05);
}
/* <--- Header Ending ---> */

/* <--- About Section Starting ---> */
.about-section {
    padding: 60px 20px;
    background-color: #f9f9f9; 
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards;
    max-width: 1200px; 
    margin: 0 auto;
}

.about-text {
    max-width: 800px; 
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    color: #3e2723; 
    transition: color 0.3s;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #4e342e; 
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: scale(0.98);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        text-align: left;
    }

    .about-text {
        max-width: 50%;
        margin-right: 20px; 
    }

    .about-image {
        max-width: 50%;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    .about-text p {
        font-size: 16px; 
    }

    .about-content {
        gap: 20px;
    }
}
/* <--- About Section Ending ---> */


/* <--- Our Mission Section Starting ---> */
.mission-section {
    padding: 60px 20px;
    background-color: #fff8f2; 
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    max-width: 1200px; 
    margin: 0 auto;
}

.mission-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-text {
    max-width: 800px;
}

.mission-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    color: #3e2723; 
    transition: color 0.3s;
}

.mission-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #4e342e; 
}

.mission-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: scale(0.98);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .mission-content {
        flex-direction: row;
        text-align: left;
    }

    .mission-text {
        max-width: 50%;
        margin-right: 20px; 
    }

    .mission-image {
        max-width: 50%;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    .mission-text p {
        font-size: 16px; 
    }

    .mission-content {
        gap: 20px;
    }
}
/* <--- Our Mission Section Ending ---> */

/* <--- Menu Section Starting ---> */
.menu-section {
    padding: 60px 20px;
    background-color: #3e2723; 
    color: #f5f0e8; 
    text-align: center;
    overflow: hidden;
}

.menu-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-family: 'Cairo', sans-serif;
    color: #f5f0e8; 
    opacity: 1;
    transform: translateY(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.menu-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.menu-card {
    border: 3px solid #d4a373; 
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #d4a373; 
}

.menu-card-content {
    padding: 20px;
}

.menu-card h3 {
    font-size: 24px;
    color: #3e2723; 
    margin-bottom: 10px;
}

.checkout-btn {
    text-decoration: none;
    background-color: #d4a373; 
    color: #3e2723; 
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.checkout-btn:hover {
    background-color: #c49a6c; 
    transform: scale(1.05);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-card {
        max-width: 100%;
    }
}
/* <--- Menu Section Ending ---> */

/* <--- Testimonials Section Starting ---> */
.testimonials-section {
    padding: 130px 20px;
    background-color: #f5f0e8; 
    color: #3e2723; 
    text-align: center;
}

.testimonials-section h2 {
    font-size: 36px;
   
    font-family: 'Cairo', sans-serif;
    color: #3e2723; 
    opacity: 1;
    transform: translateY(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.testimonial {
    border: 3px solid #d4a373; 
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: translateY(20px);
}

.testimonial-content {
    padding: 20px;
}

.testimonial-content p {
    font-size: 18px;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-content h3 {
    font-size: 20px;
    color: #3e2723; /* Deep coffee brown */
    margin: 10px 0 5px;
}

.testimonial-content span {
    font-size: 16px;
    color: #4e342e; 
}


.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        max-width: 90%;
    }
}
/* <--- Testimonials Section Ending ---> */



/* <--- Contact Us Section Starting ---> */
.contact-section {
    padding: 60px 20px;
    background-image: url('ContactUsImage.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f5f0e8; 
    text-align: center;
    position: relative;
}
.Cheading{
    font-size: 36px;
   text-align: center;
    font-family: 'Cairo', sans-serif;
    color: white; 
    opacity: 1;
    transform: translateY(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;

}
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.contact-form, .contact-info {
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid #d4a373;
    border-radius: 12px;
    padding: 31px;
    padding-right: 50px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    text-align: left;
    color: #2d1b18;
}
.contact-form h3,
.contact-info h3 {
    font-size: 24px;
    color: #3e2723; 
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 16px;
    color: #2d1b18;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d4a373; 
    border-radius: 8px;
    margin-bottom: 15px;
    resize: none;
}

.contact-form button {
    background-color: #d4a373; 
    color: #3e2723; 
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #c49a6c; 
    transform: scale(1.05);
}

.contact-info p {
    margin: 10px 0;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        max-width: 100%;
    }
}
/* <--- Contact Us Section Ending ---> */


/* <--- FAQ Section Starting ---> */
.faq-section {
    padding: 60px 20px;
    background-color: #f5f0e8; 
    color: #3e2723; 
    text-align: center;
}

.faq-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-family: 'Cairo', sans-serif; 
    color: #3e2723; 
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border: 3px solid #d4a373; 
    border-radius: 12px;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    background-color: #d4a373; 
    color: #fff; 
    transform: translateY(-5px);
}

.faq-question {
    font-size: 24px;
    font-family: 'Cairo', sans-serif; 
    color: #3e2723; 
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #fff; 
}

.faq-answer {
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 10px;
    }

    .faq-item {
        padding: 15px;
    }
}
/* <--- FAQ Section Ending ---> */


/* <--- Footer Section Starting ---> */
.footer {
    background-color: #3e2723; 
    color: #f5f0e8; 
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; 
    justify-content: center;
    margin-bottom: 40px; 
}

.footer-logo-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 150px; 
    margin-bottom: 15px; 
}

.footer-info {
    max-width: 300px;
}

.footer-info p {
    font-size: 18px; 
    margin: 0;
    line-height: 1.5; 
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; 
    justify-content: center;
}

.footer-links-column {
    max-width: 250px;
    text-align: left;
}

.footer-links-column h3 {
    font-size: 24px; 
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif; 
    color: #f5f0e8; 
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: #f5f0e8; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #d4a373; 
}

.footer-social {
    max-width: 250px;
    text-align: left;
}

.footer-social h3 {
    font-size: 24px; 
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    color: #f5f0e8; 
}

.footer-social ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px; 
    justify-content: center;
}

.footer-social ul li {
    display: inline-block;
}

.footer-social .social-icon {
    color: #f5f0e8; 
    font-size: 30px; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .social-icon:hover {
    color: #d4a373; 
    transform: scale(1.1); 
}

.footer-newsletter {
    margin-top: 40px;
}

.footer-newsletter h3 {
    font-size: 24px; 
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif; 
    color: #f5f0e8; 
}

.footer-newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px; 
}

.footer-newsletter input {
    padding: 12px;
    border: 1px solid #d4a373; 
    border-radius: 8px;
    margin-right: 10px;
    max-width: 300px;
    box-sizing: border-box;
}

.footer-newsletter button {
    background-color: #d4a373; 
    color: #3e2723; 
    border: none;
    padding: 12px 24px; 
    font-size: 18px; 
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #c49a6c; 
    transform: scale(1.05); 
}

.footer-bottom {
    padding: 10px;
    background-color: #3e2723; 
}

.footer-bottom p {
    font-size: 16px; 
    margin: 0;
    color: #f5f0e8; 
}
/* <--- Footer Section Ending ---> */

/* <--- Loader Styles ---> */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    backdrop-filter: blur(5px); 
    opacity: 0;
    transition: opacity 0.3s ease;
}
.loader {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 8px solid #fff;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-scroll {
    overflow: hidden;
}

/* For WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px; 
}

::-webkit-scrollbar-track {
    background: transparent; 
}

::-webkit-scrollbar-thumb {
    background-color: #6f4f28; 
    border-radius: 8px;
    border: 3px solid transparent; 
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5a3d1b; 
}

/* For Firefox */
.scrollable-element {
    scrollbar-width: thin; 
    scrollbar-color: #6f4f28 transparent; 
}

.scrollable-element:hover {
    scrollbar-color: #5a3d1b transparent; 
}
html {
    scroll-behavior: smooth;
}