.hero-premium {
    position: relative;
    padding: 80px 0 100px;
    background: #f8fbff;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 184, 192, 0.15);
    top: -100px;
    right: -100px;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 193, 7, 0.1);
    bottom: -50px;
    left: -50px;
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 184, 192, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #5d5d5d;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    color: #2d2d2d;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #00b8c0, #00d3d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight {
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(0, 184, 192, 0.1);
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-search-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0px;
    position: relative;
}

.field-icon {
    font-size: 20px;
    color: #00b8c0;
}

.search-input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 12px 0 !important;
    font-size: 15px !important;
    color: #2d2d2d !important;
    font-style: normal !important;
}

.search-input::placeholder {
    color: #adb5bd !important;
}

.search-divider {
    width: 1px;
    height: 32px;
    background: #e9ecef;
}

.map-trigger {
    background: rgba(0, 184, 192, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #00b8c0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.map-trigger:hover {
    background: #00b8c0;
    color: white;
}

.search-submit {
    background: #00b8c0;
    color: white;
    border: none;
    padding: 0 28px;
    height: 52px;
    border-radius: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-submit:hover {
    background: #009ea5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 192, 0.3);
}

.hero-quick-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.action-hint {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.action-tag {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 50px;
    background: white;
    color: #5d5d5d;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}

.action-tag:hover {
    border-color: #00b8c0;
    color: #00b8c0;
    background: rgba(0, 184, 192, 0.05);
}

.action-tag-special {
    background: linear-gradient(135deg, #00b8c0, #00d3d4);
    color: white !important;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 184, 192, 0.2);
}

.action-tag-special:hover {
    background: linear-gradient(135deg, #009ea5, #00b8c0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 184, 192, 0.3);
}

.hero-visual {
    position: relative;
    perspective: 2000px;
    display: flex;
    justify-content: flex-end;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    max-width: 520px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .hero-image-stack {
    transform: rotateY(-5deg) rotateX(2deg);
}

.stack-layer {
    position: absolute;
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.layer-back {
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 192, 0.08), rgba(0, 211, 212, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 184, 192, 0.15);
    z-index: 0;
    transform: translateZ(-40px) rotate(4deg);
}

.layer-middle {
    top: 15px;
    left: -25px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    z-index: 1;
    transform: translateZ(-20px) rotate(-2deg);
}

.hero-visual:hover .layer-back {
    transform: translate3d(-10px, -10px, -60px) rotate(6deg);
}

.hero-visual:hover .layer-middle {
    transform: translate3d(10px, 10px, -30px) rotate(-4deg);
}

.hero-image-container {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    background: white;
    padding: 14px;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.12);
    transform: translateZ(0);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 28px;
    display: block;
    transition: transform 0.6s ease;
}

.hero-visual:hover .hero-image {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(50px);
}

.floating-card:hover {
    transform: translateZ(80px) translateY(-8px) scale(1.08);
    background: white;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.fc-1 {
    top: 10%;
    left: -50px;
}

.fc-2 {
    bottom: 15%;
    right: -40px;
}

.fc-3 {
    bottom: 5%;
    left: -10px;
}

.floating-card i {
    color: white;
    background: linear-gradient(135deg, #00b8c0, #00d3d4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 184, 192, 0.3);
}

.floating-card span {
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
    letter-spacing: -0.3px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) translate3d(0, 0, -100px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translate3d(0, 0, 0);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-badge.animate-fade-in { animation-delay: 0.1s; }
.hero-title.animate-fade-in { animation-delay: 0.2s; }
.hero-subtitle.animate-fade-in { animation-delay: 0.3s; }
.hero-search-glass.animate-fade-in { animation-delay: 0.4s; }
.hero-quick-actions.animate-fade-in { animation-delay: 0.5s; }
.hero-image-stack.animate-fade-in { animation-delay: 0.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateZ(50px); }
    50% { transform: translateY(-15px) translateZ(70px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

@media (max-width: 1200px) {
    .hero-title { font-size: 48px; }
    .hero-grid { gap: 40px; }
}

@media (max-width: 991px) {
    .hero-premium { padding: 80px 0 60px; }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-badge { justify-content: center; }
    .hero-search-glass { max-width: 600px; margin: 0 auto; }
    .hero-quick-actions { justify-content: center; }
    .search-divider { display: none; }
    .search-form { flex-direction: column; align-items: stretch; }
    .hero-visual { margin-top: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
    .floating-card { display: none; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .search-submit span { display: none; }
    .search-submit { width: 100%; justify-content: center; }
}

#location-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px;
    overflow-x: hidden !important;
}

.modal-content-wrapper {
    position: relative;
    background: #ffffff;
    margin: 5vh auto;
    width: 100%;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden !important;
    overflow-x: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.modal-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: none;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-body {
    position: relative;
    height: 400px;
    background: #f1f5f9;
    overflow: hidden !important;
}

#map {
    width: 100%;
    height: 100%;
}

.modal-footer {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: center;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #00b8c0, #00d3d4);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 184, 192, 0.2);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 184, 192, 0.3);
}

@media (max-width: 768px) {
    #location-modal {
        padding: 5px;
    }
    .modal-content-wrapper {
        margin: 10px auto;
        border-radius: 16px;
    }
    .modal-body {
        height: 300px;
    }
}

.gm-style-iw {
    max-width: 160px !important;
    padding: 8px !important;
}

.gm-style-iw-d {
    overflow: hidden !important;
    max-width: 140px !important;
}

.gm-style-iw-d > div {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}
