/* 
 * TereaSite Main Custom CSS - Luxury Modern E-Commerce Theme
 */

:root {
    --primary-color: #0d0d0d;
    --accent-color: #d4af37; /* Metallic Gold */
    --accent-hover: #b89628;
    --emerald-green: #10b981;
    --dark-bg: #121212;
    --card-bg: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .fw-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

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

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 100%);
    color: #f3f4f6;
    font-size: 0.85rem;
    padding: 8px 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* Header & Navbar */
.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151 !important;
    padding: 0.8rem 1rem !important;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent-color);
}

/* Badge on nav */
.nav-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: super;
}

/* Icon Buttons */
.header-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111827;
    font-size: 1.2rem;
    transition: all 0.25s ease;
}

.header-icon-btn:hover {
    background: var(--primary-color);
    color: var(--accent-color);
}

.header-icon-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-color);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Carousel */
.hero-slider-item {
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 600px;
    padding: 3rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-gold {
    background: var(--accent-color);
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
    transition: all 0.25s ease;
}

.btn-gold:hover {
    background: var(--accent-hover);
    color: #000000;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-dark-custom {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
}

.btn-dark-custom:hover {
    background: #262626;
    color: var(--accent-color);
}

/* Category Cards */
.category-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

.category-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.category-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Product Cards */
.product-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

.product-badge-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-sale {
    background: #ef4444;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.badge-new {
    background: var(--emerald-green);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.badge-bestseller {
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.product-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s ease;
}

.product-wishlist-btn:hover, .product-wishlist-btn.active {
    color: #ef4444;
    background: #ffffff;
}

.product-thumb-wrap {
    position: relative;
    padding-top: 100%;
    background: #f9fafb;
    overflow: hidden;
}

.product-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-img {
    transform: scale(1.06);
}

.product-action-overlay {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-action-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-quickview {
    background: #ffffff;
    color: #111827;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-quickview:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-top: 4px;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.product-price-wrap {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
}

.price-old {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    margin-top: 10px;
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.btn-add-cart:hover {
    background: var(--accent-color);
    color: #000000;
}

/* Feature/Trust Badges */
.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Offcanvas Side Cart */
.offcanvas-cart {
    width: 380px !important;
}

.cart-item-row {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-thumb {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9fafb;
}

/* Floating Contact Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1020;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* Footer High Contrast Styling */
footer {
    background: #09090b;
    color: #d1d5db;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

footer p, footer span, footer div, footer .footer-text {
    color: #d1d5db !important;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 8px;
    color: #d1d5db !important;
}

footer ul li a {
    color: #d1d5db !important;
    font-size: 0.9rem;
}

footer ul li a:hover {
    color: var(--accent-color) !important;
}

footer .text-gold, footer .bi-geo-alt, footer .bi-telephone, footer .bi-envelope, footer .bi-clock {
    color: var(--accent-color) !important;
}
