/* Root Variables */
:root {
    --primary: #6F4E37;
    /* Coffee Brown */
    --secondary: #C4A484;
    /* Light Tan/Beige */
    --accent: #E6B325;
    /* Golden Yellow */
    --dark: #3E2723;
    /* Dark Brown */
    --light: #F5F5F5;
    /* Very Light Gray */
    --text: #333333;
    /* Dark Gray Text */
    --highlight: #FF9F1C;
    /* Bright Orange/Yellow */
    --white: #FFFFFF;
    --light-gray: #ddd;
    --medium-gray: #999;
    --success-green: #28a745;
    --error-red: #dc3545;
}

/* Global Reset & Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Body Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 2px solid var(--light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}

/* Visually Hidden Utility Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
    background: rgba(62, 39, 35, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

nav.scrolled {
    padding: 15px 5%;
    background: rgba(62, 39, 35, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo i {
    color: var(--accent);
    font-size: 1.75rem;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.logo span {
    color: var(--accent);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a:focus {
    color: var(--accent);
    outline: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a:focus::after {
    width: 100%;
}

.active {
    color: var(--accent) !important;
}

.active::after {
    width: 100% !important;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 10% 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../image/home.jpg') no-repeat center center/cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(230, 179, 37, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--highlight);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 179, 37, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}



@media (min-width: 992px) {
    .hero-image {
        display: block;
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
}

.coffee-beans {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bean {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('https://i.ibb.co/7pZSV9K/coffee-hero-section.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    animation: falling linear infinite;
    will-change: transform, opacity;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Falling Beans Animation */
@keyframes falling {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10%,
    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* Section Styling */
.section {
    padding: 100px 10%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Menu Section */
.menu {
    background-color: var(--white);
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 40px;
}

.menu-category {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-category:hover,
.menu-category:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.menu-category img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.menu-category:hover img,
.menu-category:focus-within img {
    transform: scale(1.05);
}

.menu-description {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-description h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
}

.menu-description h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.menu-description p {
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

.menu-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

.add-to-cart {
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.add-to-cart:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.add-to-cart:hover,
.add-to-cart:focus {
    background-color: var(--highlight);
    transform: translateY(-2px);
}

.add-to-cart:disabled {
    background-color: var(--medium-gray);
    cursor: default;
    transform: none;
}

/* About Section */
.about {
    background-color: #f9f5f0;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1 1 400px;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 1s ease-out forwards;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img,
.about-image:focus-within img {
    transform: scale(1.05);
}

.about-text {
    flex: 1 1 500px;
    animation: fadeInRight 1s ease-out forwards;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.625rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    color: #555;
}

.about-highlight {
    background-color: var(--secondary);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-highlight::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.about-highlight p {
    color: var(--dark);
    font-style: italic;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.social-icons a:hover,
.social-icons a:focus {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--white);
    padding: 40px 30px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(111, 78, 55, 0.08);
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-size: 1rem;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.125rem;
}

.author-info p {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin: 0;
}

.rating {
    color: var(--accent);
    margin-top: 5px;
    font-size: 0.9rem;
}

.rating i {
    margin-right: 2px;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(62, 39, 35, 0.92), rgba(62, 39, 35, 0.92)), url('https://images.unsplash.com/photo-1517701550927-30cf4ba1dba5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    color: var(--white);
}

.contact .section-title h2,
.contact .section-title p {
    color: var(--white);
}

.contact .section-title h2::after {
    background-color: var(--accent);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 50px;
    align-items: start;
}

.contact-info {
    animation: fadeInLeft 1s ease-out forwards;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 25px;
    color: var(--accent);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(230, 179, 37, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.125rem;
    margin-bottom: 5px;
    color: var(--white);
    font-weight: 600;
}

.contact-text p {
    opacity: 0.85;
    margin: 0;
    line-height: 1.6;
}

.contact-text p a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-text p a:hover,
.contact-text p a:focus {
    color: var(--accent);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 1s ease-out forwards;
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--text);
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 179, 37, 0.2);
}

.form-control::placeholder {
    color: var(--medium-gray);
    opacity: 1;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.submit-btn:hover,
.submit-btn:focus {
    background-color: var(--highlight);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 179, 37, 0.4);
}

.submit-btn:disabled {
    background-color: var(--medium-gray);
    cursor: progress;
    transform: none;
    box-shadow: none;
}

/* Form Feedback Styles */
.form-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-feedback.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
    border: 1px solid rgba(40, 167, 69, 0.3);
    display: block;
}

.form-feedback.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--error-red);
    border: 1px solid rgba(220, 53, 69, 0.3);
    display: block;
}

/* Form Link Styles */
.form-link {
    margin-top: 15px;
    text-align: center;
    font-size: 0.95rem;
}

.form-link a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
    padding-right: 205px;
    font-weight: bold;
    font-size: 1rem;
}

.form-link .LinkSignup {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
    padding-right: 184px;
    font-weight: bold;
    font-size: 1rem;
}

.form-link a:hover,
.form-link a:focus {
    color: var(--highlight);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 10% 30px;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    margin-bottom: 30px;
    position: relative;
    color: var(--accent);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--accent);
    opacity: 1;
    transform: translateX(5px);
    outline: none;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: var(--accent);
    transition: width .3s ease;
}

.footer-links a:hover::after,
.footer-links a:focus::after {
    width: 100%;
    left: 0;
    background-color: var(--accent);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-social a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-social a:hover,
.footer-social a:focus {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
}

.opening-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    opacity: 0.8;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.opening-hours li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.opening-hours li span:first-child {
    font-weight: 600;
    margin-right: 10px;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 179, 37, 0.2);
}

.newsletter-form .submit-btn {
    width: auto;
    padding: 10px 25px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: absolute;
    right: 30px;
    top: -25px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border: none;
}

.back-to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.back-to-top:hover,
.back-to-top:focus {
    background-color: var(--highlight);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    padding: 20px;
}

.modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    padding: 30px 40px;
    position: relative;
    transform: translateY(-30px) scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    opacity: 0;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color 0.3s ease, transform 0.3s ease;
    background: none;
    border: none;
    padding: 5px;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    transform: rotate(90deg);
    outline: none;
}

