/* Public Page Styles */

/* Import premium fonts - including Cairo for Arabic */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&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;
    color: #fff;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('../images/The-Vespa-Way3.jpg') no-repeat center center scroll;
    background-size: cover;
}
    body.public-page .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* Dark overlay for text readability */
    }

/* Navbar */
.navbar {
    background: none !important;
    box-shadow:none;
    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: 91vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/The-Vespa-Way3.jpg') 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;
    min-height: 91vh;
    background: transparent;
    color: #333;
}

.public-footer {
    margin-top: auto;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
}

/* 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;
    }

}
.text-gray{
    color:#686868;
}
.value-warper{
    border: 1px solid #eee;
    padding: 9px 34px;
    border-radius: 50px;
}
.form-label{
    font-weight: 400;
}
.btn-link{
    box-shadow:none !important;
    font-weight:400;
}
.fw-bold{font-weight: 600 !important;}
.fs-5 {
    font-size: 1.15rem !important;
}

/* Custom icon colors */
.text-success-custom {
    color: #2ecc71 !important;
}
.form-control-sm, .form-select-sm{

}

/* RTL Support for Arabic */
[dir="rtl"] body.public-page,
[dir="rtl"] .glass-card,
[dir="rtl"] .form-control,
[dir="rtl"] .form-select,
[dir="rtl"] .btn,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .hero-title {
    font-family: 'Cairo', sans-serif;
    font-style: normal;
}

[dir="rtl"] .glass-card h2 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .hero-content {
    text-align: center;
}

[dir="rtl"] .glass-card {
    text-align: right;
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .me-1, [dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .bi-arrow-right::before {
    content: "\f12f"; /* Bootstrap Icons arrow-left */
}

[dir="rtl"] .bi-chevron-right::before {
    content: "\f284"; /* Bootstrap Icons chevron-left */
}

[dir="rtl"] .input-group-text {
    border-radius: 0 8px 8px 0 !important;
}

[dir="rtl"] .input-group .form-control {
    border-radius: 8px 0 0 8px !important;
}

[dir="rtl"] .border-start-0 {
    border-left: 1px solid #dee2e6 !important;
    border-right: 0 !important;
}

[dir="rtl"] .border-end-0 {
    border-right: 1px solid #dee2e6 !important;
    border-left: 0 !important;
}

[dir="rtl"] .form-check-inline {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .form-check-input {
    float: right;
    margin-left: 0.5rem;
    margin-right: -1.5rem;
}

[dir="rtl"] .alert {
    text-align: right;
}

[dir="rtl"] .value-warper {
    text-align: right;
}

[dir="rtl"] .card-body {
    text-align: right;
}

[dir="rtl"] .card-header {
    text-align: center;
}

[dir="rtl"] .d-grid .btn {
    text-align: center;
}

[dir="rtl"] .lang-toggle {
    order: 1;
}

/* RTL responsive adjustments */
@media (max-width: 768px) {
    [dir="rtl"] .glass-card {
        text-align: right;
    }
}