* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f7fb;
}

/* ================= NAVBAR ================= */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 42px;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* ================= HERO ================= */
.hero-small {
    background: linear-gradient(90deg, #ff6600, #ff8533);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-small h1 {
    margin: 0;
    font-size: 36px;
}

.hero-small p {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.95;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* ================= GRID ================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* ================= CARD ================= */
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: #eee;
}

.card-content {
    padding: 18px;
}

.card-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.city {
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
}

.rating {
    margin-top: 10px;
    color: #ff9800;
    font-weight: bold;
}

.card-link {
    text-decoration: none;
    color: inherit;
}
/* ================= ADMIN PANEL ================= */

.admin-card {
    background: white;
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.table-modern {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-modern th {
    background: linear-gradient(90deg, #ff6600, #ff8533);
    color: white;
    padding: 14px;
    text-align: left;
    font-weight: 600;
}

.table-modern td {
    padding: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.table-modern tr:hover {
    background: #fafafa;
}

.thumb {
    border-radius: 8px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.btn-orange {
    background: #ff6600;
    color: white;
}

.btn-orange:hover {
    background: #e65c00;
}

.btn-blue {
    background: #3498db;
    color: white;
}

.btn-blue:hover {
    background: #2d82c7;
}

.btn-red {
    background: #e74c3c;
    color: white;
}

.btn-red:hover {
    background: #c0392b;
}
/* ================= ADMIN CARD ================= */
.admin-card {
    max-width: 1100px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* ================= TABLE MODERN ================= */
.table-modern {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.table-modern th {
    background: linear-gradient(90deg, #ff6600, #ff8533);
    color: white;
    padding: 12px;
    text-align: left;
}

.table-modern td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.table-modern tr:hover {
    background: #fafafa;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-orange {
    background: #ff6600;
    color: white;
}

.btn-blue {
    background: #2196f3;
    color: white;
}

.btn-red {
    background: #f44336;
    color: white;
}

/* ================= IMAGE THUMB ================= */
.thumb {
    border-radius: 6px;
}
.badge {
    display:inline-block;
    padding:4px 8px;
    font-size:12px;
    font-weight:bold;
    border-radius:6px;
    margin-bottom:8px;
}

.badge.gold {
    background:gold;
    color:black;
}

.badge.platinum {
    background:linear-gradient(45deg, #8e2de2, #4a00e0);
    color:white;
}
/* ================= DARK MODE ================= */

body.dark-mode {
    background: #121212;
    color: #f1f1f1;
}

body.dark-mode .navbar {
    background: #1e1e1e;
}

body.dark-mode .nav-links a {
    color: #f1f1f1;
}

body.dark-mode .card {
    background: #1e1e1e;
}

body.dark-mode .card-content h3,
body.dark-mode .card-content p,
body.dark-mode .city,
body.dark-mode .rating {
    color: #e0e0e0;
}

body.dark-mode .admin-card {
    background: #1e1e1e;
}

body.dark-mode .table-modern th {
    background: linear-gradient(90deg, #cc5200, #e67300);
}

body.dark-mode .table-modern td {
    border-bottom: 1px solid #333;
}

body.dark-mode .table-modern tr:hover {
    background: #222;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
}

body.dark-mode .btn-orange {
    background: #e65c00;
}

body.dark-mode .btn-blue {
    background: #1f7ac9;
}

body.dark-mode .btn-red {
    background: #c0392b;
}
/* Smooth Transition */
body,
.navbar,
.card,
.admin-card,
input,
select,
textarea {
    transition: background 0.3s ease, color 0.3s ease;
}

.badge-premium {
    position: absolute;
    top: 10px;
    left: 10px;
    background: gold;
    color: black;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
}
.auth-container {
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
    background:#f4f6f9;
}

.auth-card {
    background:white;
    padding:40px;
    border-radius:15px;
    width:350px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.auth-card h2 {
    margin-bottom:20px;
    text-align:center;
}

.auth-card input {
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border-radius:8px;
    border:1px solid #ddd;
}

.error-msg {
    background:#ffe0e0;
    color:#c70000;
    padding:10px;
    border-radius:8px;
    margin-bottom:15px;
}
