/* ========================================
   UVIA Coffee - Main Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-dark: #1a1008;
    --primary-brown: #2c1810;
    --secondary-brown: #4a2c1a;
    --beige: #f5efe6;
    --cream: #faf6f0;
    --gold: #c9a96e;
    --gold-light: #e8d5b5;
    --white: #ffffff;
    --text-dark: #1a1008;
    --text-muted: #6b5a4a;
    --shadow: 0 8px 32px rgba(26, 16, 8, 0.12);
    --shadow-light: 0 4px 16px rgba(26, 16, 8, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-arabic: 'IBM Plex Sans Arabic', sans-serif;
    --font-latin: 'Manrope', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-arabic);
    background-color: var(--beige);
    color: var(--text-dark);
    direction: rtl;
    line-height: 1.6;
    padding-bottom: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--beige);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

/* ========================================
   Bottom Navigation
   ======================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 max(env(safe-area-inset-bottom, 0px), 8px) 0;
    box-shadow: 0 -4px 20px rgba(26, 16, 8, 0.08);
    border-top: 1px solid rgba(201, 169, 110, 0.15);
    z-index: 1000;
    transition: var(--transition);
    height: 72px;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    min-width: 56px;
    cursor: pointer;
}

.bottom-nav .nav-item .nav-icon {
    position: relative;
    font-size: 22px;
    transition: var(--transition);
}

.bottom-nav .nav-item .nav-label {
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.bottom-nav .nav-item.active {
    color: var(--primary-brown);
}

.bottom-nav .nav-item.active .nav-icon {
    color: var(--gold);
    transform: translateY(-2px);
}

.bottom-nav .nav-item.active .nav-label {
    color: var(--gold);
    font-weight: 600;
}

.bottom-nav .nav-item:hover {
    color: var(--primary-brown);
}

/* Badge */
.badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(201, 169, 110, 0.4);
    font-family: var(--font-latin);
}

.badge.hidden {
    transform: scale(0);
    opacity: 0;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 24px 60px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-brown) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--beige) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.hero-logo {
    font-size: 14px;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.7;
}

.hero-title {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-title .highlight {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 22px);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: url(assets/images/logo.png);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    position: relative;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-arabic);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
    background: #b8925a;
}

.btn-primary i {
    font-size: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0px 32px;
    background: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-arabic);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}.btn-secondary i{
    margin-top: 10px;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    padding: 40px 20px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('../images/bannar_menu.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    text-align: center;
    z-index: 1;
}

.page-header p {
    color: var(--gold-light);
    font-size: 14px;
    margin-top: 4px;
    text-align: center;
    z-index: 1;
}

/* ========================================
   Categories Scroll
   ======================================== */

.categories-scroll {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    background: var(--white);
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.categories-scroll::-webkit-scrollbar {
    height: 2px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.category-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    background: var(--beige);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-arabic);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.category-btn i {
    margin-left: 6px;
    font-size: 13px;
}

.category-btn:hover {
    background: var(--gold-light);
    color: var(--primary-brown);
}

.category-btn.active {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}

/* ========================================
   Products Grid
   ======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 20px 20px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card .product-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-image .placeholder-icon {
    font-size: 40px;
    color: var(--gold-light);
    opacity: 0.5;
}

.product-card .product-image .unavailable-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(26, 16, 8, 0.85);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.product-card .product-info {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.product-card .product-name-en {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-latin);
    direction: ltr;
    display: block;
    margin-bottom: 4px;
}

.product-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 6px;
}

.product-card .product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-brown);
}

.product-card .product-price span {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}

.product-card .product-calories {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card .product-calories i {
    font-size: 12px;
}

.product-card .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 8px;
}

.product-card .tag {
    padding: 2px 10px;
    background: var(--beige);
    border-radius: 50px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.product-card .product-description {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 4px 0 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-add-cart {
    padding: 6px 14px;
    background: var(--primary-brown);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-arabic);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-add-cart:hover {
    background: var(--gold);
    transform: scale(1.02);
}

.btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.btn-add-cart:disabled:hover {
    background: #ccc;
    transform: none;
}

.btn-add-cart i {
    font-size: 12px;
}

/* ========================================
   Cart Page
   ======================================== */

.cart-page {
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 64px;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.cart-empty h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.cart-empty p {
    color: var(--text-muted);
    font-size: 14px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cart-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow);
}

.cart-item .item-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--beige);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item .item-image i {
    font-size: 24px;
    color: var(--gold-light);
}

.cart-item .item-details {
    flex: 1;
}

.cart-item .item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
}

.cart-item .item-price {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-item .item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gold-light);
    background: transparent;
    color: var(--primary-brown);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item .qty-btn:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.cart-item .qty-number {
    font-size: 16px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.cart-item .item-remove {
    background: none;
    border: none;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px;
}

.cart-item .item-remove:hover {
    color: #e74c3c;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-light);
    margin-top: 12px;
}

.cart-summary .total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 8px 0;
}

.cart-summary .total-row .total-price {
    color: var(--gold);
}

.cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.cart-actions .btn-clear {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: 2px solid #e74c3c;
    border-radius: 50px;
    color: #e74c3c;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-arabic);
    cursor: pointer;
    transition: var(--transition);
}

.cart-actions .btn-clear:hover {
    background: #e74c3c;
    color: var(--white);
}

.cart-note {
    text-align: center;
    margin-top: 20px;
    padding: 16px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    border-right: 3px solid var(--gold);
}

.cart-note i {
    color: var(--gold);
    margin-left: 6px;
}

