/* Amit Bhatt Travel Website */
:root {
    --primary: #2d3436;
    --accent: #e17055;
    --accent2: #0984e3;
    --light: #f5f6fa;
    --dark: #1e272e;
    --text: #2d3436;
    --text-light: #636e72;
    --gold: #fdcb6e;
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(30,39,46,0.95); backdrop-filter: blur(10px);
    padding: 0 40px; transition: 0.3s;
}
.navbar .container {
    max-width: 1300px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.navbar .logo { color: #fff; font-size: 22px; font-weight: 700; padding: 18px 0; }
.navbar .logo span { color: var(--accent); }
.nav-links { list-style: none; display: flex; gap: 5px; }
.nav-links a {
    color: rgba(255,255,255,0.8); padding: 20px 15px; display: block;
    font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
    transition: 0.3s; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: #fff; border-bottom-color: var(--accent); }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30,39,46,0.7), rgba(45,52,54,0.5)),
                url('images/hero.jpg') center/cover no-repeat fixed;
    color: #fff; text-align: center; position: relative;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 60px; font-weight: 700; margin-bottom: 15px; letter-spacing: -1px; }
.hero h1 span { color: var(--accent); }
.hero .subtitle {
    font-size: 18px; color: rgba(255,255,255,0.8); letter-spacing: 4px;
    text-transform: uppercase; margin-bottom: 30px;
}
.hero .scroll-hint {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite; color: rgba(255,255,255,0.6); font-size: 28px;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Container */
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* Section */
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-gray { background: var(--light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 38px; font-weight: 700; margin-bottom: 10px; }
.section-title h2 span { color: var(--accent); }
.section-title p { color: var(--text-light); font-size: 16px; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 350px 1fr; gap: 50px; align-items: center; }
.about-photo {
    width: 350px; height: 400px; border-radius: var(--radius);
    background: var(--light); display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .placeholder { font-size: 80px; color: var(--accent); opacity: 0.3; }
.about-text h3 { font-size: 28px; margin-bottom: 15px; }
.about-text p { color: var(--text-light); font-size: 16px; line-height: 1.8; margin-bottom: 15px; }

/* Stats */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    background: var(--dark); padding: 40px; border-radius: var(--radius); margin-top: 40px;
}
.stat-item { text-align: center; }
.stat-item h3 { font-size: 36px; font-weight: 700; color: var(--accent); }
.stat-item p { color: rgba(255,255,255,0.6); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* Filter Bar */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin-bottom: 40px; padding: 20px; background: var(--light); border-radius: var(--radius);
}
.filter-btn {
    padding: 8px 20px; border: 2px solid #ddd; border-radius: 25px;
    background: #fff; color: var(--text); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: 0.3s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
.filter-select {
    padding: 8px 16px; border: 2px solid #ddd; border-radius: 25px;
    background: #fff; font-size: 13px; font-family: inherit; cursor: pointer;
    color: var(--text);
}

/* Masonry Gallery */
.gallery-grid {
    columns: 4; column-gap: 15px;
}
.gallery-item {
    break-inside: avoid; margin-bottom: 15px; border-radius: var(--radius);
    overflow: hidden; position: relative; cursor: pointer; transition: 0.3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; display: block; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 15px; opacity: 0; transition: 0.3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay h4 { color: #fff; font-size: 15px; margin-bottom: 3px; }
.gallery-item .overlay .meta { color: rgba(255,255,255,0.7); font-size: 12px; }
.gallery-item .overlay .meta i { margin-right: 4px; }

/* Video items */
.gallery-item.video-item::after {
    content: '\f04b'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(255,255,255,0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--accent); z-index: 2; padding-left: 4px;
}

/* Location Groups */
.location-group { margin-bottom: 50px; }
.location-group h3 {
    font-size: 24px; font-weight: 600; margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 3px solid var(--accent);
    display: inline-block;
}
.location-group h3 i { color: var(--accent); margin-right: 8px; }

/* Lightbox */
.lightbox {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95); z-index: 9999;
    align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img, .lightbox video {
    max-width: 90vw; max-height: 85vh; border-radius: 8px;
}
.lightbox .close-btn {
    position: absolute; top: 20px; right: 30px;
    color: #fff; font-size: 30px; cursor: pointer; z-index: 10;
}
.lightbox .nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 40px; cursor: pointer; padding: 20px;
    opacity: 0.6; transition: 0.3s;
}
.lightbox .nav-btn:hover { opacity: 1; }
.lightbox .nav-btn.prev { left: 10px; }
.lightbox .nav-btn.next { right: 10px; }
.lightbox .info {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    text-align: center; color: #fff;
}
.lightbox .info h4 { font-size: 18px; margin-bottom: 5px; }
.lightbox .info p { color: rgba(255,255,255,0.6); font-size: 14px; }

/* Empty State */
.empty-state {
    text-align: center; padding: 80px 20px; color: var(--text-light);
}
.empty-state i { font-size: 60px; color: #ddd; margin-bottom: 20px; }
.empty-state h3 { font-size: 24px; margin-bottom: 10px; color: var(--text); }

/* Footer */
.footer { background: var(--dark); color: #fff; padding: 40px 0 20px; text-align: center; }
.footer p { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer .social { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.footer .social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; color: #fff;
    transition: 0.3s;
}
.footer .social a:hover { background: var(--accent); }

/* Page Header */
.page-hero {
    height: 45vh; min-height: 300px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30,39,46,0.8), rgba(45,52,54,0.6)),
                url('images/hero.jpg') center/cover no-repeat;
    color: #fff; text-align: center; padding-top: 60px;
}
.page-hero h1 { font-size: 42px; font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 16px; margin-top: 10px; }

/* Responsive */
@media (max-width: 1100px) { .gallery-grid { columns: 3; } }
@media (max-width: 768px) {
    .gallery-grid { columns: 2; }
    .mobile-toggle { display: block; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: var(--dark);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 15px 20px; }
    .hero h1 { font-size: 36px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { width: 100%; height: 300px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 50px 0; }
}
@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
    .hero h1 { font-size: 28px; }
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 15px; padding: 25px; }
}

/* ========= ADMIN STYLES ========= */
.admin-body { background: #f0f2f5; min-height: 100vh; }
.admin-nav {
    background: var(--dark); padding: 12px 30px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.admin-nav .logo { color: #fff; font-size: 18px; font-weight: 600; }
.admin-nav .logo span { color: var(--accent); }
.admin-nav a { color: rgba(255,255,255,0.7); font-size: 13px; padding: 8px 15px; transition: 0.3s; }
.admin-nav a:hover { color: #fff; }

.admin-container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }

.admin-card {
    background: #fff; border-radius: var(--radius); padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); margin-bottom: 25px;
}
.admin-card h2 { font-size: 20px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 25px; }
.admin-stat {
    background: #fff; border-radius: var(--radius); padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); text-align: center;
}
.admin-stat h3 { font-size: 32px; font-weight: 700; color: var(--accent); }
.admin-stat p { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

/* Form */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px;
    font-size: 14px; font-family: inherit; transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225,112,85,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }

.btn {
    display: inline-block; padding: 12px 28px; border-radius: 8px;
    font-weight: 600; font-size: 14px; cursor: pointer; border: none;
    font-family: inherit; transition: 0.3s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d35400; }
.btn-danger { background: #e74c3c; color: #fff; font-size: 12px; padding: 6px 14px; }
.btn-danger:hover { background: #c0392b; }
.btn-small { padding: 6px 14px; font-size: 12px; }

/* Media table */
.media-table { width: 100%; border-collapse: collapse; }
.media-table th { text-align: left; padding: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); border-bottom: 2px solid #eee; }
.media-table td { padding: 10px; border-bottom: 1px solid #f0f0f0; font-size: 14px; vertical-align: middle; }
.media-table .thumb { width: 60px; height: 45px; object-fit: cover; border-radius: 6px; }

/* Login */
.login-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--dark), #2d3436);
}
.login-box {
    background: #fff; border-radius: var(--radius); padding: 40px;
    width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-box h2 { text-align: center; margin-bottom: 25px; font-size: 22px; }
.login-box .logo-text { text-align: center; margin-bottom: 30px; font-size: 24px; font-weight: 700; }
.login-box .logo-text span { color: var(--accent); }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 15px; font-size: 14px; }
.alert-danger { background: #ffeaea; color: #c0392b; }
.alert-success { background: #eafff3; color: #27ae60; }

/* Drop zone */
.drop-zone {
    border: 3px dashed #ddd; border-radius: var(--radius); padding: 40px;
    text-align: center; cursor: pointer; transition: 0.3s; margin-bottom: 20px;
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--accent); background: rgba(225,112,85,0.05); }
.drop-zone i { font-size: 40px; color: #ddd; margin-bottom: 10px; }
.drop-zone p { color: var(--text-light); font-size: 14px; }

.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 15px 0; }
.preview-item { position: relative; border-radius: 8px; overflow: hidden; height: 90px; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; background: #e74c3c; color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 11px; }
