:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-grey: #f5f5f5;
    --text-color: #1a1a1a;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: var(--transition-smooth);
}

.glass-header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.nav-left {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
    /* Center the links */
}

.nav-right {
    display: flex;
    gap: 30px;
    flex: 1;
    /* Match flex to balance */
    justify-content: flex-end;
}

.nav-logo {
    flex: 0;
    margin-right: auto;
    /* Push to left? No, let flex handle it */
    min-width: 150px;
}

/* Logo Styling */
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
}

.logo-en {
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-serif);
    font-size: 26px;
    /* Slightly smaller for balance */
    letter-spacing: 5px;
    font-weight: 400;
    text-transform: uppercase;
}

.logo-ar {
    font-family: 'Amiri', serif;
    font-size: 16px;
    color: var(--primary-color);
    margin-top: 2px;
    letter-spacing: 0;
}

/* Icons */
.icon-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
}

.icon-link:hover {
    opacity: 0.6;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 10px;
    font-family: var(--font-sans);
    background: transparent;
    color: var(--primary-color);
}

.nav-logo img {
    height: 60px;
    filter: brightness(0);
    /* Black logo */
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

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

/* --- Hero --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 12vh;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0;
    transform: scale(1);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--secondary-color);
    z-index: 10;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 140px;
    font-weight: 300;
    letter-spacing: 20px;
    margin-bottom: 0px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1.8s forwards 0.5s;
    line-height: 1;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1.8s forwards 0.8s;
    font-weight: 300;
}

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

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

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: var(--transition-smooth);
    border: 1px solid var(--secondary-color);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 3px;
}

.hero-scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--secondary-color);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* --- Featured --- */
.featured-products {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 5px;
}

.section-line {
    width: 50px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 20px auto;
}

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

.product-card {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    background-color: var(--accent-grey);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-actions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-add {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    cursor: pointer;
}

.product-info {
    margin-top: 20px;
    text-align: center;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 5px;
}

.product-price {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

/* --- Footer --- */
footer {
    background-color: var(--accent-grey);
    padding: 100px 40px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-section h4 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.newsletter-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 0;
}

.newsletter-form input {
    padding: 15px 25px;
    width: 300px;
    border: 1px solid #ddd;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
}