/* Public Page Styles */

/* Import premium font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');

body.public-page {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent) !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.filter-white {
    filter: brightness(0) invert(1);
}

.ls-2 {
    letter-spacing: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/hero_vespa.png') no-repeat center center scroll;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Glass Card Form */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    color: #333;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.glass-card h2 {
    color: #000;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.form-control-lg {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 1rem;
    font-size: 1.1rem;
}

.form-control-lg:focus {
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
    border-color: #1976D2;
}

.btn-vespa {
    background-color: #1976D2;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-vespa:hover {
    background-color: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
    color: white;
}

/* Result Page Tweaks */
.result-container {
    padding-top: 100px;
    /* Space for navbar */
    min-height: 100vh;
    background: #f8f9fa;
    color: #333;
}

.public-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .glass-card {
        padding: 1.5rem;
        margin: 0 15px;
        /* Add side margins on mobile */
    }

    .navbar-brand img {
        height: 32px;
    }

    .result-container {
        padding-top: 80px;
    }

    .public-footer {
        position: relative;
        /* Allow flow on mobile */
        margin-top: 2rem;
    }
}