/* Professional Design System - Leathers Jackets */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: #c5a059;
    /* Gold/Bronze for premium feel */
    --text-light: #f5f5f5;
    --text-gray: #a3a3a3;
    --border-color: #333;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
    --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 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-light);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Header */
header {
    height: var(--header-height);
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icon {
    color: var(--text-light);
    font-size: 20px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    color: var(--text-gray);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-gray);
}

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

.breadcrumbs span {
    margin: 0 10px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card .btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    width: 80%;
    text-align: center;
}

.product-card:hover .btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.product-price {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 16px;
}

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery-main {
    background: var(--secondary-color);
    margin-bottom: 20px;
    aspect-ratio: 3/4;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb {
    aspect-ratio: 1;
    background: var(--secondary-color);
    cursor: pointer;
    border: 1px solid transparent;
}

.thumb.active {
    border-color: var(--accent-color);
}

.size-selector {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.size-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Cart */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
    font-weight: 500;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background: var(--secondary-color);
}

.qty-input {
    width: 50px;
    padding: 5px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    text-align: center;
}

.cart-summary {
    background: var(--secondary-color);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 14px;
}

/* Testimonials */
.testimonial-card {
    background: var(--secondary-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}


/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/hero-image.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Mobile & Tablet Optimization for Hero */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        /* Reduce height on mobile */
        min-height: 400px;
        background-attachment: scroll;
        /* Fix background on mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Smaller font size */
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        /* Full width buttons */
        margin-left: 0 !important;
        /* Reset margin */
        text-align: center;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features/About Preview */
.features {
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--accent-color);
}

/* EEAT Article Section */
.leather-guide {
    background-image: url('../assets/images/background-pattern.png');
    background-repeat: repeat;
}

.article-content {
    background: rgba(26, 26, 26, 0.95);
    padding: 60px;
    border: 1px solid var(--border-color);
}

.article-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.article-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* FAQ Section */
.faq-section {
    background-color: var(--secondary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--primary-color);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.faq-item p {
    color: var(--text-gray);
    font-size: 15px;
}

/* Footer */
footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 14px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hamburger-menu {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 24px;
        margin: 15px 0;
    }

    .section-padding {
        padding: 60px 0;
    }

    .article-content {
        padding: 30px;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-gray);
    font-size: 32px;
    color: var(--text-light);
    padding: 20px 0;
    font-family: 'Playfair Display', serif;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.close-search {
    position: absolute;
    top: -40px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 40px;
    cursor: pointer;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3000;
    box-shadow: var(--shadow-lg);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Enhanced Product Card Styles */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Allow clicking the link underneath */
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    pointer-events: auto;
    /* Enable clicking the button */
}

.btn-quick-view:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Filter Styles */
.shop-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-select {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn,
.pagination-page {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background: var(--secondary-color);
    color: var(--text-light);
    cursor: pointer;
    border-radius: 4px;
}

.pagination-page.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}