/* ========================================================================== */
/* Enhanced Button System - Consistent Design                                */
/* ========================================================================== */

/* Primary CTA Button - Premium Gradient Style */
.btn-cta-premium {
    position: relative;
    display: inline-block;
    padding: 1px;
    font-weight: 600;
    line-height: 1.5;
    color: white;
    background: #0a0a0a;
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.3);
    cursor: pointer;
    border-radius: 1rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ultra-Premium Book Now Button - Refined Glass + Gradient Edge */
/* Minimalist Book Now Button */
.btn-book-now {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
    padding: 0.6rem 1.05rem 0.6rem 0.9rem;
    color: #ffffff;
    background: #000000;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0.85rem;
    box-shadow: 0 2px 6px -2px rgba(0,0,0,0.6), 0 4px 14px -8px rgba(0,0,0,0.55);
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.45s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.4s ease;
}

.dark .btn-book-now {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 6px -2px rgba(0,0,0,0.5), 0 6px 18px -10px rgba(0,0,0,0.4);
    position: relative;
    color: #000000 !important;
}

.dark .btn-book-now:before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 0.65rem;
    background: linear-gradient(145deg, rgba(0,0,0,0.02), rgba(0,0,0,0.035));
    pointer-events: none;
}

.dark .btn-book-now:hover {
    background: #f8fafc;
    box-shadow: 0 8px 24px -14px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.08);
}

/* Micro sheen */
.btn-book-now:after {
    content: "";
    position: absolute;
    top: 0; left: -30%;
    width: 30%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-15deg);
    opacity: 0;
    pointer-events: none;
}

.btn-book-now:hover:after {
    animation: btn-sheen-mini 1.25s cubic-bezier(0.16,1,0.3,1);
}

@keyframes btn-sheen-mini {
    0% { left: -30%; opacity: 0; }
    15% { opacity: 1; }
    55% { left: 110%; opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-book-now:hover:after { animation: none; opacity: 0; }
}

.btn-book-now .btn-text { position: relative; font-weight: 600; color: #ffffff; }
.btn-book-now .btn-icon { width: 1.05rem; height: 1.05rem; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), color 0.35s ease; color: #ffffff; }
.dark .btn-book-now .btn-icon { color: #000000; }

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px -10px rgba(0,0,0,0.65), 0 10px 30px -14px rgba(0,0,0,0.55);
    background: #000000; /* keep solid */
}
.dark .btn-book-now:hover {
    box-shadow: 0 8px 26px -12px rgba(0,0,0,0.7), 0 10px 30px -16px rgba(0,0,0,0.65);
}

.btn-book-now:hover .btn-icon { transform: translateX(3px); }

.btn-book-now:active { transform: translateY(0); box-shadow: 0 3px 12px -6px rgba(0,0,0,0.6); }
.dark .btn-book-now:active { box-shadow: 0 3px 12px -6px rgba(0,0,0,0.65); }

/* Focus ring accessibility */
.btn-book-now:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; }

@media (max-width: 640px) {
    .btn-book-now { font-size: 0.74rem; padding: 0.55rem 0.9rem 0.55rem 0.8rem; }
    .btn-book-now .btn-icon { width: 0.95rem; height: 0.95rem; }
}

.btn-cta-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px -15px rgba(16, 185, 129, 0.5);
}

.btn-cta-premium:active {
    transform: scale(0.95);
}

