@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
}

header h1 span {
    color: #38bdf8;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* Glassmorphism Card Effect */
.main-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #94a3b8;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.12);
}

/* Buttons Styling */
button {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-location {
    background: #f59e0b;
    color: #000;
    font-size: 14px;
}

/* Gallery Styling */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-btn {
    display: block;
    text-align: center;
    background: #38bdf8;
    color: #0f172a;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}

/* Scanning Overlay */
.scanner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scanner-box {
    width: 250px;
    height: 250px;
    border: 2px solid #38bdf8;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #38bdf8;
    box-shadow: 0 0 15px #38bdf8;
    animation: scan 2.5s infinite alternate;
}

@keyframes scan {
    from { top: 5%; }
    to { top: 95%; }
}