/* RESET & VARIABLES */
:root {
    --font-primary: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --color-dark: #2d2d2d;
    --color-gray: #939393;
    --color-gold: #d3b24d;
    --color-bg-light: #ffffff;
    --color-bg-alt: #f9f9f9;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 26px;
    font-weight: 100;
    letter-spacing: 2px;
    color: var(--color-dark);
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-dark);
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.cart-btn {
    position: relative;
    font-size: 20px;
    color: var(--color-dark);
    padding: 5px;
    transition: var(--transition-smooth);
}

.cart-btn:hover {
    color: var(--color-gold);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--color-gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: #e5e3df;
    background-image: linear-gradient(135deg, #f3f1ec 0%, #e2ded7 100%), url('https://www.cssigniter.com/elementor/wp-content/uploads/2017/12/export_loge_hero.jpg');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(240deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.25) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
}

.hero-content {
    text-align: right;
    max-width: 500px;
}

.hero-brand {
    font-size: 30px;
    font-weight: 100;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--color-gray);
    margin-bottom: 5px;
}

.hero-title {
    font-size: 50px;
    font-weight: 100;
    letter-spacing: -2px;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--color-dark);
    background: transparent;
    border-bottom: 3px solid var(--color-gold);
    padding: 0 0 12px 0;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    color: var(--color-gold);
    letter-spacing: 2.2px;
}

/* COLLECTION SECTIONS */
.collection-section {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-dark);
}

.accent-divider {
    width: 3%;
    min-width: 35px;
    height: 2px;
    background-color: var(--color-gold);
    margin-top: 10px;
}

.insta-handle {
    font-size: 14px;
    color: var(--color-gray);
    letter-spacing: 1px;
    margin-top: 5px;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: transparent;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 745 / 1024;
    background-color: #eceae6;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 45, 45, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.btn-quick-view, .btn-add-cart {
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.btn-quick-view {
    background: #ffffff;
    color: var(--color-dark);
}

.btn-quick-view:hover {
    background: var(--color-dark);
    color: #ffffff;
}

.btn-add-cart {
    background: var(--color-gold);
    color: #ffffff;
}

.btn-add-cart:hover {
    background: #b5983c;
}

.product-info {
    padding: 20px 0;
    text-align: center;
}

.product-tag {
    font-size: 13px;
    font-weight: 300;
    color: var(--color-gray);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-tag i {
    color: var(--color-gold);
    font-size: 10px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.product-price {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-dark);
}

/* NEWSLETTER SECTION */
.newsletter-section {
    position: relative;
    padding: 120px 0;
    background-color: #eae7e1;
    background-image: linear-gradient(135deg, #f7f5f0 0%, #dfdbd3 100%), url('https://www.cssigniter.com/elementor/wp-content/uploads/2017/12/export_loge_newsletter2.jpg');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.newsletter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.newsletter-box {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.newsletter-subtitle {
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--color-gray);
    margin-bottom: 5px;
}

.newsletter-title {
    font-size: 50px;
    font-weight: 100;
    letter-spacing: -2px;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.newsletter-form .input-group {
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
}

/* INSTAGRAM GRID */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #eceae6;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.overlay-icon {
    position: absolute;
    inset: 0;
    background: rgba(211, 178, 77, 0.7);
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:hover .overlay-icon {
    opacity: 1;
}

/* FOOTER */
.footer {
    padding: 80px 0;
    background-color: var(--color-bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-dark);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.footer-info {
    text-align: right;
}

.footer-brand {
    font-size: 30px;
    font-weight: 100;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.footer-text {
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gray);
    margin-bottom: 3px;
}

.footer-text a:hover {
    color: var(--color-gold);
}

/* SHOPPING CART DRAWER */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.cart-drawer.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-drawer-btn {
    font-size: 20px;
    color: var(--color-dark);
}

.cart-drawer-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart-msg {
    color: var(--color-gray);
    text-align: center;
    margin-top: 50px;
}

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

.cart-item-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    background-color: #eee;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.cart-item-price {
    font-size: 13px;
    color: var(--color-gray);
}

.cart-item-remove {
    color: #ff4d4d;
    cursor: pointer;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--color-gold);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    transition: var(--transition-smooth);
}

.btn-checkout:hover {
    background: var(--color-dark);
}

/* QUICK VIEW MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-grid img {
    width: 100%;
    aspect-ratio: 745/1024;
    object-fit: cover;
    background-color: #eee;
}

.modal-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-dark);
    color: #fff;
    padding: 15px 25px;
    font-size: 14px;
    letter-spacing: 1px;
    border-left: 4px solid var(--color-gold);
    z-index: 4000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content {
        text-align: center;
    }
    .hero-container {
        justify-content: center;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-info {
        text-align: center;
    }
    .modal-grid {
        grid-template-columns: 1fr;
    }
}
