﻿/* HEX-S Coffee Static Website Styles */

:root {
    --primary-color: #13294b;
    --secondary-color: #2d3748;
    --accent-color: #4a5568;
    --gold: #c9a76c;
    --dark-bg: #1a1a1a;
    --light-bg: #f7fafc;
}

body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    background: #fff;
}

/* Top Navigation */
.top-nav {
    background: var(--primary-color) !important;
    padding: 10px 0;
}

.top-nav .navbar-brand {
    height: 50px;
}

.top-nav .navbar-brand img {
    height: 100%;
    width: auto;
}

.top-nav .nav-left {
    flex: 0 0 auto;
}

.top-nav .nav-right {
    flex: 1;
    justify-content: flex-end;
    padding-left: 100px;
}

.top-nav .nav-link {
    color: #fff !important;
    padding: 8px 18px !important;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-nav .nav-link:hover,
.top-nav .nav-item.active .nav-link {
    color: var(--gold) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(19,41,75,0.85) 0%, rgba(45,55,72,0.85) 100%);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(19, 41, 75, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.hero-buttons .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
}

.hero-buttons .btn-primary:hover {
    background: #b8956a;
    border-color: #b8956a;
    color: var(--primary-color);
}

.hero-buttons .btn-outline-light {
    border: 2px solid #fff;
    padding: 12px 30px;
}

.hero-buttons .btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-desc {
    color: #718096;
    font-size: 1.1rem;
}

.section-text {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.05rem;
}

.section-header {
    margin-bottom: 50px;
}

/* Stat Items */
.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 20px;
}

.product-sku {
    color: #a0aec0;
    font-size: 0.85rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 5px 0 10px;
}

.product-specs {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

/* News Card */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #a0aec0;
    font-size: 0.85rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 10px 0;
}

.news-excerpt {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-link:hover {
    color: var(--gold);
    text-decoration: none;
}

/* Contact Section */
.contact-info {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.contact-item p {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-form .form-control {
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(19, 41, 75, 0.1);
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
}

.footer-brand {
    min-height: 70px;
    display: flex;
    align-items: center;
}

.footer-brand img {
    width: auto;
    max-width: 100%;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-top h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--gold);
    margin-right: 10px;
    width: 16px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background: #2d4a7c;
    border-color: #2d4a7c;
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Product Detail Page */
.product-detail-hero {
    background: linear-gradient(135deg, #13294b 0%, #2d3748 100%);
    padding: 80px 0;
    color: #fff;
}

.product-image-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.product-image-container img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-table th {
    background: #13294b;
    color: #fff;
    font-weight: 600;
    padding: 15px;
}

.product-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.product-table tr:hover {
    background: #f7fafc;
}

.series-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.series-liquid {
    background: #c9a76c;
    color: #fff;
}

.series-freeze {
    background: #13294b;
    color: #fff;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #13294b 0%, #2d3748 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #c9a76c;
}

.spec-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.spec-table th {
    background: #13294b;
    color: #fff;
    font-weight: 600;
    padding: 15px;
}

.spec-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #13294b;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb-item.active {
    color: #c9a76c;
}

/* Page Header */
.page-header {
    padding: 60px 0;
}

/* Product Card Image */
.product-card-image {
    height: 200px;
    background: linear-gradient(135deg, #13294b 0%, #2d3748 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
}

.category-section {
    margin-bottom: 40px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: #13294b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #13294b;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-content {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Utility */
.text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}

.text-muted {
    color: #718096 !important;
}
