/* Custom Styles for Zawajco */

/* Cairo Font */
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

:root {
    /* Brand Colors */
    --primary-color: #e91e63;
    --primary-hover: #c2185b;
    --primary-light: #f8bbd0;
    --secondary-color: #2c3e50;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;

    /* Text Colors */
    --text-color: #34495e;
    --text-primary: #34495e;
    --text-secondary: #6c757d;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;

    /* Background Colors */
    --bg-color: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-surface-secondary: #f8f9fa;
    --bg-surface-tertiary: #e9ecef;

    /* Border Colors */
    --border-color: #dee2e6;
    --border-color-subtle: #e9ecef;

    /* Shadows */
    --card-shadow: 0 2px 4px rgba(0,0,0,0.05);
    --card-shadow-hover: 0 4px 8px rgba(0,0,0,0.1);
    --modal-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] {
    /* Brand Colors */
    --primary-color: #e91e63;
    --primary-hover: #d81b60;
    --secondary-color: #ecf0f1;
    
    /* Text Colors */
    --text-color: #ecf0f1;
    --text-primary: #ecf0f1;
    --text-secondary: #adb5bd;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;

    /* Background Colors */
    --bg-color: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-secondary: #334155;
    --bg-surface-tertiary: #475569;

    /* Border Colors */
    --border-color: #334155;
    --border-color-subtle: #475569;

    /* Shadows */
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.4);
    --modal-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Custom Utilities */
.text-pink {
    color: var(--primary-color) !important;
}

.bg-pink {
    background-color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(233, 30, 99, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fce4ec 0%, #fff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-icon {
    position: absolute;
    color: rgba(233, 30, 99, 0.1);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero-icon.icon-1 { top: 10%; left: 10%; font-size: 4rem; animation-delay: 0s; }
.hero-icon.icon-2 { bottom: 20%; right: 10%; font-size: 6rem; animation-delay: 2s; }
.hero-icon.icon-3 { top: 20%; right: 20%; font-size: 3rem; animation-delay: 1s; }
.hero-icon.icon-4 { bottom: 10%; left: 20%; font-size: 5rem; animation-delay: 3s; }

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-primary {
    background-color: #e91e63;
    border-color: #e91e63;
}

.btn-primary:hover {
    background-color: #c2185b;
    border-color: #c2185b;
}

/* RTL Support */
[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

/* Store Buttons */
.btn-store {
    padding: 8px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    color: #34495e;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-decoration: none;
    min-width: 160px;
}

.btn-store i {
    font-size: 1.8rem;
    line-height: 1;
}

.btn-store .store-text {
    text-align: left;
    line-height: 1.2;
}

[dir="rtl"] .btn-store .store-text {
    text-align: right;
}

.btn-store .store-text small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
}

.btn-store .store-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.btn-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-store.dark {
    background: var(--secondary-color);
    color: white;
    border: none;
}

.btn-store.dark:hover {
    background: var(--primary-color);
    color: white;
}

.btn-store.light-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    box-shadow: none;
}

.btn-store.light-outline:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

[data-bs-theme="dark"] .btn-store:not(.dark):not(.light-outline) {
    background: rgba(255,255,255,0.05);
    color: white;
    border-color: rgba(255,255,255,0.1);
}

[data-bs-theme="dark"] .btn-store:not(.dark):not(.light-outline):hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
