/* Fereydoon Site — Custom Styles */

@font-face {
    font-family: MyFont;
    src: url('../fonts/font.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.brand-logo,
.logo-text {
    font-family: MyFont, 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #fff;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    text-shadow: 0 5px 16px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
    line-height: 1;
    font-style: normal;
}

.brand-link {
    text-decoration: none;
    display: inline-block;
}

.brand-link:hover .brand-logo {
    color: #fff;
}

.logo-header {
    font-size: clamp(26px, 4vw, 38px) !important;
}

.logo-footer {
    font-size: 28px !important;
}

.site-header .brand-logo {
    font-size: clamp(26px, 4vw, 38px) !important;
}

.logo-inline {
    font-size: inherit;
    display: inline;
    text-shadow: none;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #4c1d95; border-radius: 4px; }

.site-header {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-link-active {
    color: #fff !important;
    background: rgba(124, 58, 237, 0.15);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 520px;
    max-height: 900px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.6) 45%, rgba(10,10,15,0.3) 100%);
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero-dot.active {
    background: #7c3aed;
    width: 32px;
    border-radius: 5px;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.hero-arrow:hover {
    background: rgba(124, 58, 237, 0.4);
    border-color: rgba(124, 58, 237, 0.6);
}
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* Cards */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.3);
}

.coupon-card {
    position: relative;
    overflow: hidden;
}
.coupon-card::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #0a0a0f;
    border-radius: 50%;
}
.coupon-card::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #0a0a0f;
    border-radius: 50%;
}

/* Business page */
.hours-grid {
    display: grid;
    gap: 8px;
}
.hours-grid span.hours-day {
    font-weight: 500;
    color: #e5e7eb;
}
.hours-grid span.hours-time {
    color: #9ca3af;
    text-align: right;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.875rem;
}
.hours-row:last-child { border-bottom: none; }

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item:hover { transform: scale(1.03); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox.hidden { display: none; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(124,58,237,0.5); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
}

/* Countdown */
.countdown-box {
    background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
    border: 1px solid rgba(124,58,237,0.3);
}

/* Section headings */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a78bfa;
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: #7c3aed;
    border-radius: 1px;
}

/* Form */
.form-input {
    width: 100%;
    padding: 14px 18px;
    background-color: #1a1a26;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #f9fafb;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
    background-color: #1a1a26;
    color: #f9fafb;
}
.form-input::placeholder { color: #6b7280; }

select.form-input,
.filter-select {
    color-scheme: dark;
    background-color: #1a1a26;
    color: #f9fafb;
    cursor: pointer;
}

select.form-input option,
.filter-select option {
    background-color: #12121a;
    color: #f9fafb;
    padding: 10px;
}

select.form-input option:checked,
.filter-select option:checked {
    background-color: #7c3aed;
    color: #ffffff;
}

select.form-input option:hover,
.filter-select option:hover {
    background-color: #2d2d3d;
    color: #ffffff;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: #7c3aed;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
    background: #6d28d9;
    transform: translateY(-1px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: #f59e0b;
    color: #0a0a0f;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover {
    background: #fbbf24;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-slider { height: 75vh; min-height: 480px; }
    .hero-arrow { width: 40px; height: 40px; }
    .hero-arrow.prev { left: 12px; }
    .hero-arrow.next { right: 12px; }
}

.filter-select {
    cursor: pointer;
    appearance: none;
    color-scheme: dark;
    background-color: #1a1a26;
    color: #f9fafb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}
