/* Custom styling for Diken Delivery UAE */

/* Google Fonts & Icons defaults */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.material-symbols-outlined[style*="FILL"] {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Background Gradients */
.hero-gradient {
    background: linear-gradient(180deg, #93000a 0%, #131313 100%);
}

/* Glow effects */
.red-glow {
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.2);
}

.red-glow-strong {
    box-shadow: 0 0 15px rgba(227, 30, 36, 0.5);
}

/* Transitions and Hovers */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    border-color: #E31E24;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.1);
}

.accent-bar {
    border-left: 4px solid #E31E24;
}

/* Gold Theme Helpers */
.text-gold {
    color: #FFD700;
}

.bg-gold {
    background-color: #FFD700;
}

.border-gold {
    border-color: #FFD700;
}

/* Primary Button Styling */
.btn-primary {
    background-color: #E31E24;
    color: #000000;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: #ff3b40;
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Cards */
.card-surface {
    background-color: #0F0F0F;
    border: 1px solid #27272A;
    transition: all 0.3s ease;
}

.card-surface:hover {
    border-color: #E31E24;
}

/* Form Input states */
.form-input-focus {
    transition: all 0.2s ease;
}

.form-input-focus:focus {
    outline: none;
    border-color: #E31E24;
    box-shadow: 0 0 0 2px rgba(227, 30, 36, 0.2);
}

/* Dot pattern background */
.bg-pattern {
    background-image: radial-gradient(#27272A 1px, transparent 1px);
    background-size: 24px 24px;
}

/* FAQ Accordion Transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* arbitrary high value for auto height transition */
    margin-top: 12px;
    opacity: 1;
}

.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Mobile Nav Drawer */
#mobile-menu-drawer {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu-drawer.closed {
    transform: translateX(100%);
}

#mobile-menu-drawer.open {
    transform: translateX(0);
}
