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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f8f9fa;
}

/* Modern Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-nav::after {
    display: none;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 30px;
    background: #f0f0f0;
    transition: all 0.3s;
}

.profile-info:hover {
    background: #e0e0e0;
}

.profile-pic-nav {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-pic-default {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 10px;
    z-index: 1;
    margin-top: 10px;
}

.dropdown-content a {
    color: #4a5568;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.dropdown-content a:hover {
    background: #f0f0f0;
    color: #667eea;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section with Background Image */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 2rem;
    text-align: center;
    color: white;
    margin-bottom: 60px;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-hero-primary {
    background: white;
    color: #667eea;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.section-header p {
    color: #718096;
    font-size: 1.1rem;
}

/* Card Layout - Modern */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.card-rating {
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.card-location {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #4a5568;
    margin: 0.8rem 0;
    line-height: 1.5;
}

.card-price {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    margin: 0.5rem 0;
}

.card-price small {
    font-size: 0.8rem;
    color: #718096;
    font-weight: normal;
}

.card-date, .card-availability {
    color: #718096;
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

/* Rooms Container */
.rooms-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.room-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.room-card:hover {
    background: #e9ecef;
    transform: translateX(5px);
    border-color: #667eea;
}

.room-info h4 {
    color: #1a1a2e;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.room-info p {
    color: #718096;
    font-size: 0.8rem;
}

.room-price {
    text-align: right;
}

.room-price .price {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: bold;
}

.room-price small {
    font-size: 0.7rem;
    color: #718096;
    display: block;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-small {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.error {
    background: #fed7d7;
    color: #c53030;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.success {
    background: #c6f6d5;
    color: #276749;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Details Page */
.details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.details-image {
    width: 100%;
    border-radius: 15px;
}

.details-info h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.rating {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.price-large {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    margin: 1.5rem 0;
}

/* Admin Panel */
.admin-nav {
    background: white;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-nav a {
    color: #4a5568;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s;
}

.admin-nav a:hover {
    color: #667eea;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #667eea;
    color: white;
}

tr:hover {
    background: #f7fafc;
}

/* Footer */
.simple-footer {
    background: #1a1a2e;
    color: #a0aec0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.simple-footer h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.simple-footer ul li {
    margin-bottom: 0.5rem;
}

.simple-footer ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.simple-footer ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    background: #13132a;
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #2d2d4a;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 1rem;
        background-attachment: scroll;
    }
    
    .details-container {
        grid-template-columns: 1fr;
    }
    
    .card-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn {
        display: block;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}