/* ============================================================================
   HERO SECTION - PREMIUM LUXURY DESIGN
   ============================================================================ */

.hero-section {
    padding: 0 16px 32px;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
   
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

    .hero-image.loaded {
        opacity: 1;
    }

.hero-container:hover .hero-image.loaded {
    transform: scale(1.03);
}

/*.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 35%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}*/

.hero-content {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
}

/* ============================================================================
   STATUS BADGE - PREMIUM
   ============================================================================ */

.hero-top-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-badge.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

    .top-badge.status.open {
        background: linear-gradient(135deg, rgba(52, 211, 153, 0.95), rgba(16, 185, 129, 0.95));
        color: white;
    }

    .top-badge.status.closed {
        background: rgba(107, 114, 128, 0.95);
        color: white;
    }

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.top-badge.status.open .badge-dot {
    animation: pulse 2.5s ease-in-out infinite;
}

/* ============================================================================
   LUXURY CONTENT LAYOUT
   ============================================================================ */

.hero-center {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-header-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.hero-profile {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .hero-profile:hover {
        transform: scale(1.05);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
    }

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hero-title {
    font-size: clamp(28px, 5.5vw, 42px);
    font-weight: 900;
    color: white;
    margin: 0;
    letter-spacing: -1.2px;
    line-height: 1;
    text-shadow: 0 6px 32px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.hero-location-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

    .hero-location-inline:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        color: white;
    }

    .hero-location-inline svg {
        flex-shrink: 0;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

.hero-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

    .hero-action-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.35);
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .hero-action-btn:active {
        transform: translateY(-2px) scale(1.02);
    }

    .hero-action-btn svg {
        flex-shrink: 0;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    .hero-action-btn span {
        display: none;
    }

/* ============================================================================
   MODAL
   ============================================================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

    .modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
        animation: fadeIn 0.3s ease;
    }

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideUpModal 0.4s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

    .modal-header h2 {
        margin: 0;
        font-size: 26px;
        font-weight: 800;
        color: #1a1a1a;
    }

.modal-close {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .modal-close:hover {
        background: #e5e5e5;
        transform: rotate(90deg);
    }

    .modal-close svg {
        stroke: #1a1a1a;
    }

.modal-body {
    padding: 28px;
}

.info-item {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}

    .info-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #666;
    margin-bottom: 10px;
}

    .info-label svg {
        stroke: #666;
    }

.info-value {
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.6;
}

    .info-value a {
        color: #667eea;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .info-value a:hover {
            color: #764ba2;
        }

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8f8f8;
}

    .hours-row.today {
        background: #e8f5e9;
        font-weight: 600;
    }

.day-name {
    font-weight: 600;
    color: #1a1a1a;
}

.hours-time {
    color: #666;
}

.hours-row.today .hours-time {
    color: #2e7d32;
}

/* ============================================================================
   PARTICLES
   ============================================================================ */

.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0.3;
    animation: floatParticle 8s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translate(20px, -30px) rotate(5deg);
        opacity: 0.5;
    }

    50% {
        transform: translate(-15px, -60px) rotate(-5deg);
        opacity: 0.7;
    }

    75% {
        transform: translate(30px, -30px) rotate(3deg);
        opacity: 0.5;
    }
}

/* ============================================================================
   RESPONSIVE - DESKTOP
   ============================================================================ */

@media (min-width: 768px) {
    .hero-section {
        padding: 0 28px 48px;
    }

    .hero-container {
        height: 480px;
        max-width: 1100px;
        margin: 0 auto;
        border-radius: 32px;
    }

    .hero-content {
        padding: 36px;
    }

    .top-badge.status {
        padding: 12px 22px;
        font-size: 14px;
        gap: 10px;
    }

    .badge-dot {
        width: 8px;
        height: 8px;
    }

    .hero-center {
        gap: 24px;
    }

    .hero-header-row {
        gap: 24px;
        align-items: center;
    }

    .hero-profile {
        width: 105px;
        height: 105px;
        border: 5px solid rgba(255, 255, 255, 0.2);
    }

    .hero-text-content {
        gap: 12px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-location-inline {
        font-size: 14px;
        padding: 10px 18px;
        gap: 9px;
    }

        .hero-location-inline svg {
            width: 15px;
            height: 15px;
        }

    .hero-actions-row {
        gap: 14px;
    }

    .hero-action-btn {
        width: 58px;
        height: 58px;
    }

        .hero-action-btn svg {
            width: 24px;
            height: 24px;
        }
}

/* ============================================================================
   RESPONSIVE - MOBILE
   ============================================================================ */

@media (max-width: 480px) {
    .hero-section {
        padding: 0 14px 28px;
    }

    .hero-container {
        height: 356px;
        border-radius: 13px;
    }

    .hero-content {
        padding: 22px;
    }

    .top-badge.status {
        padding: 8px 14px;
        font-size: 12px;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
    }

    .hero-center {
        gap: 16px;
    }

    .hero-header-row {
        gap: 14px;
    }

    .hero-profile {
        width: 70px;
        height: 70px;
        border: 3px solid rgb(136 136 136 / 77%);
    }

    .hero-text-content {
        gap: 8px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-location-inline {
        font-size: 12px;
        padding: 7px 12px;
        gap: 6px;
    }

        .hero-location-inline svg {
            width: 12px;
            height: 12px;
        }

    .hero-actions-row {
        gap: 10px;
    }

    .hero-action-btn {
        width: 46px;
        height: 46px;
    }

        .hero-action-btn svg {
            width: 20px;
            height: 20px;
        }

    .modal {
        padding: 10px;
    }

    .modal-content {
        border-radius: 20px;
    }

    .modal-header {
        padding: 22px;
    }

        .modal-header h2 {
            font-size: 22px;
        }

    .modal-close {
        width: 36px;
        height: 36px;
    }

    .modal-body {
        padding: 22px;
    }

    .info-item {
        margin-bottom: 22px;
        padding-bottom: 22px;
    }
}

/* ============================================================================
   RESPONSIVE - SMALL MOBILE
   ============================================================================ */

@media (max-width: 380px) {
    .hero-container {
        height: 340px;
    }

    .hero-header-row {
        gap: 10px;
    }

    .hero-profile {
        width: 55px;
        height: 55px;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero-location-inline {
        font-size: 10px;
        padding: 4px 8px;
        gap: 4px;
    }

        .hero-location-inline svg {
            width: 10px;
            height: 10px;
        }

    .hero-actions-row {
        gap: 6px;
    }

    .hero-action-btn {
        width: 36px;
        height: 36px;
    }

        .hero-action-btn svg {
            width: 16px;
            height: 16px;
        }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

.hero-location-link:focus-visible,
.hero-action-btn:focus-visible,
.modal-close:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .particle {
        display: none;
    }
}
