/* Azizi Florence Sharjah - Custom Styles */

/* Animations */
@keyframes heroZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.1); }
}
.animate-hero-zoom {
    animation: heroZoom 25s infinite alternate ease-in-out;
}

/* Preloader Animation */
.loader-bar {
    width: 0%;
    animation: loadBar 1.2s ease-in-out forwards;
}
@keyframes loadBar {
    0% { width: 0%; }
    100% { width: 100%; }
}
.preloader-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Vertical text for floating button */
.writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Header transition logic */
.scrolled-header {
    background-color: rgba(11, 15, 23, 0.98) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
}
.scrolled-header .logo-img {
    width: 80% !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0F17; 
}
::-webkit-scrollbar-thumb {
    background: #C5A059; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Prevent horizontal scroll & whitespace on mobile devices */
html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
}
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

/* Container & section bounds */
section, main, footer {
    max-width: 100vw;
    overflow-x: hidden;
}

header {
    max-width: 100vw;
    overflow: visible !important;
}

/* Prevent AOS off-screen horizontal translation from causing body overflow on mobile */
[data-aos] {
    max-width: 100%;
}

/* Swiper Fixes for Smooth Dragging & Slide 1 Loop Initialization */
.swiper {
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding-bottom: 3rem !important;
    overflow: hidden !important;
}
.swiper-slide {
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    height: auto !important;
}
.visualAmenitiesSwiper .swiper-slide,
.gallerySwiper .swiper-slide,
.pricesSwiper .swiper-slide {
    cursor: grab;
}
.visualAmenitiesSwiper .swiper-slide:active,
.gallerySwiper .swiper-slide:active,
.pricesSwiper .swiper-slide:active {
    cursor: grabbing;
}
.swiper-pagination-bullet {
    background: #C5A059 !important;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 28px !important;
    border-radius: 6px !important;
}

/* Custom Accordion smooth transition */
.faq-content {
    transition: all 0.3s ease-in-out;
}

/* Google Translate Hide Banner Override */
.goog-te-banner-frame, iframe.goog-te-banner-frame {
    display: none !important;
}
body {
    top: 0px !important;
}
.goog-te-gadget-icon {
    display: none !important;
}
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    font-size: 0px !important;
    padding: 0 !important;
}
.goog-tooltip, .goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Language Selector Dropdown (CLICK toggle, NO hover, NO flags) */
.lang-dropdown {
    position: relative;
    display: inline-block;
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    min-width: 140px;
    background-color: #0B0F17;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 9999 !important;
    overflow: hidden;
}
.lang-dropdown-content.show {
    display: block !important;
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-btn:hover, .lang-btn:focus {
    border-color: #C5A059;
    background: rgba(197, 160, 89, 0.25);
}
.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    color: #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.lang-option:hover {
    background-color: #C5A059;
    color: #0B0F17;
    font-weight: 700;
}

/* ==========================================================================
   INTL-TEL-INPUT PHONE NUMBER FIELD FIXES (NO OVERLAP, NO BLACK BOX)
   ========================================================================== */
.iti {
    width: 100% !important;
    display: block !important;
}
.iti__flag-container {
    z-index: 10 !important;
}
.iti__selected-flag {
    background: transparent !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 10px !important;
    padding-right: 6px !important;
}
.iti__selected-flag:focus, 
.iti__selected-flag:active,
.iti__selected-flag:hover {
    outline: none !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.iti__selected-dial-code {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-left: 6px !important;
}

.iti__country-list {
    z-index: 99999 !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid #C5A059 !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    max-width: min(320px, 90vw) !important;
}
.iti__country-list .iti__country {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
}
.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight {
    background-color: #C5A059 !important;
    color: #ffffff !important;
}

/* Bottom Registration Form Phone Field Styling */
#bottomContactForm .iti input.phone-input {
    width: 100% !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    border-radius: 0.75rem !important;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
    padding-left: 105px !important; /* Generous gap so dial code +91 never collides with placeholder */
    border: 1px solid #e5e7eb !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}
#bottomContactForm .iti input.phone-input:focus {
    outline: none !important;
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.4) !important;
}

/* Popup Modal Form Phone Field Styling */
#popupForm .iti input.phone-input {
    width: 100% !important;
    background-color: transparent !important;
    color: #111827 !important;
    border: none !important;
    border-bottom: 2px solid #e5e7eb !important;
    border-radius: 0 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 105px !important; /* Generous gap so dial code +91 never collides with placeholder */
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}
#popupForm .iti input.phone-input:focus {
    outline: none !important;
    border-bottom: 2px solid #C5A059 !important;
}
