/* Fereydoon Site — Black & Gold Theme */

@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: #f0cf6a;
}

.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: #000000; }
::-webkit-scrollbar-thumb { background: #8a7120; border-radius: 4px; }

.site-header {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-link-active {
    color: #f0cf6a !important;
    background: rgba(212, 175, 55, 0.12);
}

/* 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(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.35) 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: #d4af37;
    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(212, 175, 55, 0.25);
    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(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.55);
}
.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(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

.coupon-card {
    position: relative;
    overflow: hidden;
}
.coupon-card::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #000000;
    border-radius: 50%;
}
.coupon-card::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #000000;
    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(212, 175, 55, 0.45); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
}

/* Business video + QR overlay (fullscreen keeps QR visible) */
.video-with-qr {
    position: relative;
    background: #000;
}
.video-with-qr-player {
    display: block;
    width: 100%;
    height: 100%;
}
.video-qr-overlay {
    pointer-events: auto;
}
.video-with-qr:fullscreen,
.video-with-qr:-webkit-full-screen {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
}
.video-with-qr:fullscreen .video-with-qr-player,
.video-with-qr:-webkit-full-screen .video-with-qr-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.video-with-qr:fullscreen .video-qr-overlay,
.video-with-qr:-webkit-full-screen .video-qr-overlay {
    bottom: 2rem;
    right: 2rem;
}
.video-with-qr:fullscreen .video-qr-img,
.video-with-qr:-webkit-full-screen .video-qr-img {
    width: 6rem;
    height: 6rem;
}

/* Countdown */
.countdown-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(212, 175, 55, 0.35);
}

/* 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: #f0cf6a;
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: #d4af37;
    border-radius: 1px;
}

/* Home page — triple orange section separators */
.section-triple-line {
    width: 100%;
    height: 7px;
    flex-shrink: 0;
    background-image:
        linear-gradient(#f97316, #f97316),
        linear-gradient(#f97316, #f97316),
        linear-gradient(#f97316, #f97316);
    background-size: 100% 1px;
    background-position: 0 0, 0 3px, 0 6px;
    background-repeat: no-repeat;
}

/* Form */
.form-input {
    width: 100%;
    padding: 14px 18px;
    background-color: #111111;
    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: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background-color: #111111;
    color: #f9fafb;
}
.form-input::placeholder { color: #6b7280; }

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

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

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

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

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

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: #d4af37;
    color: #000000;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover {
    background: #f0cf6a;
    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: #111111;
    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='%23d4af37'%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;
}
