@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --gold-primary: #D4A847;
    --gold-light: #F3D078;
    --gold-dark: #A67C1E;
    --black-primary: #0F0F0F;
    --black-soft: #181818;
    --black-card: #202020;
    --black-input: #121212;
    --white-pure: #FFFFFF;
    --white-off: #F5F0E8;
    --text-light: #F5F0E8;
    --text-muted: #A0988A;
    --text-dark: #1A1A1A;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20ba59;
    --call-blue: #3498db;
    --danger-red: #e74c3c;
    --danger-hover: #c0392b;
    --gold-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    --dark-gradient: linear-gradient(180deg, #181818 0%, #0F0F0F 100%);
    
    /* Layout & Spacing */
    --font-family: 'Cairo', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    --border-gold: 1px solid rgba(212, 168, 71, 0.2);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--black-primary);
    color: var(--text-light);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: var(--font-family);
    outline: none;
    border: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(24, 24, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-gold);
    transition: var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
}

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

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-normal);
}

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

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

.nav-link.active {
    color: var(--gold-primary);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header Search Bar */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: var(--black-input);
    border: var(--border-gold);
    color: var(--text-light);
    padding: 8px 35px 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    width: 200px;
    transition: var(--transition-normal);
}

.search-input:focus {
    width: 280px;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 168, 71, 0.1);
}

.search-icon {
    position: absolute;
    right: 12px;
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.9rem;
}

/* Cart Icon Badge */
.cart-btn {
    position: relative;
    font-size: 1.3rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-btn:hover {
    color: var(--gold-primary);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--gold-gradient);
    color: var(--black-primary);
    font-weight: 700;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(212, 168, 71, 0.08) 0%, transparent 40%), var(--dark-gradient);
    border-bottom: var(--border-gold);
    overflow: hidden;
    padding: 50px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 168, 71, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--black-primary);
    box-shadow: 0 4px 15px rgba(212, 168, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 168, 71, 0.5);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
}

.btn-secondary {
    background: transparent;
    border: var(--border-gold);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: rgba(212, 168, 71, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.btn-danger {
    background: var(--danger-red);
    color: var(--white-pure);
}

.btn-danger:hover {
    background: var(--danger-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--white-pure);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.2s ease forwards;
}

.hero-image-bg {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(212, 168, 71, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: var(--border-gold);
    transform: rotate(-2deg);
    transition: var(--transition-slow);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.03);
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--gold-primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 25px rgba(212, 168, 71, 0.15);
    background: linear-gradient(180deg, var(--black-card) 0%, rgba(212, 168, 71, 0.05) 100%);
}

.category-card.active {
    border-color: var(--gold-primary);
    background: linear-gradient(180deg, var(--black-card) 0%, rgba(212, 168, 71, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(212, 168, 71, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    transition: var(--transition-normal);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--gold-light);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Products Section & Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(212, 168, 71, 0.1);
}

.product-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background: #1e1e1e;
    overflow: hidden;
    border-bottom: var(--border-gold);
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(5px);
    border: var(--border-gold);
    color: var(--gold-primary);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-id {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white-pure);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
    line-height: 1.35;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.product-actions .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
    flex: 1;
}

/* Products Page Layout (Sidebar + Grid) */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.sidebar-filters {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-md);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold-primary);
    border-bottom: 1px solid rgba(212, 168, 71, 0.1);
    padding-bottom: 8px;
}

.category-filter-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    color: var(--text-light);
    width: 100%;
    text-align: right;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(212, 168, 71, 0.08);
    color: var(--gold-primary);
}

.filter-btn.active {
    background: var(--gold-gradient);
    color: var(--black-primary);
    font-weight: 700;
}

