:root {
    --primary-color: #000;
    --accent-color: #10408d;
    --text-color: #1a1a1a;
    --text-light: #666;
    --bg-light: #f4f4f4;
    --white: #fff;
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    opacity: 0;
    will-change: transform, opacity;
}

.animate-up.visible {
    animation: fadeInUp 1s forwards;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1500;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
}

.header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 60px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links.nav-left {
    justify-content: flex-start;
}

.nav-links.nav-right {
    justify-content: flex-end;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.logo img {
    height: 35px;
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.cart-btn {
    color: var(--accent-color);
}

.menu-icon {
    display: none;
    font-size: 22px;
}

/* Hero Section */
.hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 10s linear;
    image-rendering: -webkit-optimize-contrast;
}

.hero:hover .hero-image img {
    transform: scale(1);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 30px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn {
    padding: 18px 45px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.btn-full {
    width: 100%;
}

/* Products Section */
.products-section {
    padding: 100px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-card {
    transition: transform 0.5s ease;
}

.product-image {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(101%);
    transition: var(--transition-smooth);
    z-index: 2;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.btn-add-cart {
    width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-size: 11px;
    padding: 15px;
    font-weight: 700;
}

.product-info {
    padding-top: 20px;
    text-align: center;
}

.product-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: #333;
}

.product-price {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 700;
}

/* Collections Banner */
.collections-section {
    padding: 0 0 100px;
}

.collections-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 60px;
}

.banner-item {
    height: 650px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.banner-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.banner-item:hover .banner-img {
    transform: scale(1.05);
}

.banner-text {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: var(--white);
    z-index: 1;
}

.banner-text h3 {
    font-size: 32px;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Lifestyle */
.lifestyle-section {
    height: 75vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.lifestyle-content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 10px;
    margin-bottom: 20px;
}

/* Brand Story */
.brand-story {
    padding: 140px 60px;
    background: var(--bg-light);
    text-align: center;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 36px;
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.story-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Mission Section */
.mission-section {
    padding: 120px 60px;
    background: var(--white);
    max-width: 1400px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.mission-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 40px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 60px 40px;
    text-align: center;
}

.footer-center {
    max-width: 700px;
    margin: 0 auto;
}

.footer-center h4 {
    letter-spacing: 5px;
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-center p {
    color: #888;
    margin-bottom: 40px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 60px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 15px 0;
    color: var(--white);
    font-size: 16px;
    outline: none;
    transition: var(--transition-smooth);
}

.newsletter-form input:focus {
    border-color: var(--white);
}

.newsletter-form button {
    background: var(--white);
    color: var(--primary-color);
    padding: 0 40px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 2px;
    height: 55px;
    min-width: 180px;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 40px;
    font-size: 12px;
    color: #444;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--white);
    width: 100%;
    max-width: 1100px;
    padding: 80px 60px;
    border-radius: 2px;
    z-index: 1;
    animation: modalIn 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #ccc;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-header h2 {
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 80px;
    font-size: 36px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.info-item i {
    font-size: 45px;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.info-item h3 {
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.info-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.modal-footer {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
    font-style: italic;
    color: var(--text-light);
}

/* Sidebar Cart Premium */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -480px;
    width: 480px;
    height: 100vh;
    background: var(--white);
    z-index: 2500;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-header h3 {
    font-size: 22px;
    letter-spacing: 4px;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 40px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item img {
    width: 100px;
    height: 130px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-light);
}

.remove-item {
    background: none;
    border: none;
    font-size: 12px;
    color: #cc0000;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 15px;
}

.cart-footer {
    padding: 40px;
    border-top: 1px solid #f5f5f5;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.overlay.show {
    display: block;
    opacity: 1;
}

/* Loader */
.loader {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.btn-primary .loader {
    border-top-color: var(--primary-color);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

.empty-message {
    text-align: center;
    color: #aaa;
    margin-top: 60px;
    font-size: 15px;
}

/* Toast */
#toast-container {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 9999;
}

.toast {
    background: var(--white);
    color: var(--primary-color);
    padding: 22px 35px;
    margin-bottom: 15px;
    border-radius: 2px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 15px;
    border-left: 5px solid var(--accent-color);
    animation: toastIn 0.5s forwards, toastOut 0.5s forwards 3s;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(60px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .header-main {
        padding: 20px 30px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-banner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-icon {
        display: block;
        grid-column: 1;
    }

    .logo {
        grid-column: 2;
    }

    .nav-right {
        grid-column: 3;
        display: flex;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .products-section,
    .brand-story,
    .mission-section,
    .footer {
        padding: 80px 20px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .lifestyle-section {
        height: 60vh;
    }
}