/* Accommodation Page Styles */

/* CSS Variables */
:root {
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --orange-500: #f97316;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --purple-500: #8b5cf6;
}

/* Page Header */
.page-header {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-header h1 {
        font-size: 3.5rem;
    }
}

.page-header p {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

.page-header-highlight {
    color: var(--amber-400);
}

/* UCI Stripe */
.uci-stripe {
    height: 4px;
    background: linear-gradient(90deg,
        #0033A0 0%, #0033A0 20%,
        #C8102E 20%, #C8102E 40%,
        #000000 40%, #000000 60%,
        #FFD100 60%, #FFD100 80%,
        #009639 80%, #009639 100%
    );
}

/* Tab Navigation */
.tab-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 76px;
    z-index: 50;
}

.tab-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.tab-link {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-link:hover {
    color: var(--gray-800);
    background: var(--gray-50);
}

.tab-link.active {
    color: var(--red-600);
    border-bottom-color: var(--red-600);
}

/* Content Sections */
.section {
    padding: 4rem 1.5rem;
}

.section-gray {
    background: var(--gray-50);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.section-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.section-icon.blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}

.section-icon.amber {
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
}

.section-icon.green {
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--red-600);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.25rem;
    letter-spacing: 0.02em;
    color: var(--gray-800);
    margin: 0;
}

.section-intro {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Airport Card */
.airport-card {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-radius: 1.5rem;
    padding: 2rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .airport-card {
        flex-direction: row;
        align-items: center;
        padding: 2.5rem;
    }
}

.airport-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.airport-icon svg {
    width: 40px;
    height: 40px;
}

.airport-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.airport-info p {
    opacity: 0.9;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.airport-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.airport-stats .stat {
    display: flex;
    flex-direction: column;
}

.airport-stats .stat-value {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.5rem;
}

.airport-stats .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Transport Title */
.transport-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1.5rem 0;
}

/* Transport Grid */
.transport-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .transport-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Transport Card */
.transport-card {
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s;
}

.transport-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.transport-header {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.transport-header.metro { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.transport-header.bus { background: linear-gradient(135deg, #22c55e, #16a34a); }
.transport-header.taxi { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.transport-header.rideshare { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.transport-header.car { background: linear-gradient(135deg, #64748b, #475569); }
.transport-header.private { background: linear-gradient(135deg, #1f2937, #111827); }

.transport-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-icon svg {
    width: 24px;
    height: 24px;
}

.transport-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(255,255,255,0.25);
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.best { background: #22c55e; }
.badge.convenient { background: #8b5cf6; }
.badge.freedom { background: #f97316; }
.badge.premium { background: #fbbf24; color: #1f2937; }

.transport-body {
    padding: 1.25rem;
}

.transport-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
}

.transport-instructions h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 0.5rem 0;
}

.transport-instructions ol,
.transport-instructions ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.transport-instructions li {
    margin-bottom: 0.25rem;
}

.transport-tip,
.transport-warning {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.transport-tip {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.transport-warning {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Driving Info */
.driving-info {
    margin-top: 3rem;
    background: var(--white);
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    padding: 2rem;
}

.driving-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1.5rem 0;
}

.driving-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .driving-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.driving-card {
    background: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
}

.driving-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 0.25rem 0;
}

.driving-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0 0 0.5rem 0;
}

.driving-time {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.25rem;
    color: var(--blue-600);
}

.driving-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #854d0e;
    line-height: 1.6;
}

.driving-note a {
    color: var(--blue-600);
    text-decoration: underline;
}

/* Hotel Filters */
.hotel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.filter-btn.active {
    background: var(--red-600);
    border-color: var(--red-600);
    color: var(--white);
}

/* Hotels Grid */
.hotels-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hotels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Hotel Card */
.hotel-card {
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s;
}

.hotel-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-6px);
}

.hotel-card.hidden {
    display: none;
}

.hotel-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.hotel-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.25rem;
    color: var(--white);
}

.hotel-badge.luxury { background: #1f2937; }
.hotel-badge.midrange { background: var(--blue-600); }
.hotel-badge.budget { background: var(--green-600); }
.hotel-badge.airbnb { background: #ff5a5f; }
.hotel-badge.partner {
    background: var(--amber-400);
    color: var(--gray-900);
    left: auto;
    right: 1rem;
}

.hotel-distance {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.75);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.hotel-content {
    padding: 1.25rem;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hotel-rating .stars {
    color: var(--amber-400);
    font-size: 0.875rem;
}

.hotel-rating .score {
    background: var(--green-600);
    color: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.hotel-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 0.375rem 0;
}

.hotel-address {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0 0 0.75rem 0;
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.hotel-features .feature {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    border-radius: 0.25rem;
    color: var(--gray-600);
}

.hotel-description {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.hotel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.hotel-price {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
}

.hotel-price .price-from {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.hotel-price .price {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.5rem;
    color: var(--gray-800);
}

.hotel-price .price-per {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.hotel-book-btn {
    padding: 0.625rem 1.25rem;
    background: var(--gray-800);
    color: var(--white);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.hotel-book-btn:hover {
    background: var(--gray-900);
}

.hotel-book-btn.partner {
    background: var(--red-600);
}

.hotel-book-btn.partner:hover {
    background: var(--red-700);
}

/* Booking Tips */
.booking-tips {
    margin-top: 3rem;
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    padding: 2rem;
}

.booking-tips h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.tips-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tips-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tip-item {
    text-align: center;
}

.tip-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tip-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }
}

/* Package Card */
.package-card {
    background: var(--white);
    border-radius: 1rem;
    border: 2px solid var(--gray-200);
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.package-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.package-card.featured {
    border-color: var(--red-600);
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .package-card.featured {
        transform: scale(1.05);
    }
}

.package-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red-600);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 0 0.5rem 0.5rem;
}

.package-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    color: var(--white);
}

.package-header.bronze { background: linear-gradient(135deg, #92400e, #78350f); }
.package-header.silver { background: linear-gradient(135deg, #64748b, #475569); }
.package-header.gold { background: linear-gradient(135deg, #fbbf24, #d97706); }

.package-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.package-header p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.package-price {
    text-align: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.package-price .currency {
    font-size: 1.25rem;
    color: var(--gray-500);
    vertical-align: top;
}

.package-price .amount {
    font-family: 'Racing Sans One', cursive;
    font-size: 3rem;
    color: var(--gray-800);
}

.package-price .per {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.package-features {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.package-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li.included {
    color: var(--gray-700);
}

.package-features li.not-included {
    color: var(--gray-400);
    text-decoration: line-through;
}

.package-btn {
    display: block;
    margin: 0 1.5rem 1.5rem;
    padding: 1rem;
    background: var(--gray-800);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.package-btn:hover {
    background: var(--gray-900);
}

.package-btn.featured {
    background: var(--red-600);
}

.package-btn.featured:hover {
    background: var(--red-700);
}

.package-btn.gold {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: var(--gray-900);
}

.package-btn.gold:hover {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

/* Custom Package CTA */
.custom-package {
    margin-top: 3rem;
    background: var(--gray-100);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .custom-package {
        flex-direction: row;
        text-align: left;
    }
}

.custom-icon {
    font-size: 2.5rem;
}

.custom-content {
    flex: 1;
}

.custom-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 0.25rem 0;
}

.custom-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.custom-btn {
    padding: 0.875rem 1.5rem;
    background: var(--gray-800);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.custom-btn:hover {
    background: var(--gray-900);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}