/* ========================================
   Product Details Modal
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 16, 8, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
    max-width: 500px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 0 0 20px;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content::-webkit-scrollbar {
    width: 3px;
}

.modal-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 10px;
    margin: 12px auto 8px;
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: var(--white);
    transform: rotate(90deg);
}

.modal-product-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-product-image .placeholder-icon {
    font-size: 64px;
    color: var(--gold-light);
    opacity: 0.5;
}

.modal-product-info {
    padding: 20px 24px;
}

.modal-product-info .product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
}

.modal-product-info .product-name-en {
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-latin);
    direction: ltr;
    display: block;
}

.modal-product-info .price-calories {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 12px;
}

.modal-product-info .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
}

.modal-product-info .calories {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-product-info .description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 8px 0 12px;
}

.modal-product-info .detail-section {
    margin: 12px 0 8px;
}

.modal-product-info .detail-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 4px;
}

.modal-product-info .detail-section p {
    font-size: 14px;
    color: var(--text-muted);
}

.modal-product-info .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 14px;
}

.modal-product-info .tags .tag {
    padding: 4px 14px;
    background: var(--beige);
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.modal-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 16px;
}

.modal-quantity label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.modal-quantity .qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-quantity .qty-control button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold-light);
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown);
}

.modal-quantity .qty-control button:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.modal-quantity .qty-control .qty-value {
    font-size: 20px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.modal-add-cart {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-arabic);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-add-cart:hover {
    background: #b8925a;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.modal-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========================================
   Toast Notification
   ======================================== */

.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--primary-dark);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 32px rgba(26, 16, 8, 0.25);
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    min-width: 280px;
    max-width: 90%;
    border-right: 4px solid var(--gold);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    color: var(--gold);
    font-size: 20px;
}

.toast-message {
    font-size: 15px;
    font-weight: 500;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px 32px;
    }
    
    .hero {
        min-height: 70vh;
        padding: 60px 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .bottom-nav {
        padding: 8px 40px max(env(safe-area-inset-bottom, 0px), 8px) 40px;
    }
    
    .cart-page {
        padding: 20px 40px;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        padding: 24px 48px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero {
        min-height: 60vh;
        padding: 80px 60px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .categories-scroll {
        padding: 16px 48px;
        justify-content: center;
    }
    
    .bottom-nav {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
        bottom: 0;
        box-shadow: 0 -4px 30px rgba(26, 16, 8, 0.1);
    }
    
    .cart-page {
        padding: 20px 48px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .page-header {
        padding: 24px 48px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .products-grid {
        gap: 12px;
        padding: 12px 12px 16px;
    }
    
    .product-card .product-info {
        padding: 10px 12px 12px;
    }
    
    .product-card .product-name {
        font-size: 13px;
    }
    
    .product-card .product-price {
        font-size: 14px;
    }
    
    .btn-add-cart {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .bottom-nav {
        padding-bottom: max(env(safe-area-inset-bottom, 0px), 8px);
    }
}

/* ========================================
   Utility
   ======================================== */

.pb-20 {
    padding-bottom: 80px;
}

.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.gap-8 {
    gap: 8px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.relative {
    position: relative;
}

.hidden {
    display: none !important;
}

/* ========================================
   About Page Styles
   ======================================== */

.about-hero {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 20px 32px;
    text-align: center;
}

.about-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.about-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-top: 4px;
}

.about-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-light);
    margin-bottom: 16px;
}

.about-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 12px;
}

.about-section h3 i {
    color: var(--gold);
    margin-left: 8px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-value-item {
    background: var(--beige);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.about-value-item i {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 6px;
}

.about-value-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

.about-value-item p {
    font-size: 12px;
    color: var(--text-muted);
}

.about-quote {
    text-align: center;
    padding: 12px 0;
}

.about-quote p {
    font-size: 28px;
    color: var(--gold);
    font-weight: 300;
    line-height: 1.6;
}

.about-quote .attribution {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.about-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--beige);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.about-contact-item i {
    color: var(--gold);
    width: 20px;
}

.about-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.about-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 20px;
}

.about-social a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* About page responsive */
@media (max-width: 480px) {
    .about-values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .about-value-item {
        padding: 12px 8px;
    }
    
    .about-value-item i {
        font-size: 20px;
    }
    
    .about-quote p {
        font-size: 22px;
    }
}

/* ========================================
   Custom Confirmation Modal
   ======================================== */

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 16, 8, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.confirm-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.confirm-modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px 28px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(26, 16, 8, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.confirm-modal-overlay.active .confirm-modal {
    transform: scale(1) translateY(0);
}

.confirm-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fde8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.confirm-modal-icon i {
    font-size: 28px;
    color: #e74c3c;
}

.confirm-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-family: var(--font-arabic);
}

.confirm-modal-message {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-family: var(--font-arabic);
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-modal-actions button {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-arabic);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.confirm-btn-cancel {
    background: var(--beige);
    color: var(--text-muted);
}

.confirm-btn-cancel:hover {
    background: #e8ddd0;
}

.confirm-btn-confirm {
    background: #e74c3c;
    color: var(--white);
}

.confirm-btn-confirm:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .confirm-modal {
        padding: 28px 20px 24px;
    }
    
    .confirm-modal-icon {
        width: 56px;
        height: 56px;
    }
    
    .confirm-modal-icon i {
        font-size: 24px;
    }
    
    .confirm-modal-title {
        font-size: 18px;
    }
    
    .confirm-modal-message {
        font-size: 14px;
    }
    
    .confirm-modal-actions {
        flex-direction: column;
    }
    
    .confirm-modal-actions button {
        width: 100%;
        justify-content: center;
    }
}