.modal h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.75rem;
    text-align: center;
}

.modal p,
.modal ul {
    color: var(--text);
    font-size: 1rem;
}

.modal ul {
    list-style: disc;
    margin: 20px 0 20px 20px;
}

.modal ul li {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (min-width: 1400px) {
    .hero {
        padding-left: 15%;
        padding-right: 15%;
    }

    .section {
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-image {
        right: 5%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 14.5px;
    }

    .hero {
        padding: 100px 5% 60px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        display: none;
    }

    .buttons {
        justify-content: center;
    }

    .section {
        padding: 80px 5%;
    }

    .about-content {
        gap: 30px;
    }

    .about-image,
    .about-text {
        flex-basis: 100%;
        min-width: 0;
    }

    .about-text {
        animation-name: fadeInUp;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: transform 0.5s ease-in-out;
        transform: translateX(-100%);
        padding-top: 80px;
        z-index: 999;
        visibility: hidden;
    }

    nav ul.active {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul li a {
        font-size: 1.5rem;
    }

    .menu-toggle .fa-times {
        position: fixed;
        top: 25px;
        right: 5%;
        z-index: 1001;
        color: var(--white);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .menu-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .opening-hours li {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .opening-hours li span:first-child {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .back-to-top {
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13.5px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
        width: 80%;
        margin: 30px auto 0;
    }

    .btn {
        width: 100%;
        padding: 15px 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .modal-content {
        padding: 25px;
    }

    .modal h2 {
        font-size: 1.5rem;
    }

    .footer {
        padding: 50px 5% 20px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-image {
        animation: none;
    }

    .coffee-beans {
        display: none;
    }

    .coffee-steam {
        display: none;
    }
}

/* Special Offers Styling */
.special-offers {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 950;
    /* Below modal backdrop */
}

.offer-badge {
    background-color: var(--accent);
    color: var(--dark);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(230, 179, 37, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    /* Ensure it's treated as a button */
    font-size: 1rem;
}

.offer-badge:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.offer-badge:hover,
.offer-badge:focus {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(230, 179, 37, 0.5);
}

.offer-badge i {
    font-size: 1.25rem;
    /* 20px */
    line-height: 1;
    /* Prevent extra space */
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

.rotate {
    animation: rotate 10s linear infinite;
}

.coffee-steam {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.steam {
    position: absolute;
    bottom: 80px;
    /* Adjust start position */
    left: 50%;
    width: 80px;
    /* Smaller steam puffs */
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    /* Slightly transparent */
    border-radius: 50%;
    opacity: 0;
    filter: blur(15px);
    /* More blur */
    animation: steamAnimation 5s infinite ease-out;
    /* Slower, ease-out */
    will-change: transform, opacity;
}

.steam:nth-child(1) {
    left: 48%;
    animation-delay: 0s;
}

.steam:nth-child(2) {
    left: 50%;
    animation-delay: 1.2s;
    width: 90px;
    height: 90px;
}

.steam:nth-child(3) {
    left: 52%;
    animation-delay: 2.5s;
}