/* ========================================
   Hagia Coffee - Custom Styles
   ======================================== */

/* ========== Root Variables ========== */
:root {
    /* Color Palette */
    --primary-color: #6F4E37;
    --primary-dark: #5A3D2B;
    --primary-light: #8B6F47;
    --secondary-color: #D4A574;
    --accent-color: #C19A6B;
    --dark-brown: #3E2723;
    --cream: #F5F5DC;
    --light-cream: #FAF8F3;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #6C757D;
    --light-gray: #F8F9FA;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
}

/* ========== Preloader ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--white);
}

.coffee-cup {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.cup {
    width: 100px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 0 0 40px 40px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cup::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    right: 10px;
    height: 15px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.cup::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -30px;
    width: 35px;
    height: 40px;
    border: 8px solid var(--secondary-color);
    border-left: none;
    border-radius: 0 50px 50px 0;
}

.steam {
    position: absolute;
    width: 8px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
}

.steam1 {
    left: 25px;
    top: -50px;
    animation: steam-animation 2s ease-out infinite;
}

.steam2 {
    left: 45px;
    top: -50px;
    animation: steam-animation 2s ease-out 0.3s infinite;
}

.steam3 {
    left: 65px;
    top: -50px;
    animation: steam-animation 2s ease-out 0.6s infinite;
}

@keyframes steam-animation {
    0% {
        opacity: 0;
        transform: translateY(0) scaleX(1);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scaleX(1.5);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.preloader-text h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.preloader-text .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #FFD700);
    border-radius: 10px;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* ========== Navigation ========== */
.navbar {
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
    /* background: rgba(0, 0, 0, 0.3); */
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition-smooth);
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    filter: none;
}

.brand-text {
    color: var(--white);
    transition: var(--transition-smooth);
}

.navbar.scrolled .brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.4rem 0.8rem !important;
    position: relative;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
    color: var(--dark-brown) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-link::after {
    background: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-color) !important;
}

/* Navigation Icons */
.nav-icon {
    font-size: 1rem;
    padding: 0.4rem 0.6rem !important;
}

.nav-icon::after {
    display: none;
}

/* Navbar Toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language Dropdown */
.lang-dropdown {
    min-width: 180px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 0.5rem 0;
}

.lang-option {
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.lang-option:hover {
    background: var(--light-cream);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-option.active:hover {
    background: var(--primary-dark);
}

.flag-icon {
    font-size: 1.2rem;
}

/* ========== Search Modal ========== */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.search-modal-content {
    position: relative;
    max-width: 700px;
    margin: 100px auto;
    padding: 2rem;
}

.close-search {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.5rem;
}

.close-search:hover {
    transform: rotate(90deg);
    color: var(--secondary-color);
}

.search-box {
    position: relative;
    margin-bottom: 2rem;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-smooth);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.3);
}

.search-results {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.search-category {
    margin-bottom: 2rem;
}

.search-category:last-child {
    margin-bottom: 0;
}

.search-category h5 {
    color: var(--dark-brown);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-category h5 i {
    color: var(--primary-color);
}

.search-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--light-cream);
    border-radius: 10px;
    transition: var(--transition-smooth);
    color: var(--black);
}

.search-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.search-item-content h6 {
    margin: 0;
    font-size: 1rem;
    color: inherit;
}

.search-item-price,
.search-item-address {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0.3rem 0 0 0;
}

.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.search-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.search-no-results p {
    font-size: 1.1rem;
}


/* ========== Hero Section ========== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../assets/images/hero_coffee_background_1769182585807.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 78, 55, 0.7), rgba(90, 61, 43, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--dark-brown));
}

.btn-outline-light {
    border: 2px solid var(--white);
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
}

/* ========== Section Headers ========== */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== About Section ========== */
.about-section {
    background: var(--light-cream);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 15px;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.about-text {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-box {
    display: flex;
    gap: 15px;
    align-items: start;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h5 {
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 0.3rem;
}

.feature-content p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

/* About Section Home */
.about-section-home {
    background: var(--light-cream);
}

/* ========== CTA Section ========== */
.cta-section {
    background: var(--light-gray);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    height: 100%;
}

.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.cta-locations {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-contact {
    background: linear-gradient(135deg, var(--dark-brown), var(--primary-color));
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.cta-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-card .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.cta-card .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}


/* ========== Products Section ========== */
.products-section {
    background: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card.featured {
    border: 2px solid var(--secondary-color);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark-brown);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(111, 78, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 1.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-name {
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin: 0;
}

.product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.product-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-rating {
    color: #FFD700;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--gray);
    margin-left: 5px;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.testimonials-section .section-subtitle {
    color: var(--secondary-color);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    margin: 0;
    font-size: 1.1rem;
}

.author-title {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* ========== Locations Section ========== */
.locations-section {
    background: var(--light-gray);
}

.location-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.location-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.location-name {
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.location-info p {
    color: var(--gray);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.location-info i {
    color: var(--primary-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--white);
}

.contact-description {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-content h5 {
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 0.3rem;
}

.contact-info-content p {
    color: var(--gray);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--light-cream);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 78, 55, 0.25);
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-brown);
    color: var(--white);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand h4 {
    margin: 0;
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-info {
    list-style: none;
    padding: 0;
}

.footer-info li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .product-image {
        height: 220px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========== Features/Advantages Section ========== */
.features-section {
    background: var(--white);
}

.advantage-card {
    background: var(--light-cream);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.advantage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.advantage-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.advantage-content {
    position: relative;
    z-index: 3;
    transition: var(--transition-smooth);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.advantage-card:hover .advantage-bg {
    opacity: 1;
}

.advantage-card:hover .advantage-content {
    color: var(--white);
}

.advantage-card:hover .advantage-content h4,
.advantage-card:hover .advantage-content p {
    color: var(--white);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-smooth);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color), #FFD700);
}

.advantage-card h4 {
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.advantage-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    transition: var(--transition-smooth);
}

/* ========== Gallery Section ========== */
.gallery-section {
    background: var(--light-gray);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(111, 78, 55, 0.95), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: var(--white);
}

.gallery-text h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* ========== News/Articles Section ========== */
.news-section {
    background: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 2px;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta i {
    color: var(--primary-color);
}

.news-content h4 {
    font-size: 1.2rem;
    color: var(--dark-brown);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.news-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.news-link i {
    transition: var(--transition-smooth);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ========== Page Hero ========== */
.page-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/hero_coffee_background_1769182585807.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    background-attachment: fixed; /* Parallax effect */
}

.page-hero .hero-title {
    font-size: 3rem; /* Reduced from 4rem */
}

.page-hero .hero-subtitle {
    font-size: 1.2rem; /* Reduced from 1.8rem */
    letter-spacing: 1px;
}

.about-text {
    font-size: 1rem; /* Reduced from 1.05rem */
    line-height: 1.8;
}

.section-title {
    font-size: 2.2rem; /* Slightly reduced globally or just locally if scoped, but global is safer for consistency, let's keep global 2.5rem but maybe override for internal pages if needed. User complained about 'content', so let's stick to about-text and hero first. I will just stick to about-text changes here. */
}

/* ========== Team Section ========== */
.team-section {
    background: var(--white);
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(100%);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
    opacity: 1;
}

.team-social {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.team-social:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

