/**
 * GVA TO ALPS - Destination Pages Styles
 */

/* Hero Section */
.dest-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 80px;
}

.dest-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(0,0,0,0.7) 100%);
}

.dest-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    color: var(--color-white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-base);
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb-sep {
    opacity: 0.5;
}

.dest-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* S189 28.11: cap 64->56 px la >=1120 px ca H1 sa stea pe 1 rand pe 48/65 pagini (era 17/65) si butonul de rezervare sa ramana in primul ecran la 1366x650 */
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.dest-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.dest-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    min-width: 140px;
}

.stat-box.stat-price {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.stat-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
}

.stat-price .stat-value {
    color: #d4af37;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.btn-book-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #d4af37 0%, #aa8a2c 100%);
    color: #0a0a0a;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-book-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
}

/* Details Section */
.dest-details {
    padding: 80px 0;
    background: var(--color-bg);
}

.dest-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

.dest-main h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.dest-main h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    color: var(--color-text);
}

.dest-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.dest-main p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.dest-highlights {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.dest-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--color-text);
}

.dest-highlights svg {
    width: 20px;
    height: 20px;
    stroke: #d4af37;
    flex-shrink: 0;
}

.dest-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.dest-feature {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.dest-feature .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 12px;
}

.dest-feature .feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #d4af37;
}

.dest-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.dest-feature p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Sidebar */
.dest-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-card,
.info-card,
.contact-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.75rem;
}

.booking-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.route-display {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.route-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.route-dot.start {
    background: #4ade80;
}

.route-dot.end {
    background: #d4af37;
}

.route-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #4ade80, #d4af37);
    margin-left: 5px;
}

.price-tiers {
    margin-bottom: 1rem;
}

.price-tiers h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

.tier:last-child {
    border-bottom: none;
}

.tier span:first-child {
    color: var(--color-text-muted);
}

.tier-price {
    font-weight: 600;
    color: var(--color-text);
}

.booking-card .note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.btn-book-full {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #d4af37 0%, #aa8a2c 100%);
    color: #0a0a0a;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-book-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.info-card h4,
.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.included-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.included-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.included-list svg {
    width: 18px;
    height: 18px;
    stroke: #4ade80;
    flex-shrink: 0;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d4af37;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-link svg {
    width: 18px;
    height: 18px;
}

/* Other Destinations */
.other-destinations {
    padding: 80px 0;
    background: rgba(0,0,0,0.2);
}

.other-destinations h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.other-dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.other-dest-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
}

.other-dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.other-dest-card:hover img {
    transform: scale(1.1);
}

.other-dest-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    transition: all 0.3s ease;
}

.other-dest-card:hover .other-dest-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
}

.other-dest-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.view-route {
    font-size: 0.9rem;
    color: #d4af37;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.other-dest-card:hover .view-route {
    opacity: 1;
    transform: translateY(0);
}

/* R171: nearby destinations links */
.nearby-dest-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text);
    text-align: center;
    margin: 2.5rem 0 1rem;
}

.nearby-dest-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.nearby-dest-list a {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--color-primary-dark);
    border-radius: 999px;
    background: rgba(255,255,255,0.6);
    color: var(--color-dark);
    text-decoration: none;
    font-size: 0.95rem;
}

.nearby-dest-list a:hover {
    background: var(--color-primary-light);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.footer-links a,
.footer-contact a {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition-base);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #d4af37;
}

/* T7 25.11.2026: main.css sets .footer-links to display:flex (one row), which widened
   the footer grid columns past the viewport. Keep the columns stacked and shrinkable. */
.footer-grid > * {
    min-width: 0;
}

.footer-grid .footer-links {
    display: block;
}

.footer-grid .footer-contact a {
    overflow-wrap: anywhere;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Header Dark */
.header-dark {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 1024px) {
    .dest-grid {
        grid-template-columns: 1fr;
    }
    
    .dest-sidebar {
        order: -1;
    }
    
    .other-dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dest-hero {
        min-height: 80vh;
        background-attachment: scroll;
        padding: 100px 15px 60px;
    }
    
    .dest-hero h1 {
        font-size: 2rem;
    }
    
    .dest-hero-subtitle {
        font-size: 1rem;
    }
    
    .dest-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-box {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 1.25rem;
    }
    
    .stat-icon {
        order: 0;
        margin-bottom: 0;
        margin-right: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
        order: 2;
    }
    
    .stat-label {
        flex: 1;
        text-align: left;
        order: 1;
        margin-top: 0;
    }
    
    .btn-book-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .dest-details {
        padding: 50px 0;
    }
    
    .dest-features {
        grid-template-columns: 1fr;
    }
    
    .other-dest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .other-dest-card {
        aspect-ratio: 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .dest-hero h1 {
        font-size: 1.75rem;
    }
    
    .booking-card,
    .info-card,
    .contact-card {
        padding: 1.25rem;
    }
}

/* S132 Sofia 26.11.2026: --color-text / --color-text-muted are not defined anywhere, so the footer text fell back to the
   body colour #1a1a1a on the #0a0a0a footer (contrast 1.1, footer links, contact and headings practically invisible on the
   53 destination pages + ski-transfers). Footer only; the content sections are on light backgrounds and stay as they are. */
.footer .footer-brand p,
.footer .footer-links a,
.footer .footer-contact a,
.footer .footer-bottom p { color: #a3a3a3; }
.footer .footer-links h4,
.footer .footer-contact h4 { color: #f2f2f2; }
.footer .footer-links a:hover,
.footer .footer-contact a:hover { color: #d4af37; }
/* S132: the e-mail link in the contact card was #d4af37 on white (contrast 2.1); darker gold of the same tone, contrast ~5. */
.contact-card .contact-link { color: #8a6a12; }
/* S160 (Sofia 27.11.2026): 'Need Help?' card has phone + WhatsApp + e-mail; stacked links with 44 px tap height. */
.contact-card .contact-link { min-height: 44px; padding: 0.3rem 0; }
.contact-card .contact-link + .contact-link { border-top: 1px solid rgba(0,0,0,0.06); }
.contact-card .contact-link--tel { font-weight: 600; color: #1a1a1a; }
.contact-card .contact-link--wa { color: #0f7a40; font-weight: 600; } /* 5.4 on white */
/* S190b (Sofia 28.11.2026): on the FR destination pages the 6 header labels wrapped onto 2 lines at every desktop width
   (header 73 px, 'NOTRE / FLOTTE', 'TRANSFERTS / SKI', 'CONTACTEZ- / NOUS'; 0 px free in the 1140 px container with the 32 px gap).
   Each label stays on one line and the gap drops to 24 px, so the row fits with air on both sides. Only >= 1201 px (below, the mobile menu). */
@media (min-width: 1201px) {
  .header .nav { gap: 1.5rem; }
  .header .nav-link { white-space: nowrap; }
}
/* Sofia S192 (P76, 28.11.2026): booking row after the 'by bus' sections in .dest-main (destination.php). Inline on desktop, full width on phones. */
.dest-main .dest-sec-cta { margin: 0 0 1.75rem; }
.dest-main .dest-sec-cta .btn-book-full { display: inline-block; width: auto; padding: .9rem 1.75rem; }
@media (max-width: 768px) {
  .dest-main .dest-sec-cta .btn-book-full { display: block; width: 100%; }
}