.btn-cta-premium .btn-gradient-border {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(to right, #10b981, #06b6d4, #0ea5e9);
    padding: 2px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn-cta-premium:hover .btn-gradient-border {
    opacity: 1;
}

.btn-cta-premium .btn-content {
    position: relative;
    z-index: 10;
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    background: #0a0a0a;
}

.btn-cta-premium .btn-inner {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-cta-premium .btn-text {
    transition: all 0.5s ease;
}

.btn-cta-premium:hover .btn-text {
    transform: translateX(6px);
    color: #10b981;
}

.btn-cta-premium .btn-icon {
    width: 1.75rem;
    height: 1.75rem;
    transition: all 0.5s ease;
}

.btn-cta-premium:hover .btn-icon {
    transform: translateX(6px);
    color: #10b981;
}

/* Dark mode adjustments */
.dark .btn-cta-premium {
    background: #0a0a0a;
}

.dark .btn-cta-premium .btn-content {
    background: #0f0f0f;
}

/* Navigation Menu Link Animation */
.nav-link-animated {
    position: relative;
    font-size: 0.9375rem;
    color: #4b5563;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0.5rem 0.75rem;
}

.nav-link-animated:focus,
.nav-link-animated:hover {
    color: #111827;
}

.nav-link-animated::after {
    content: "";
    pointer-events: none;
    bottom: 0;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, #10b981, #06b6d4);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link-animated:focus::after,
.nav-link-animated:hover::after {
    width: 100%;
    left: 0%;
}

/* Dark mode for nav links */
.dark .nav-link-animated {
    color: #d1d5db;
}

.dark .nav-link-animated:focus,
.dark .nav-link-animated:hover {
    color: #ffffff;
}

.dark .nav-link-animated::after {
    background: linear-gradient(to right, #10b981, #06b6d4);
}

/* Secondary CTA Button - Lighter Version */
.btn-cta-secondary {
    position: relative;
    display: inline-block;
    padding: 1px;
    font-weight: 600;
    color: white;
    background: #1f2937;
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
    cursor: pointer;
    border-radius: 0.75rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-secondary:hover {
    transform: scale(1.05);
}

.btn-cta-secondary:active {
    transform: scale(0.95);
}

.btn-cta-secondary .btn-gradient-border {
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #14b8a6, #3b82f6, #8b5cf6);
    padding: 2px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn-cta-secondary:hover .btn-gradient-border {
    opacity: 1;
}

.btn-cta-secondary .btn-content {
    position: relative;
    z-index: 10;
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: #111827;
}

.btn-cta-secondary .btn-inner {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-secondary .btn-text {
    transition: all 0.5s ease;
}

.btn-cta-secondary:hover .btn-text {
    transform: translateX(4px);
}

.btn-cta-secondary .btn-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: all 0.5s ease;
}

.btn-cta-secondary:hover .btn-icon {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .btn-cta-premium .btn-content,
    .btn-cta-secondary .btn-content {
        padding: 0.625rem 1.25rem;
    }
    
    .btn-cta-premium .btn-inner,
    .btn-cta-secondary .btn-inner {
        gap: 0.5rem;
    }
    
    .btn-cta-premium .btn-icon,
    .btn-cta-secondary .btn-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .nav-link-animated {
        font-size: 0.875rem;
    }
}

/* Accessibility */
.btn-cta-premium:focus-visible,
.btn-cta-secondary:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.btn-book-now:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 3px;
}

.nav-link-animated:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 4px;
    border-radius: 0.25rem;
}

.btn-inner{
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================================= */
/* SINGLE ELEGANT BUTTON - Modern Minimal Design                 */
/* ============================================================= */
.btn {
    /* Single elegant style for ALL buttons */
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
    padding: 0.75rem 1.4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.15), 0 1px 3px rgba(15,23,42,0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(15,23,42,0.25), 0 3px 8px rgba(15,23,42,0.15);
    border-color: rgba(255,255,255,0.15);
}
.btn:active { 
    transform: translateY(0); 
    box-shadow: 0 2px 6px rgba(15,23,42,0.2);
}
.btn:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; }

/* Dark mode - same elegant style */
.dark .btn {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
}
.dark .btn:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 3px 8px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.18);
}

/* Icon styling */
.btn svg { 
    width: 1.1rem; 
    height: 1.1rem; 
    transition: transform 0.3s ease; 
}
.btn:hover svg { transform: translateX(3px); }

/* Subtle shine effect on hover */
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }
/* Size modifiers */
.btn--sm { font-size: 0.8rem; padding: 0.6rem 1.1rem; }
.btn--lg { font-size: 0.95rem; padding: 0.9rem 1.7rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn::before { display: none; }
  .btn { transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
}


/* ============================================================= */
/* Global Clean Button System (Non-Navbar)                       */
/* ============================================================= */
.btn-clean,
.btn-clean-alt {
    --btn-bg: #ffffff;
    --btn-text: #0f172a;
    --btn-border: rgba(15,23,42,0.12);
    --btn-hover-bg: #f8fafc;
    --btn-active-bg: #f1f5f9;
    --btn-radius: 0.85rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.015em;
    line-height: 1.2;
    padding: 0.65rem 1.15rem 0.65rem 1.05rem;
    background: var(--btn-bg);
    color: var(--btn-text);
    border: 1px solid var(--btn-border);
    border-radius: var(--btn-radius);
    box-shadow: 0 1px 2px rgba(15,23,42,0.07), 0 2px 6px -2px rgba(15,23,42,0.12);
    cursor: pointer;
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.dark .btn-clean,
.dark .btn-clean-alt {
    --btn-bg: rgba(17,24,39,0.82);
    --btn-text: #f1f5f9;
    --btn-border: rgba(255,255,255,0.08);
    --btn-hover-bg: rgba(31,41,55,0.88);
    --btn-active-bg: rgba(31,41,55,0.75);
    box-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 2px 6px -2px rgba(0,0,0,0.55);
}

.btn-clean:hover,
.btn-clean-alt:hover {
    background: var(--btn-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px -6px rgba(15,23,42,0.18);
}
.dark .btn-clean:hover,
.dark .btn-clean-alt:hover {
    box-shadow: 0 3px 12px -6px rgba(0,0,0,0.55);
}

.btn-clean:active,
.btn-clean-alt:active {
    background: var(--btn-active-bg);
    transform: translateY(0);
    box-shadow: 0 2px 6px -3px rgba(15,23,42,0.22);
}
.dark .btn-clean:active,
.dark .btn-clean-alt:active { box-shadow: 0 2px 6px -3px rgba(0,0,0,0.55); }

/* Focus ring */
.btn-clean:focus-visible,
.btn-clean-alt:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; }

/* Icon sizing */
.btn-clean svg,
.btn-clean-alt svg { width: 1rem; height: 1rem; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.btn-clean:hover svg,
.btn-clean-alt:hover svg { transform: translateX(3px); }

/* Alternate variant: subtle inverted emphasis */
.btn-clean-alt {
    --btn-bg: #0f172a;
    --btn-text: #ffffff;
    --btn-border: rgba(15,23,42,0.6);
    --btn-hover-bg: #1e293b;
    --btn-active-bg: #162233;
    box-shadow: 0 1px 2px rgba(15,23,42,0.5), 0 2px 6px -2px rgba(15,23,42,0.6);
}

.dark .btn-clean-alt {
    --btn-bg: #ffffff;
    --btn-text: #0f172a;
    --btn-border: rgba(255,255,255,0.25);
    --btn-hover-bg: #f1f5f9;
    --btn-active-bg: #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 2px 6px -2px rgba(0,0,0,0.55);
}

/* Automatic pairing: when two clean buttons are adjacent, second becomes alt style if not explicitly set */
.btn-clean + .btn-clean:not(.btn-clean-alt) { /* transform the second */
    --btn-bg: #0f172a;
    --btn-text: #ffffff;
    --btn-border: rgba(15,23,42,0.6);
    --btn-hover-bg: #1e293b;
    --btn-active-bg: #162233;
    box-shadow: 0 1px 2px rgba(15,23,42,0.5), 0 2px 6px -2px rgba(15,23,42,0.55);
}
.dark .btn-clean + .btn-clean:not(.btn-clean-alt) {
    --btn-bg: #ffffff;
    --btn-text: #0f172a;
    --btn-border: rgba(255,255,255,0.25);
    --btn-hover-bg: #f1f5f9;
    --btn-active-bg: #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 2px 6px -2px rgba(0,0,0,0.55);
}

@media (max-width: 640px) {
    .btn-clean,
    .btn-clean-alt { font-size: 0.76rem; padding: 0.55rem 0.95rem 0.55rem 0.85rem; }
}