/* Coffee Theme Styles for KopiKita */
/* Custom Coffee Theme Styles */
.coffee-hero {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E  50%, #CD853F 100%);
    position: relative;
    overflow: hidden;
}

.coffee-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
    animation: coffeeFloat 20s ease-in-out infinite;
}

@keyframes coffeeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.coffee-section {
    background: linear-gradient(45deg, #FFF8DC 0%, #F5DEB3 100%);
    position: relative;
}

.coffee-bean-icon {
    color: #8B4513;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.coffee-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coffee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.3);
}

.coffee-steam {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 6px;
    height: 50px;
    background: linear-gradient(to top, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    border-radius: 50%;
    animation: steam 3s ease-in-out infinite;
}

@keyframes steam {
    0%, 100% { opacity: 0; transform: translateY(0) rotate(-5deg); }
    50% { opacity: 1; transform: translateY(-20px) rotate(5deg); }
}

/* Contact Page Specific Styles */
.contact-info-card {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.coffee-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

/* Coffee Color Palette */
:root {
    --coffee-dark: #8B4513;
    --coffee-medium: #D2691E;
    --coffee-light: #CD853F;
    --coffee-cream: #F5DEB3;
    --coffee-beige: #FFF8DC;
    --coffee-brown: #5D4037;
}

/* Review Card Styling */
.coffee-card.testimony-wrap {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coffee-card.testimony-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.25) !important;
}

.coffee-card.testimony-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.coffee-card.testimony-wrap:hover::before {
    animation: shine 0.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

/* User image styling */
.coffee-card .user-img {
    transition: all 0.3s ease;
}

.coffee-card:hover .user-img {
    transform: scale(1.05);
}

/* Coffee Button Styles */
.coffee-btn {
    background: linear-gradient(45deg, var(--coffee-dark), var(--coffee-medium));
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 15px 35px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    display: inline-block;
}

.coffee-btn:hover {
    background: linear-gradient(45deg, var(--coffee-medium), var(--coffee-light));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.4);
    color: white !important;
    text-decoration: none;
}

.coffee-btn-outline {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    padding: 15px 35px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.coffee-btn-outline:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    color: white !important;
    text-decoration: none;
}

/* Coffee Buttons Container */
.coffee-buttons-container {
    margin-top: 2rem;
}

.coffee-buttons-container .row {
    margin: 0;
    justify-content: center;
    align-items: center;
}

.coffee-buttons-container .col-md-6 {
    padding: 0 10px;
}

@media (max-width: 768px) {
    .coffee-buttons-container .col-12 {
        padding: 0 15px;
        margin-bottom: 15px;
    }
    
    .coffee-btn, .coffee-btn-outline {
        padding: 12px 25px;
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .coffee-buttons-container .row {
        gap: 15px;
    }
}

/* Coffee Cart Table Styles */
.coffee-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.coffee-table tbody tr {
    border-bottom: 1px solid var(--coffee-cream);
    transition: background-color 0.3s ease;
}

.coffee-table tbody tr:hover {
    background-color: var(--coffee-beige);
}

.coffee-table .product-name h3 {
    color: var(--coffee-brown);
    font-weight: bold;
}

.coffee-table .price, .coffee-table .total {
    color: var(--coffee-dark);
    font-weight: bold;
}

.coffee-table .product-remove a {
    color: #dc3545;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.coffee-table .product-remove a:hover {
    color: #c82333;
}

/* Coffee Cart Button Positioning */
.nav-item.cta {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.coffee-cart-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    text-align: center !important;
}

.coffee-cart-btn .cart-item-total {
    margin-left: 6px !important;
    font-size: 0.85rem !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Coffee Cart Button Hover */
.coffee-cart-btn:hover {
    background: linear-gradient(45deg, var(--coffee-medium), var(--coffee-light)) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    color: white !important;
    text-decoration: none;
}

/* Coffee Navigation Active States */
.navbar-nav .nav-item.active .nav-link {
    color: var(--coffee-dark) !important;
    font-weight: bold !important;
    border-bottom: 2px solid var(--coffee-medium) !important;
    padding-bottom: 8px !important;
}

.navbar-nav .nav-item.active.dropdown .nav-link {
    border-bottom: 2px solid var(--coffee-medium) !important;
}

/* Fix Sticky Header Active State - Override Green Color */
.ftco-navbar-light.scrolled .nav-item.active > a {
    color: var(--coffee-dark) !important;
    border-bottom: 2px solid var(--coffee-medium) !important;
}

.ftco-navbar-light.scrolled .nav-link.active {
    color: var(--coffee-dark) !important;
}

/* Override ALL Green Active States */
.ftco-navbar-light .navbar-nav > .nav-item.active > a {
    color: var(--coffee-dark) !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.active.dropdown > a {
    color: var(--coffee-dark) !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link {
    color: var(--coffee-dark) !important;
}

/* Force Coffee Theme for All Active States */
.nav-item.active .nav-link,
.nav-item.active > a,
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item.active > a {
    color: var(--coffee-dark) !important;
    border-bottom: 2px solid var(--coffee-medium) !important;
}

/* Override Original Green Color (#82ae46) */
.ftco-navbar-light .navbar-nav > .nav-item.active > a,
.ftco-navbar-light.scrolled .nav-item.active > a,
.ftco-navbar-light.scrolled .nav-link.active,
.navbar-nav .nav-item.active .nav-link {
    color: var(--coffee-dark) !important;
    background: none !important;
}

/* Remove any green background or border */
.nav-item.active,
.nav-item.active.dropdown {
    background: none !important;
    border-color: var(--coffee-medium) !important;
}

/* Coffee Scroll to Top Button */
.mouse-icon {
    background: var(--coffee-light) !important;
    border: 2px solid var(--coffee-medium) !important;
    color: var(--coffee-dark) !important;
}

.mouse-icon:hover {
    background: var(--coffee-light) !important;
    border-color: var(--coffee-dark) !important;
    color: var(--coffee-dark) !important;
}

/* Coffee Product Detail Page Styles */
.product-details h3 {
    color: var(--coffee-dark) !important;
    font-weight: bold;
}

.product-details .price {
    color: var(--coffee-dark) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.product-details .price-sale {
    color: var(--coffee-dark) !important;
}

.product-details .rating a {
    color: var(--coffee-medium) !important;
}

.product-details .rating .ion-ios-star-outline {
    color: var(--coffee-light) !important;
}

/* Coffee Quantity Controls */
.quantity-left-minus, .quantity-right-plus {
    background: var(--coffee-medium) !important;
    border: 1px solid var(--coffee-medium) !important;
    color: white !important;
    border-radius: 5px;
}

.quantity-left-minus:hover, .quantity-right-plus:hover {
    background: var(--coffee-dark) !important;
    border-color: var(--coffee-dark) !important;
}

.input-number {
    border: 2px solid var(--coffee-medium) !important;
    text-align: center;
    font-weight: bold;
    color: var(--coffee-dark) !important;
}

/* Coffee Add to Cart Button */
.btn-black {
    background: linear-gradient(45deg, var(--coffee-dark), var(--coffee-medium)) !important;
    border: none !important;
    color: white !important;
    font-weight: bold;
    border-radius: 25px !important;
    transition: all 0.3s ease;
}

.btn-black:hover {
    background: linear-gradient(45deg, var(--coffee-medium), var(--coffee-light)) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

/* Coffee Related Products */
.product .text h3 a {
    color: var(--coffee-dark) !important;
}

.product .text .price {
    color: var(--coffee-dark) !important;
}

.product .text .price-sale {
    color: var(--coffee-dark) !important;
}

.product .bottom-area a {
    background: var(--coffee-medium) !important;
    color: white !important;
}

.product .bottom-area a:hover {
    background: var(--coffee-dark) !important;
}

/* Coffee Breadcrumbs */
.breadcrumbs a {
    color: var(--coffee-light) !important;
}

.hero-bread .bread {
    color: white !important;
}

/* Coffee Form Styles */
.coffee-form .form-control {
    border: 2px solid var(--coffee-medium);
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.coffee-form .form-control:focus {
    border-color: var(--coffee-dark);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.coffee-form label {
    color: var(--coffee-brown);
    font-weight: bold;
}
