/* Global Styles */
:root {
    --primary-color: #6F4E37; /* Coffee brown */
    --secondary-color: #F5F5DC; /* Beige */
    --accent-color: #D2691E; /* Sienna */
    --text-color: #333;
    --light-text: #fff;
    --header-height: 80px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-medium);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-medium);
    z-index: -1;
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover::before {
    width: 100%;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 245, 220, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--header-height);
    transition: all 0.3s ease;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition-medium);
}

.logo-image:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-info .address,
.contact-info .phone {
    margin: 3px 0;
}

.contact-info a {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.contact-info i {
    margin-right: 8px;
    font-size: 1rem;
}

.phone a {
    font-weight: 700;
    font-size: 1rem;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/302899/pexels-photo-302899.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 78, 55, 0.3) 0%, rgba(210, 105, 30, 0.3) 100%);
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.hero-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition-medium);
}

.hero-content:hover h2::after {
    width: 120px;
}

.discover-btn {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* Contact Banner */
.contact-banner {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
}

.contact-banner a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dotted var(--light-text);
    transition: all 0.3s ease;
}

.contact-banner a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.8;
}

.mt-20 {
    margin-top: 20px;
}

.coffee-features {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 120px;
    transition: var(--transition-medium);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Menu Section */
.menu-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.menu-filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-medium);
    position: relative;
}

.menu-filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-medium);
}

.menu-filter-btn:hover,
.menu-filter-btn.active {
    color: var(--accent-color);
}

.menu-filter-btn:hover::after,
.menu-filter-btn.active::after {
    width: 80%;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.menu-category {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(111, 78, 55, 0.1), transparent);
    transition: var(--transition-medium);
    z-index: -1;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-category:hover::before {
    height: 100%;
}

.menu-category h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.menu-category h3 i {
    margin-right: 10px;
    color: var(--accent-color);
}

.menu-category ul {
    list-style: none;
}

.menu-category ul li {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-name {
    font-weight: 400;
}

.item-price {
    font-weight: 700;
    color: var(--accent-color);
}

.menu-category ul li:last-child {
    border-bottom: none;
}

/* Services Section */
.services-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service {
    background-color: var(--secondary-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-color);
    transition: var(--transition-medium);
    z-index: -1;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service:hover::before {
    height: 100%;
}

.service i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: var(--transition-medium);
}

.service:hover i {
    transform: scale(1.2);
}

.service h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service p {
    font-size: 1.1rem;
}

/* Hours Section */
.hours-content {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.today-status {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.status-indicator.open {
    background-color: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
    animation: pulse 2s infinite;
}

.status-indicator.closed {
    background-color: #F44336;
    box-shadow: 0 0 10px #F44336;
}

.status-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.today-hours {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #ddd;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table tr.current-day {
    background-color: rgba(210, 105, 30, 0.1);
    font-weight: 600;
}

.hours-table tr.current-day td {
    color: var(--accent-color);
}

.hours-table td {
    padding: 12px 0;
    font-size: 1.1rem;
}

.hours-table td:first-child {
    font-weight: 600;
    width: 40%;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition-medium);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px;
    min-width: 30px;
}

.contact-item p {
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.directions-btn {
    margin-top: 20px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 300px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 30px;
    font-size: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-contact a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links ul li a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Open Sans', sans-serif;
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: #b35617;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float i {
    margin-top: 2px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Media Queries */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .custom-cursor, .cursor-click-ripple {
        display: none;
    }
    
    #header {
        padding: 0 20px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background-color: var(--secondary-color);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
    
    .contact-info {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .discover-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    .contact-banner {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