.filter-count {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.filter-btn.active .filter-count {
    background: rgba(0, 0, 0, 0.15);
    color: var(--black-primary);
}

.search-filter-box {
    position: relative;
}

.search-filter-input {
    width: 100%;
    background: var(--black-input);
    border: var(--border-gold);
    color: var(--text-light);
    padding: 10px 40px 10px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
}

.search-filter-input:focus {
    border-color: var(--gold-primary);
}

.search-filter-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.no-products {
    text-align: center;
    padding: 60px 0;
    grid-column: 1 / -1;
}

.no-products-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-products-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.product-gallery {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: var(--border-gold);
    background: var(--black-card);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.detail-breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.breadcrumb-separator {
    color: var(--gold-primary);
}

.detail-id {
    font-size: 1rem;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.detail-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white-pure);
    margin-bottom: 15px;
}

.detail-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 71, 0.1);
    color: var(--gold-primary);
    border: var(--border-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 25px;
}

.detail-desc-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gold-primary);
    border-bottom: 1px solid rgba(212, 168, 71, 0.1);
    padding-bottom: 8px;
}

.detail-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.qty-title {
    font-weight: 700;
    font-size: 1rem;
}

.qty-wrapper {
    display: flex;
    align-items: center;
    border: var(--border-gold);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--black-card);
}

.qty-btn {
    background: transparent;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: rgba(212, 168, 71, 0.15);
    color: var(--gold-primary);
}

.qty-input {
    width: 50px;
    height: 40px;
    background: transparent;
    color: var(--white-pure);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.detail-actions {
    display: flex;
    gap: 15px;
}

.detail-actions .btn {
    flex: 1;
    padding: 15px;
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 40px;
    margin-top: 30px;
}

.cart-table-container {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.cart-table th,
.cart-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 168, 71, 0.05);
}

.cart-table th {
    background: rgba(212, 168, 71, 0.05);
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1rem;
}

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

.cart-item-img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: var(--border-gold);
}

.cart-item-name {
    font-weight: 700;
    color: var(--white-pure);
}

.cart-item-id {
    font-size: 0.8rem;
    color: var(--gold-primary);
}

.delete-item-btn {
    background: transparent;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 5px;
}

.delete-item-btn:hover {
    color: var(--danger-red);
    transform: scale(1.1);
}

.cart-summary {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-md);
    padding: 30px;
    height: fit-content;
    box-shadow: var(--shadow-md);
}

.summary-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 168, 71, 0.1);
    padding-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    margin-bottom: 30px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white-pure);
    border-top: 1px dashed rgba(212, 168, 71, 0.2);
    padding-top: 15px;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-actions .btn {
    width: 100%;
    padding: 14px;
}

.cart-empty {
    text-align: center;
    padding: 80px 0;
}

.cart-empty-icon {
    font-size: 5rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.cart-empty-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* About Us Section */
.about-section {
    background: radial-gradient(circle at 90% 80%, rgba(212, 168, 71, 0.05) 0%, transparent 40%), var(--black-soft);
    border-top: var(--border-gold);
    border-bottom: var(--border-gold);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white-pure);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    color: var(--gold-primary);
    font-size: 1.3rem;
}

.feature-title {
    font-weight: 700;
    font-size: 1rem;
}

.about-img-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: var(--border-gold);
    box-shadow: var(--shadow-lg);
}

/* Google Maps Section */
.maps-section {
    background: var(--black-primary);
}

.map-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: 24px;
    align-items: stretch;
}

.branches-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.branch-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.branch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 71, 0.55);
    box-shadow: var(--shadow-lg);
}

.branch-card.active {
    background: linear-gradient(135deg, rgba(212, 168, 71, 0.16), rgba(212, 168, 71, 0.04));
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 1px rgba(212, 168, 71, 0.3), var(--shadow-lg);
}

