/* ===========================
   RESET & BASE STYLES
   =========================== */

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

:root {
    --primary-color: #c9902c;
    --primary-dark: #a67624;
    --gold: #c9902c;
    --gold-light: #d4a03a;
    --gold-dark: #a67624;
    --black: #05060b;
    --black-light: #1a1b20;
    --text-dark: #05060b;
    --text-light: #6b7280;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --accent-color: #c9902c;
    --success-color: #c9902c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(201, 144, 44, 0.4);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

/* Scrolled state - white background with dark text */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(201, 144, 44, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(201, 144, 44, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-brand h1 {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background-color: var(--text-dark);
}

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

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

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

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: url('../../banner/banner.webp') center center no-repeat;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    padding: 90px 20px 60px;
}



.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #c9902c 0%, #d4a03a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--black);
    font-weight: 700;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 15px rgba(201, 144, 44, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 144, 44, 0.5);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.8;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .highlights {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.highlight-card {
    text-align: center;
    padding: 35px 30px;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(201, 144, 44, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(201, 144, 44, 0.2);
    border-color: rgba(201, 144, 44, 0.3);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================
   CATALOG SECTION
   =========================== */

.catalog {
    background: linear-gradient(180deg, var(--bg-light) 0%, #f8f8f8 100%);
}

.catalog-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 144, 44, 0.1);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 28px;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: capitalize;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 144, 44, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--black);
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 144, 44, 0.4);
    transform: scale(1.05);
}

.product-count {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    contain: layout style paint;
    border: 1px solid rgba(201, 144, 44, 0.1);
}

.product-card * {
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(201, 144, 44, 0.25), 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 144, 44, 0.3);
    will-change: transform;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background-color: var(--bg-light);
    transition: opacity 0.3s ease;
    cursor: pointer;
    opacity: 0;
    position: relative;
    z-index: 2;
}

.product-image.loaded {
    opacity: 1;
}

.product-image.loaded~.image-placeholder {
    display: none;
}

.image-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(201, 144, 44, 0.6);
}

.product-info {
    padding: 20px;
    transition: all 0.3s ease;
}

.product-card:hover .product-info {
    background: linear-gradient(180deg, transparent 0%, rgba(201, 144, 44, 0.05) 100%);
}

.product-brand {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.loading,
.error,
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.error {
    color: #ef4444;
}

/* See More Button Container */
.see-more-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.see-more-btn {
    padding: 16px 50px;
    font-size: 1.05rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(201, 144, 44, 0.3);
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 144, 44, 0.5);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    background: linear-gradient(180deg, #f8f8f8 0%, var(--bg-white) 100%);
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 144, 44, 0.1);
}

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

.contact-item h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transition: width 0.3s ease;
}

.contact-item a:hover::after {
    width: 100%;
}

.contact-item a:hover {
    color: var(--gold-light);
}

.contact-note {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 20px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: var(--black);
    color: white;
    padding: 40px 0 20px;
    border-top: 3px solid var(--gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--gold);
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

.footer-tagline {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.footer-description {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 350px;
}

.footer-powered {
    font-size: 0.85rem !important;
}

.footer-powered a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-powered a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: auto;
        max-height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(201, 144, 44, 0.2);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        color: var(--text-dark) !important;
        text-shadow: none !important;
        font-size: 1.1rem;
        display: block;
    }

    .navbar:not(.scrolled) .nav-menu {
        background: rgba(5, 6, 11, 0.98);
    }

    .navbar:not(.scrolled) .nav-link {
        color: #ffffff !important;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .hero {
        background-image: url('../../banner/mobile.webp');
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-color: var(--black);
        min-height: 60vh;
        height: auto;
    }

    .hero-logo {
        width: 120px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-card {
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .nav-logo {
        height: 35px;
    }

    .hero-logo {
        width: 100px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero {
        background-image: url('../../banner/mobile.webp');
        min-height: 50vh;
        background-size: cover;
        background-position: center center;
        align-items: center;
        padding: 90px 20px 40px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    section {
        padding: 60px 0;
    }

    .see-more-btn {
        padding: 14px 40px;
        font-size: 0.95rem;
    }
}

/* ===========================
   ADDITIONAL ENHANCEMENTS
   =========================== */

.product-card:hover .product-price {
    color: var(--gold-light);
}

.hero-logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.nav-logo {
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1);
}

/* ===========================
   PRODUCT DETAIL MODAL
   =========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 50px auto;
    max-width: 1100px;
    border-radius: 12px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.modal-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modal-main-image.loaded {
    opacity: 1;
    animation: none;
    background: var(--bg-light);
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.modal-thumbnail:hover {
    border-color: var(--gold);
    transform: scale(1.05);
}

.modal-thumbnail.active {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(201, 144, 44, 0.4);
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-brand {
    font-size: 0.95rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.modal-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
}

.modal-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.modal-sizes h4,
.modal-notes h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.size-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-badge {
    padding: 8px 16px;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.size-badge:hover {
    border-color: var(--gold);
    background-color: rgba(201, 144, 44, 0.1);
}

.modal-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-notes li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.modal-notes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Modal Responsive */
@media (max-width: 968px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .modal-main-image {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 20px;
    }

    .modal-main-image {
        height: 300px;
    }

    .modal-name {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.5rem;
    }
}