:root {
    --bg-dark: #141414;
    --bg-darker: #0f0f0f;
    --bg-light: #f6f5f1;
    --bg-beige: #e8e2d6;
    --color-gold: #ceb479;
    --color-gold-hover: #e0c88f;
    --color-white: #ffffff;
    --color-gray: #a3a3a3;
    --color-black: #141414;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, .subtitle, .title, .logo-text {
    font-family: var(--font-heading);
    font-weight: 400;
}

.gold { color: var(--color-gold); }
.black { color: var(--color-black); }
.black-light { color: #333; }

/* Topbar */
.topbar {
    background-color: var(--bg-darker);
    color: var(--color-gold);
    text-align: center;
    padding: 10px 0;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(206, 180, 121, 0.2);
}

/* Header */
.header {
    background-color: var(--bg-dark);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.currency-lang {
    font-size: 12px;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-lang span {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.currency-lang span:hover {
    color: var(--color-white);
}

.nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

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

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

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

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    color: var(--color-gold);
    font-size: 18px;
    letter-spacing: 3px;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

.icon-link {
    color: var(--color-white);
    position: relative;
}

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

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

.btn-outline-dark:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at center, #1f1f1f 0%, #141414 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.hero-content .title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-content .description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    flex: 1.2;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid rgba(206, 180, 121, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Benefits Section */
.benefits {
    border-top: 1px solid rgba(206, 180, 121, 0.2);
    border-bottom: 1px solid rgba(206, 180, 121, 0.2);
    padding: 40px 0;
    background-color: var(--bg-darker);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--color-gold);
}

.benefit-text p {
    font-size: 12px;
    color: #aaa;
}

/* Categories */
.categories {
    padding: 0; /* Flush with sections */
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.category-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: block;
    border-right: 1px solid rgba(206, 180, 121, 0.2);
}

.category-card:last-child {
    border-right: none;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    transition: background 0.3s ease;
}

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

.category-card:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
}

.category-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-title {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Popular Products */
.popular-products {
    background-color: var(--bg-light);
    color: var(--color-black);
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header .title {
    font-size: 32px;
    letter-spacing: 2px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    font-weight: 500;
}

.view-all:hover {
    color: var(--color-gold);
}

.products-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-btn {
    background: none;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-black);
    transition: var(--transition);
    background-color: var(--color-white);
}

.slider-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    flex: 1;
}

.product-card {
    background: transparent;
}

.product-image-wrapper {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

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

.product-info {
    text-align: left;
}

.product-title {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-body);
}

.product-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 14px;
    height: 14px;
    color: #ddd;
}

.star.filled {
    color: var(--color-gold);
    fill: var(--color-gold);
}

.rating-count {
    font-size: 12px;
    color: #888;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--color-black);
}

/* About Section */
.about-section {
    background-color: var(--bg-beige);
    padding: 0;
    color: var(--color-black);
}

.about-container {
    display: flex;
    align-items: center;
}

.about-image-wrapper {
    flex: 1;
}

.about-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-content {
    flex: 1;
    padding: 80px 100px;
}

.about-content .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.about-content .title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-content .description {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Ramadan Collection Section */
.ramadan-section {
    background-color: #111;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.ramadan-content {
    flex: 1;
    z-index: 2;
}

.ramadan-content .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.ramadan-content .title {
    font-size: 42px;
    margin-bottom: 30px;
}

.ramadan-content .description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
}

.ramadan-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.ramadan-image {
    width: 80%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 0 50px rgba(206, 180, 121, 0.2);
}

/* Instagram Section */
.instagram-section {
    background-color: var(--bg-light);
    color: var(--color-black);
    padding: 80px 0 0;
    text-align: center;
}

.instagram-header {
    margin-bottom: 40px;
}

.instagram-handle {
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.instagram-title {
    font-size: 28px;
    letter-spacing: 2px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.insta-item {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.insta-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

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

.insta-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.insta-item:hover::after {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #171717;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    align-items: flex-start;
    margin-bottom: 20px;
}

.brand-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 30px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-white);
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.footer-title {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--color-gold);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #aaa;
    font-size: 14px;
}

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

.newsletter-col p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 30px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 15px;
    color: var(--color-white);
    outline: none;
    font-family: var(--font-body);
}

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

.newsletter-form button {
    background: var(--color-gold);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    color: var(--color-black);
    transition: var(--transition);
}

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

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-icon {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    opacity: 0.5;
}

.mastercard {
    display: flex;
}
.mc-red {
    width: 15px; height: 15px; border-radius: 50%; background: #eb001b; z-index: 1; margin-right: -5px;
}
.mc-yellow {
    width: 15px; height: 15px; border-radius: 50%; background: #f79e1b;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    background-color: var(--bg-darker);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-links a:hover {
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-buttons { justify-content: center; }
    .benefits-container { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { flex-direction: column; }
    .about-content { padding: 50px 20px; text-align: center; }
    .ramadan-container { flex-direction: column; text-align: center; gap: 40px; }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 20px; }
    .nav { flex-wrap: wrap; justify-content: center; }
    .categories-grid { grid-template-columns: 1fr; }
    .category-card { border-right: none; border-bottom: 1px solid rgba(206, 180, 121, 0.2); }
    .products-grid { grid-template-columns: 1fr; }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .payment-methods { justify-content: center; }
    .footer-bottom-container { flex-direction: column; gap: 15px; }
}
