/* assets/css/home.css */

/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Arial', sans-serif; /* Modern, clean font */
    scroll-behavior: smooth; /* Smooth scrolling */
}

/* Hero Section */
.hero-section {
    min-height: 85vh; /* Slightly taller for impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 20px; /* Rounded corners for the hero section */
    margin: 20px; /* Optional: Add margin to ensure corners are visible */
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)); /* Softer gradient */
    z-index: 1;
    border-radius: 20px; /* Match parent's border-radius */
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    animation: fadeInUp 1.2s ease-out; /* Smoother animation */
}
.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem); /* Larger for emphasis */
    margin-bottom: 1.8rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8); /* Stronger shadow */
    font-weight: 800; /* Bolder */
    letter-spacing: 1.5px;
    color: #f5e9db; /* Creamy beige for warmth */
}
.hero-content p {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    margin-bottom: 3rem;
    max-width: 650px;
    line-height: 1.7;
    color: #f8f1e9; /* Light beige for contrast */
}
.menu-button {
    display: inline-block;
    padding: 16px 32px; /* Larger for prominence */
    background: linear-gradient(135deg, #d4a373, #b8860b); /* Gradient for depth */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #f8f1e9; /* Subtle border */
}
.menu-button:hover {
    background: linear-gradient(135deg, #b8860b, #d4a373);
    transform: translateY(-3px); /* Stronger lift */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: #d4a373;
}

/* Language Toggle */
.lang-toggle {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%); /* Centers the element horizontally */
    z-index: 3;
    display: flex;
    justify-content: center; /* Ensures buttons are centered within the flex container */
    gap: 15px;
}
.lang-button {
    background: rgba(255, 255, 255, 0.2); /* Glassmorphism effect */
    border: 1px solid #f8f1e9;
    color: #f8f1e9;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* Subtle blur */
}
.lang-button:hover {
    background: #d4a373;
    border-color: #d4a373;
    transform: scale(1.1); /* Slightly larger scale */
}
.lang-button.active {
    background: #d4a373;
    border-color: #d4a373;
    color: #fff;
}

/* Overview Section */
.overview-section {
    padding: 100px 20px; /* More padding for elegance */
    background: linear-gradient(135deg, #f8f1e9 0%, #f0e6d2 100%); /* Warmer gradient */
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.overview-section h2 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    color: #3c2f1f; /* Darker espresso tone */
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase; /* For emphasis */
}
.overview-section p {
    font-size: 1.2rem;
    color: #4a3728;
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.9;
    padding: 0 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    background: #f8f1e9; /* Creamy background */
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-section h2 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    color: #3c2f1f;
    margin-bottom: 2.5rem;
    font-weight: 800;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.contact-item {
    padding: 30px;
    background: #fff; /* White for contrast */
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.contact-item h3 {
    font-size: 1.8rem;
    color: #3c2f1f;
    margin-bottom: 1rem;
}
.contact-item p,
.contact-item a {
    font-size: 1.1rem;
    color: #4a3728;
    line-height: 1.7;
}
.contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item a:hover {
    color: #b8860b; /* Brighter gold */
}

/* Hours Section */
.hours-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #b8860b 0%, #d4a373 100%); /* Vibrant coffee gradient */
    color: #fff;
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hours-section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 2rem;
    font-weight: 800;
}
.hours-list {
    list-style: none;
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.9;
}
.hours-list li {
    margin: 1rem 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15); /* Slightly more opaque */
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.hours-list li:hover {
    transform: scale(1.02); /* Subtle grow effect */
}

/* Footer Section */
.footer-section {
    padding: 80px 20px;
    background: #3c2f1f; /* Darker espresso */
    color: #f8f1e9;
    text-align: center;
}
.footer-section p {
    font-size: 1.2rem;
    line-height: 1.7;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        border-radius: 15px; /* Slightly smaller radius for smaller screens */
        margin: 15px;
    }
    .hero-section::before {
        border-radius: 15px;
    }
    .hero-content h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    .hero-content p {
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    }
    .menu-button {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
    .overview-section,
    .contact-section,
    .hours-section {
        padding: 80px 15px;
        min-height: 400px;
    }
    .overview-section h2,
    .contact-section h2,
    .hours-section h2 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
    .lang-toggle {
        top: 20px;
        left: 50%;
        transform: translateX(-50%); /* Maintain centering */
        gap: 10px;
    }
    .lang-button {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        border-radius: 10px; /* Even smaller radius for mobile */
        margin: 10px;
    }
    .hero-section::before {
        border-radius: 10px;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .contact-item {
        padding: 25px;
    }
}