/* ========================================
   PolaTours Global Styles
   ======================================== */

/* Custom Scrollbar - Applied Globally */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #10B981;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #065F46;
}

/* ========================================
   Luxury Enhancement Styles
   ======================================== */

/* Luxury Button Shimmer Effect */
.btn-luxury {
    position: relative;
    overflow: hidden;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-luxury:hover::before {
    left: 100%;
}

/* Enhanced shadow for depth */
.btn-luxury-shadow {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3),
                0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-luxury-shadow:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4),
                0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Luxury Card Enhancement */
.card-luxury {
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04),
                0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10B981, #059669);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.card-luxury:hover::before {
    opacity: 1;
}

.card-luxury:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08),
                0 4px 12px rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Luxury Section Dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(16, 185, 129, 0.3) 50%,
        transparent 100%
    );
    margin: 0 auto;
    width: 60%;
}

/* Decorative Diamond Separator */
.section-divider-diamond {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.section-divider-diamond::before,
.section-divider-diamond::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(16, 185, 129, 0.4)
    );
    max-width: 100px;
}

.section-divider-diamond .diamond {
    width: 8px;
    height: 8px;
    background: #10B981;
    transform: rotate(45deg);
}

/* Nav link hover enhancement */
#nav-links a {
    position: relative;
}

#nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #10B981;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

#nav-links a:hover::after {
    width: 80%;
}

/* Luxury Typography Refinements */
.luxury-spacing {
    letter-spacing: 0.02em;
}

.luxury-leading {
    line-height: 1.4;
}

/* Luxury Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #10B981, #059669);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

#scroll-to-top svg {
    color: white;
    width: 1.25rem;
    height: 1.25rem;
}

/* WhatsApp Button Overlay */
#whatsapp-btn {
    position: fixed;
    bottom: 2rem; /* Start at the same position as scroll-to-top */
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #25D366;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

#whatsapp-btn.shifted {
    bottom: 6.5rem; /* Move up when scroll-to-top is visible */
}

/* Hide buttons during loading screen */
body.loading #whatsapp-btn,
body.loading #scroll-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#whatsapp-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: #20BA5A;
}

#whatsapp-btn svg {
    color: white;
    width: 1.75rem;
    height: 1.75rem;
}

/* Premium Footer */
footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(16, 185, 129, 0.3) 50%,
        transparent 100%
    );
}
/* ========================================
   Luxury Input Styles
   ======================================== */
.input-group-premium {
    position: relative;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.input-group-premium:focus-within {
    background: #ffffff;
    border-color: #10B981;
    box-shadow: 0 4px 20px -5px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.input-label-lux {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #94A3B8;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.input-group-premium:focus-within .input-label-lux {
    color: #10B981;
}

.input-field-lux {
    width: 100%;
    background: transparent;
    border: none;
    padding: 4px 0;
    color: #1E293B;
    font-weight: 500;
    font-size: 16px;
    outline: none;
}

.input-field-lux::placeholder {
    color: #CBD5E1;
    font-weight: 400;
}