.branch-card-title {
    margin: 0;
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.branch-card-address,
.branch-card-phone {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.branch-card-address i,
.branch-card-phone i {
    margin-left: 8px;
}

.branch-card-phone a {
    color: var(--text-color);
    text-decoration: none;
}

.branch-card-phone a:hover {
    color: var(--gold-primary);
}

.map-container {
    width: 100%;
    min-height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: var(--border-gold);
    box-shadow: var(--shadow-lg);
    background: var(--black-card);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    filter: invert(90%) hue-rotate(180deg); /* Sleek dark maps effect */
}

/* Footer Section */
footer {
    background: var(--black-soft);
    border-top: var(--border-gold);
    padding: 70px 0 30px 0;
    color: var(--text-light);
}

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

.footer-logo-desc p {
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    max-width: 320px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--black-card);
    border: var(--border-gold);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--gold-gradient);
    color: var(--black-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 168, 71, 0.3);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-right: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-item-icon {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 168, 71, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.developer {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.developer span {
    color: var(--gold-primary);
    font-weight: 700;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white-pure);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.float-whatsapp {
    background-color: var(--whatsapp-green);
}

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

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: -60px; /* Hidden offscreen initially */
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-sm);
    background: var(--black-card);
    border: var(--border-gold);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.scroll-top-btn.visible {
    right: 30px;
}

.scroll-top-btn:hover {
    background: var(--gold-gradient);
    color: var(--black-primary);
    transform: translateY(-5px);
}

/* Modals & Popups (Login) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 450px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(-30px);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    background: var(--black-input);
    border: var(--border-gold);
    border-radius: var(--border-radius-sm);
    padding: 12px 15px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 168, 71, 0.15);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

/* Admin Dashboard Layout */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.admin-sidebar {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-md);
    padding: 25px 0;
    height: fit-content;
}

.admin-nav {
    display: flex;
    flex-direction: column;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    font-size: 1.05rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    border-right: 4px solid transparent;
}

.admin-nav-item:hover {
    background: rgba(212, 168, 71, 0.05);
    color: var(--gold-primary);
}

.admin-nav-item.active {
    background: rgba(212, 168, 71, 0.08);
    color: var(--gold-primary);
    border-right-color: var(--gold-primary);
    font-weight: 700;
}

.admin-nav-icon {
    font-size: 1.2rem;
}

.admin-content-section {
    display: none;
}

.admin-content-section.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

/* Admin Grid Dashboard Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-md);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 168, 71, 0.08);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Admin Login Wrapper */
.admin-login-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    background: var(--black-card);
    border: var(--border-gold);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.admin-login-logo {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.admin-login-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Admin Actions Header */
.admin-sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-sec-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white-pure);
}

/* Image Upload Styling */
.image-upload-wrapper {
    border: 2px dashed rgba(212, 168, 71, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: var(--black-input);
    transition: var(--transition-fast);
}

.image-upload-wrapper:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 168, 71, 0.02);
}

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

.upload-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.upload-text span {
    color: var(--gold-primary);
    font-weight: 700;
}

.image-preview {
    margin-top: 15px;
    max-height: 200px;
    border-radius: var(--border-radius-sm);
    border: var(--border-gold);
    object-fit: contain;
    display: none;
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .products-layout,
    .admin-layout,
    .map-layout {
        grid-template-columns: 1fr;
    }
    
    .map-container,
    .map-container iframe {
        min-height: 420px;
    }
    
    .sidebar-filters {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: var(--black-soft);
        flex-direction: column;
        padding: 50px 0;
        gap: 30px;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: var(--border-gold);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .search-box {
        display: none; /* Hide header search on mobile, can search in shop page */
    }
    
    .hero-grid,
    .about-grid,
    .product-detail-layout,
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .hero {
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        margin: 0 auto 30px auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero-image {
        max-width: 80%;
        transform: none;
    }
    
    .hero-image:hover {
        transform: scale(1.02);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .branch-card {
        padding: 18px;
    }
    
    .map-container,
    .map-container iframe {
        min-height: 360px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cart-table th, .cart-table td {
        padding: 10px;
    }
    
    .cart-item-img {
        display: none;
    }
}
