/* Custom styles for Issa Resorts & Hotels */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #9d174d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #831443;
}

/* Geometric shapes animation */
@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.geometric-shape {
    animation: rotate-slow 20s linear infinite;
}

/* Button hover effects */
.amber-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.4);
}

/* Card hover effects */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-8px);
}

/* Input focus effects */
input:focus,
textarea:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

/* Loading state for buttons */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 1rem;
        animation: none;
    }
    
    .floating-delayed {
        position: relative;
        top: 0;
        right: 0;
        animation: none;
    }
    
    .geometric-shape {
        display: none;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .floating {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Accessibility: Focus visible */
*:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
