/* Map Styles */
#map {
    height: 200px;
    width: 100%;
}

#mapPopup {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
    display: none;
    width: 95%;
    max-width: 600px;
    color: black;
}

.map-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Range Slider Styles */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #007bff;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #007bff;
    cursor: pointer;
    border-radius: 50%;
}

/* City List Styles */
#cityList {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000;
    display: none;
}

#cityList li {
    padding: 10px;
    cursor: pointer;
    color: black;
}

#cityList li:hover {
    background-color: #f1f1f1;
}

/* Form Styles */
form .form-control {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    max-width: 100%;
}

form .form-select {
    padding: 0.75rem;
    font-size: 1rem;
}

form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

/* Section Title */
.home-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #886ab5;
    margin-bottom: 2rem;
    text-align: center;
}

/* Video Container */
.video-container {
    aspect-ratio: 16 / 9;
}

/* Card Container */
.card-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.card-deck {
    display: flex;
    flex-wrap: nowrap;
    flex: 1;
    margin: 0 10px;
}

.carder {
    flex: 0 0 auto;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.icon-circle {
    height: 150px;
    aspect-ratio: 1;
    background-color: #906cb4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.arrow-icon {
    font-size: 24px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 10px;
    cursor: pointer;
}

.arrow-icon.disabled {
    color: white;
    cursor: not-allowed;
}

.card-img-top {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Card Sizes */
@media (max-width: 576px) {
    .carder {
        flex: 0 0 100%;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .carder {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .carder {
        width: 33.33%;
    }
}

@media (min-width: 993px) {
    .carder {
        width: 25%;
    }
}

/* Cookie Consent Banner */
#alertCookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    z-index: 9999;
    display: none;
    border-top: 3px solid #6a4c93;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#alertCookie.show {
    display: block;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-text h4 i {
    color: #6a4c93;
    font-size: 1.1rem;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #6a4c93;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    color: #553a7a;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #6a4c93 0%, #8b5fbf 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #553a7a 0%, #6a4c93 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 76, 147, 0.4);
}

.cookie-btn-decline {
    background: white;
    color: #4a5568;
    border: 2px solid #cbd5e0;
}

.cookie-btn-decline:hover {
    background: #f7fafc;
    border-color: #6a4c93;
    color: #6a4c93;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    #alertCookie {
        padding: 15px 0;
    }
    
    .cookie-consent-text h4 {
        font-size: 0.9rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

