* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #ff6b00;
    --primary-dark: #e55d00;
    --primary-light: #ff8533;
    --secondary-color: #ff6b00;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #ff6b00, #ff4400);
    color: white;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 3px 12px rgba(255, 107, 0, 0.4);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #ff8533, #ff5500);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.5);
}
.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}
.btn-booking {
    background: linear-gradient(135deg, #ff6b00, #ff4400);
    color: white;
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.5);
    animation: btn-pulse 2s infinite, btn-glow 2s infinite;
    position: relative;
    overflow: hidden;
}
.btn-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btn-shine 3s infinite;
}
@keyframes btn-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
@keyframes btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}
@keyframes btn-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 107, 0, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(255, 107, 0, 0.7); }
}
.btn-booking:hover {
    background: linear-gradient(135deg, #ff8533, #ff5500);
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(255, 107, 0, 0.6);
}
.btn-booking i {
    animation: icon-bounce 1s infinite;
}
@keyframes icon-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav a {
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav a:hover {
    color: var(--primary-color);
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.nav a:hover::after {
    width: 100%;
}
.user-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.search-box {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 120px 0 100px;
    color: white;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.section {
    padding: 60px 0;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.section-subtitle {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 40px;
}
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.hotel-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.hotel-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.hotel-card:hover .hotel-image img {
    transform: scale(1.1);
}
.hotel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--secondary-color), #d97706);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}
.hotel-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.hotel-favorite:hover {
    background: white;
    transform: scale(1.1);
}
.hotel-favorite svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
}
.hotel-content {
    padding: 20px;
}
.hotel-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 8px;
}
.hotel-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.hotel-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.rating-score {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
}
.rating-text {
    color: var(--text-gray);
    font-size: 13px;
}
.rating-count {
    color: var(--text-light);
    font-size: 12px;
}
.hotel-amenities {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.amenity {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-gray);
    font-size: 12px;
}
.amenity svg {
    width: 16px;
    height: 16px;
}
.hotel-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.price-label {
    color: var(--text-gray);
    font-size: 12px;
}
.price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.price-unit {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 400;
}
.room-goods-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.room-goods-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.2s;
    width: 400px;
    min-width: 400px;
}
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 16px;
}
.footer-brand p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}
.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
}
@media (max-width: 1024px) {
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .logo {
        font-size: 18px;
        gap: 6px;
    }
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    .hero {
        padding: 80px 0 60px;
    }
    .hero h1 {
        font-size: 24px;
        white-space: nowrap;
    }
    .hero p {
        font-size: 14px;
    }
    .search-box {
        padding: 16px;
        margin: -30px 12px 0;
    }
    .search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .form-group {
        min-width: 0;
    }
    .form-group input,
    .form-group select {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        font-size: 14px;
    }
    .search-form .btn-primary {
        width: 100%;
    }
    .popular-destinations {
        display: none;
    }
    .nav {
        display: none;
    }
    .header-hotline {
        display: none !important;
    }
    .header-content {
        flex-wrap: wrap;
        gap: 8px;
    }
    .user-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    .user-actions .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .hotel-grid {
        gap: 12px;
    }
    .hotel-card {
        border-radius: 12px;
    }
    .hotel-image {
        height: 110px;
    }
    .hotel-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 10px;
    }
    .hotel-content {
        padding: 10px;
    }
    .hotel-location {
        font-size: 11px;
        margin-bottom: 4px;
    }
    .hotel-name {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .hotel-rating {
        gap: 6px;
        margin-bottom: 8px;
    }
    .rating-score {
        padding: 2px 6px;
        font-size: 12px;
    }
    .rating-text {
        font-size: 11px;
    }
    .hotel-price {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .price-label {
        font-size: 10px;
    }
    .price-value {
        font-size: 16px;
    }
    .price-unit {
        font-size: 10px;
    }
}

[data-theme="fresh"] {
    --primary-color: #20c997;
    --primary-dark: #38d9a9;
    --primary-light: #e6fcf5;
}

[data-theme="purple"] {
    --primary-color: #722ed1;
    --primary-dark: #9254de;
    --primary-light: #f9f0ff;
}

[data-theme="dark"] {
    --primary-color: #177ddc;
    --primary-dark: #3c9ae8;
    --primary-light: #111d2c;
}

[data-theme="blue"] {
    --primary-color: #1d4ed8;
    --primary-dark: #2563eb;
    --primary-light: #dbeafe;
}

[data-theme="pink"] {
    --primary-color: #f472b6;
    --primary-dark: #f9a8d4;
    --primary-light: #fce7f3;
}
