:root {
    --primary: #00d4ff;
    --secondary: #7b2ff7;
    --accent: #f107a3;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --gray: #888888;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation variations */
.fade-up {
    transform: translateY(40px);
}
.fade-up.visible {
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
}
.fade-in.visible {
    opacity: 1;
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
}
.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
}
.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.8);
}
.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/bookmyresort/assets/images/Logo.jpeg');
    background-size: 35%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--light) !important;
}

.brand-icon {
    font-size: 28px;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--light) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.btn-login {
    background: var(--gradient) !important;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: 25px !important;
    padding: 8px 25px !important;
}

.btn-login::after {
    display: none !important;
}

.btn-register {
    border: 1px solid var(--primary) !important;
    border-radius: 25px !important;
    padding: 8px 25px !important;
}

.btn-register::after {
    display: none !important;
}

.btn-register:hover {
    background: var(--gradient) !important;
    border-color: transparent !important;
}

.admin-link {
    color: var(--accent) !important;
}

.btn-logout {
    color: #ff6b6b !important;
}

.page-wrapper {
    min-height: 100vh;
    padding-top: 80px;
}

.footer {
    background: var(--darker);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--light);
    outline: none;
}

/* Date picker - remove icon, full clickable */
input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
    width: 100%;
    display: block;
    color: var(--light);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type="date"]::-moz-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.form-group {
    position: relative;
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: var(--light);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: var(--gray);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary-custom {
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    background: var(--gradient);
    color: var(--light);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary-custom {
    padding: 15px 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--light);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary-custom:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 18px;
}

.resort-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.resort-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.resort-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.resort-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.resort-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resort-card:hover .resort-image img {
    transform: scale(1.1);
}

.resort-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.resort-content {
    padding: 25px;
}

.resort-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.resort-location {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resort-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.resort-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.resort-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffc107;
}

.resort-amenities {
    display: flex;
    gap: 10px;
}

.amenity-badge {
    padding: 5px 12px;
    background: var(--glass);
    border-radius: 15px;
    font-size: 12px;
    color: var(--gray);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

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

.auth-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(20px);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-control-custom {
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--light);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-auth {
    width: 100%;
    padding: 18px;
    border-radius: 15px;
    border: none;
    background: var(--gradient);
    color: var(--light);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.alert-custom {
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    color: #00ff88;
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #ffc107;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
}

.booking-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 25px;
    align-items: center;
    transition: all 0.3s ease;
}

.booking-card:hover {
    border-color: var(--primary);
}

.booking-image {
    width: 150px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-info h4 {
    margin-bottom: 10px;
}

.booking-details {
    display: flex;
    gap: 20px;
    color: var(--gray);
    flex-wrap: wrap;
}

.booking-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-confirmed {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.status-cancelled {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.status-completed {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.btn-action {
    padding: 10px 25px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cancel {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.btn-cancel:hover {
    background: #ff6b6b;
    color: var(--light);
}

.btn-view {
    background: var(--gradient);
    color: var(--light);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.4);
}

.btn-view:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0, 212, 255, 0.3);
}

.admin-table {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.admin-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 600;
    color: var(--primary);
}

.admin-table tr:hover td {
    background: rgba(0, 212, 255, 0.05);
}

.btn-edit {
    padding: 8px 15px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary);
    border: none;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-delete {
    padding: 8px 15px;
    border-radius: 10px;
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit:hover, .btn-delete:hover {
    transform: scale(1.05);
}

.resort-detail-hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.resort-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resort-detail-content {
    padding: 50px 0;
}

.room-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
}

.room-card:hover {
    border-color: var(--primary);
}

.room-image {
    width: 200px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-gallery {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.room-gallery .room-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.room-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
}

.room-thumbs img {
    width: 45px;
    height: 35px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.room-thumbs img:hover,
.room-thumbs img.active {
    opacity: 1;
    border-color: var(--primary);
}

.room-info h4 {
    margin-bottom: 10px;
}

.room-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.room-price span {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
}

.booking-form {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

.booking-form h4 {
    margin-bottom: 25px;
}

.date-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.booking-summary {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray);
}

.summary-row.total {
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
    margin-top: 15px;
    color: var(--light);
    font-size: 20px;
    font-weight: 700;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

.otp-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.otp-input {
    width: 60px;
    height: 70px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    border-radius: 15px;
    border: 2px solid var(--glass-border);
    background: var(--glass);
    color: var(--light);
    outline: none;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .resort-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-card {
        grid-template-columns: 1fr;
    }
    
    .booking-image {
        width: 100%;
        height: 150px;
    }
    
    .room-card {
        grid-template-columns: 1fr;
    }
    
    .date-inputs {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        padding: 30px;
    }
}

.page-title {
    padding: 60px 0 40px;
    text-align: center;
}

.page-title h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-title p {
    color: var(--gray);
    font-size: 18px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
