/*
Theme Name: Dehghan Seir
Theme URI: http://pirouz.xyz
Author: Pirouz
Author URI: http://pirouz.xyz
Description: Custom WordPress theme for Dehghan Seir Landing Page
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dehghan-seir
*/

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    font-family: 'MyFaNumFont', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'MyFaNumFont';
    src: url('assets/fonts/Kalameh 4/02- Farsi_Numerals/WebFonts/_Woff2/KalamehWeb(FaNum)-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyFaNumFont';
    src: url('assets/fonts/Kalameh 4/02- Farsi_Numerals/WebFonts/_Woff2/KalamehWeb(FaNum)-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyFaNumFont';
    src: url('assets/fonts/Kalameh 4/02- Farsi_Numerals/WebFonts/_Woff2/KalamehWeb(FaNum)-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.max-w-custom {
    max-width: 1920px !important;
}

.hero-bg {
    position: relative;
    z-index: 1;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/world-map.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

/* Navigation Menu Styling */
.hidden.md\:flex.items-center.gap-8 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.hidden.md\:flex.items-center.gap-8 a:hover {
    color: var(--color-primary, #f77100) !important;
}

/* Mobile Menu Styling */
#mobileMenu a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

#mobileMenu a:hover {
    color: var(--color-primary, #f77100) !important;
}

/* Floating animation for the airplane */
@keyframes planeFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.plane-float {
    animation: planeFloat 6s ease-in-out infinite;
}

.plane-flip {
    transform: scaleX(-1);
}

/* Plane Container positioning and sizes */
.plane-container {
    position: absolute;
    left: -130px; /* Pushed further to the side */
    top: 0px; /* Preserved user top setting */
    width: 300px; /* Made larger on mobile */
    z-index: 10;
    pointer-events: none;
}

@media (min-width: 768px) {
    .plane-container {
        left: -180px;
        top: -240px;
        width: 450px;
    }
}

@media (min-width: 1024px) {
    .plane-container {
        left: -280px;
        top: -280px;
        width: 650px;
    }
}

/* Destinations Title spacing */
.destinations-title-block {
    margin-top: 70px;
    margin-bottom: 80px; /* Big gap between title and cards */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-none {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Fullscreen Mobile Menu Drawer Pattern Background */
#mobileMenuDrawer {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160" stroke="%239ca3af" stroke-width="1.2" stroke-opacity="0.18" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M12 25l12-4 4 5-1.5 1.5-3-1.5-1.5 1.5-1-2.5z"/><circle cx="120" cy="30" r="8"/><path d="M117 27l6 6M120 27v6M117 30h6"/><path d="M70 85a3 3 0 0 1 3-3a4 4 0 0 1 7.5 1a3 3 0 0 1 1.5 5.5h-12z"/><rect x="30" y="110" width="12" height="9" rx="1.5"/><path d="M33 110v-3h6v3"/><path d="M115 110a3 3 0 0 0-3 3c0 2.5 3 5 3 5s3-2.5 3-5a3 3 0 0 0-3-3z"/><circle cx="85" cy="15" r="7"/><path d="M78 15h14M85 8v14"/><path d="M130 75l10-5-5 10-2-3-3-2z"/></svg>');
    background-repeat: repeat;
    background-size: 110px; /* Tighter scale for a slightly higher density of doodles */
    background-color: rgba(255, 255, 255, 0.94);
}

/* Floating animations for decorative icons */
@keyframes floatDeco {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes floatDecoDelay {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(12px) rotate(-3deg);
    }
}

.animate-float-deco {
    animation: floatDeco 6s ease-in-out infinite;
}

.animate-float-deco-delay {
    animation: floatDecoDelay 7s ease-in-out infinite;
}

/* ===== Trusted Brands Marquee Slider ===== */
@keyframes marqueeScrollRTL {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

.brands-marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScrollRTL 25s linear infinite;
    will-change: transform;
    width: max-content;
}

.brands-marquee-track:hover {
    animation-play-state: paused;
}

.brands-marquee-wrapper {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brands-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.75rem 2rem;
    min-width: 160px;
    height: 80px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.brands-marquee-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.brands-marquee-item img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(80%) opacity(0.6);
    transition: all 0.3s ease;
}

.brands-marquee-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
    .brands-marquee-item {
        min-width: 130px;
        height: 64px;
        padding: 0.5rem 1.25rem;
    }
    .brands-marquee-item img {
        max-height: 32px;
        max-width: 100px;
    }
    .brands-marquee-track {
        gap: 1.5rem;
    }
}

/* ===== WhatsApp Sticky Floating Button ===== */
.whatsapp-sticky-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.whatsapp-sticky-float:hover {
    transform: scale(1.08) translateY(-4px);
    background-color: #20ba5a;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-sticky-float:active {
    transform: scale(0.95);
}

/* Subtle pulse glow effect around the WhatsApp button */
.whatsapp-sticky-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.4;
    z-index: -1;
    animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-sticky-float {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-sticky-float svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}