/*
 * Kaptain One - Mobile Menu & Responsive Additions
 */

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line-subtle);
    border-bottom: 1px solid var(--line-subtle);
    padding: 1.25rem 1rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

@media (max-width: 1180px) {
    .nav-links {
        gap: 0.15rem;
    }

    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.88rem;
    }

    .nav-cta .btn {
        padding: 0.82rem 1.2rem;
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-container {
        min-height: 76px;
    }

    .nav-logo-image {
        height: 62px;
        max-width: min(300px, 52vw);
    }
}

/* Card hover effects */
.card-feature {
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.card-feature:hover::before {
    transform: translateX(100%);
}

/* Premium services band */
@media (max-width: 1199px) {
    .services-premium-band__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .executive-card {
        min-height: 294px;
    }
}

@media (max-width: 767px) {
    .booking-card {
        grid-template-columns: 1fr;
    }

    .booking-card__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .notification-menu {
        width: 100%;
    }

    .notification-dropdown {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
        width: auto;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .services-premium-band {
        padding: 4.25rem 0;
    }

    .services-premium-band__intro {
        margin-bottom: 2rem;
        text-align: left;
    }

    .services-premium-band__text {
        margin: 0;
        max-width: 100%;
    }

    .services-premium-band__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .executive-card {
        min-height: auto;
        padding: 1.2rem 1.15rem 1.1rem;
        border-radius: 20px;
    }

    .executive-card__head {
        gap: 0.8rem;
        margin-bottom: 1.05rem;
    }

    .executive-card__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .executive-card__title {
        font-size: 1.34rem;
    }

    .executive-card__description {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.68;
    }

    .executive-card__footer {
        padding-top: 1.3rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.72rem 0;
    }

    .nav-container {
        gap: 0.85rem;
        min-height: 68px;
    }

    .nav-logo-image {
        height: 52px;
        max-width: min(250px, 60vw);
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
}

@media (max-width: 479px) {
    .services-premium-band__title {
        font-size: 1.9rem;
    }

    .executive-card__label {
        font-size: 0.69rem;
        letter-spacing: 0.16em;
    }
}

/* Button loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Alert messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #27ae60;
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* Page hero (non-homepage) */
.page-hero {
    padding: 12rem 0 6rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

/* Blog cards */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination a {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.pagination a:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.pagination .current {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

@media (max-width: 560px) {
    .listing-photo-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-form__actions .btn {
        width: 100%;
    }

    .listing-lightbox__image {
        max-width: 94vw;
        max-height: 78vh;
    }

    .listing-lightbox__nav {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .listing-lightbox__nav--prev {
        left: calc(50% - 4rem);
    }

    .listing-lightbox__nav--next {
        right: calc(50% - 4rem);
    }
}
