:root {
    --primary: #b72e4e;
    --secondary: #ff4b2b;
    --dark: #232526;
    --light: #f5f7fa;
    --glass: rgba(255, 255, 255, 0.9);
}





/* Weather Widget Styling */
.weather-container {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    animation: fadeIn 1s;
}

.weather-container img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#weather-temp {
    font-size: 1.5rem;
    display: block;
}

#weather-desc {
    margin: 0;
    font-size: 0.9rem;
    text-transform: capitalize;
    font-weight: normal;
    opacity: 0.9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* weather end here */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    min-height: 100vh;
    color: var(--dark);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.hidden { display: none !important; }

/* Cards */
.card {
    background: var(--glass);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
}

.auth-card input {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.auth-card button {
    width: 100%;
    padding: 10px;
    background: var(--dark);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

/* App Interface */
nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.2);
    color: white;
    align-items: center;
}

.logo { font-size: 1.5rem; font-weight: bold; }

.hero {
    text-align: center;
    padding: 3rem 1rem;
    color: white;
}

.search-bar {
    margin: 1rem auto;
    max-width: 500px;
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border-radius: 20px 0 0 20px;
    border: none;
    outline: none;
}

.search-bar button {
    padding: 10px 20px;
    border-radius: 0 20px 20px 0;
    border: none;
    background: var(--dark);
    color: white;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

.btn-primary:hover { transform: scale(1.05); }

/* Grid Layout */
.section {
    padding: 2rem;
    background: var(--light);
    border-radius: 20px 20px 0 0;
    min-height: 300px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.spot-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.spot-card:hover { transform: translateY(-5px); }
.spot-header { display: flex; justify-content: space-between; align-items: center; }
.rating { color: gold; }
.status { font-size: 0.8rem; padding: 2px 8px; border-radius: 10px; color: white; }
.open { background: green; }
.closed { background: red; }

.actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-map { background: #4285F4; color: white; }
.btn-speak { background: #FF5722; color: white; }
.btn-review { background: #FFC107; color: black; }

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 400px;
    position: relative;
}
.close { position: absolute; top: 10px; right: 15px; cursor: pointer; font-size: 1.5rem; }
textarea { width: 100%; height: 80px; margin: 10px 0; }
select { width: 100%; margin-bottom: 10px; padding: 5px; }