/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),url(/images/mainbg.webp);
    background-position: center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--sand-beige);
    padding: var(--space-4);
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.main-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-4);
    text-shadow: 0 0 20px rgba(51, 43, 43, 0.5);
    line-height: 1.1;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.desert-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sand-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--sand-dark), transparent);
    opacity: 0.5;
}

.dunes-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-image: url('../images/dunes.svg');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.3;
    animation: dunesMovement 60s linear infinite;
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stars.svg');
    background-size: 2000px;
    opacity: 0.6;
    animation: starsMovement 120s linear infinite;
}

/* About Preview Section */
.about-preview {
    display: flex;
    flex-direction: row;
    min-height: 80vh;
}

.about-content {
    flex: 1;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--sand-beige);
}

.about-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about-bg.webp');
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-long);
}

.about-image:hover .image-container {
    transform: scale(1.05);
}

.overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 54, 253, 0.3), rgba(0, 245, 212, 0.3));
    mix-blend-mode: overlay;
}

/* Services Preview Section */
.services-preview {
    padding: var(--space-10) var(--space-4);
    background-color: var(--sand-light);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-4);
}

.card-front {
    background: linear-gradient(145deg, rgba(245, 232, 208, 0.9), rgba(245, 232, 208, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
}

.card-back {
    background: rgba(18, 18, 18, 0.9);
    color: var(--sand-beige);
    transform: rotateY(180deg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: var(--space-4) 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.casino-icon {
    background-image: url('../images/casino-icon.svg');
}

.ai-icon {
    background-image: url('../images/ai-icon.svg');
}

.spa-icon {
    background-image: url('../images/spa-icon.svg');
}

.drone-icon {
    background-image: url('../images/drone-icon.svg');
}

/* Casino Highlights Section */
.casino-highlights {
    display: flex;
    flex-direction: row;
    min-height: 80vh;
}

.highlight-content {
    flex: 1;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--desert-black);
    color: var(--sand-beige);
}

.highlight-content .section-title {
    color: var(--sand-beige);
}

.highlight-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-image: url('/images/hightlight.webp');
    background-size: cover;
    background-position: center;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.3) 0%, rgba(0, 245, 212, 0) 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
}

/* Gallery Preview Section */
.gallery-preview {
    padding: var(--space-10) var(--space-4);
    background-color: var(--sand-beige);
}

.horizontal-scroll {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.scroll-container {
    display: flex;
    transition: transform var(--transition-medium);
    padding-bottom: var(--space-4);
}

.scroll-item {
    min-width: 300px;
    height: 400px;
    margin-right: var(--space-4);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-long);
}

.scroll-item:hover .gallery-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-3);
    background: linear-gradient(to top, rgba(18, 18, 18, 0.8), transparent);
    color: var(--sand-beige);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.room-1 { background-image: url('/images/room.webp'); }
.casino-1 { background-image: url('/images/casino.webp'); }
.lounge-1 { background-image: url('/images/louge.webp'); }
.dining-1 { background-image: url('/images/dining.webp'); }
.spa-1 { background-image: url('/images/spa.webp'); }

.scroll-navigation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: var(--space-4);
}

.scroll-left, .scroll-right {
    background: transparent;
    border: none;
    color: var(--desert-black);
    font-size: 1.5rem;
    margin: 0 var(--space-2);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-short);
}

.scroll-left:hover, .scroll-right:hover {
    background-color: var(--desert-black);
    color: var(--sand-beige);
}

.center-link {
    text-align: center;
    margin-top: var(--space-6);
}

/* Booking Preview Section */
.booking-preview {
    min-height: 60vh;
    background-image: url('/images/booking.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.4));
}

.booking-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--sand-beige);
    padding: var(--space-4);
    max-width: 600px;
}

.booking-content .section-title {
    color: var(--sand-beige);
}

.booking-content .section-title::after {
    background: var(--holo-teal);
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes dunesMovement {
    0% { background-position: 0% bottom; }
    100% { background-position: 100% bottom; }
}

@keyframes starsMovement {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}