/* --- General Section Styles --- */
.urbania-variants {
    padding: 80px 20px;
    background: #f4f6fb;
    font-family: 'Poppins', sans-serif;
}

/* --- Header Section --- */
.variants-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.variants-header h1 {
    font-size: 36px;
    color: #1e2b63;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.variants-header h1 span {
    color: #f7931e;
}

.variants-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.variants-header .title-line {
    width: 80px;
    height: 4px;
    background: #f7931e;
    margin: 15px auto;
    border-radius: 2px;
}

/* --- Grid Container --- */
.variant-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Card Styling --- */
.variant-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .4s;
    position: relative;
}

.variant-card:hover {
    transform: translateY(-8px);
}

.variant-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.variant-body {
    padding: 20px;
}

.variant-body h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #1e2b63;
}

/* --- Info Rows --- */
.variant-info {
    background: #f1f4fa;
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

/* --- Buttons --- */
.variant-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

.btn-details { background: #1e2b63; color: #fff; }
.btn-quote { background: #093115; color: #fff; }

.btn:hover { 
    opacity: .9; 
    transform: scale(1.02); 
}

/* --- Popup Modal (Overlay) --- */
.quote-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,.6);
    display: none; 
    justify-content: center; 
    align-items: center; 
    z-index: 9999;
}

.quote-modal {
    width: 400px; 
    background: #fff; 
    border-radius: 30px; 
    padding: 30px 25px;
    position: relative; 
    animation: fadeIn .4s ease;
}

@keyframes fadeIn { 
    from { transform: translateY(40px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}

.quote-modal h3 {
    text-align: center; 
    background: #2f3a8f; 
    color: #fff; 
    padding: 15px;
    border-radius: 30px; 
    margin: -50px auto 20px auto; 
    width: 80%;
    font-size: 18px;
}

.close-btn {
    position: absolute; 
    right: -10px; 
    top: -10px; 
    background: #ffc107;
    width: 35px; 
    height: 35px; 
    border-radius: 50%; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    font-weight: bold;
}

.quote-modal input, .quote-modal textarea {
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border-radius: 10px;
    border: 1px solid #ddd; 
    outline: none;
    box-sizing: border-box;
}

.quote-modal button {
    width: 100%; 
    padding: 12px; 
    border: none; 
    border-radius: 30px;
    background: #333; 
    color: #fff; 
    font-weight: 600; 
    cursor: pointer;
}

/* --- Responsive Media Queries --- */
@media(max-width:992px) { 
    .variant-container { grid-template-columns: 1fr 1fr; } 
}

@media(max-width:600px) { 
    .variant-container { grid-template-columns: 1fr; } 
    .quote-modal { width: 90%; } 
}