/* Global Styles */
:root {
    --primary-color: #d4af37;
    /* Metallic Gold */
    --primary-hover: #b8860b;
    /* Dark Goldenrod */
    --secondary-color: #8b4513;
    /* Saddle Brown - Deep accent */
    --dark-bg: #0f0f0f;
    --text-light: #ffffff;
    --text-dim: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: #0f0f0f;
    /* User Provided Custom Background - Modern Terminal/Station */
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('assets/custom_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Navbar */
.navbar {
    position: fixed;
    /* Fixed for sticky behavior */
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    /* Dark background for visibility */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    /* Adjust based on navbar height */
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    /* Increase hit area vertically */
    display: inline-block;
}

.nav-links li:hover>a,
.nav-links li a:focus,
.nav-links li:focus-within > a,
.nav-links li a.active,
.dropdown-menu li a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
    /* Ensure li is positioned for absolute dropdown */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: auto;
    width: max-content;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    flex-direction: column;
    gap: 0;
    /* Reset gap from nav-links */
}

.nav-links li:hover .dropdown-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu li {
    width: 100%;
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: left;
    width: 100%;
}

.dropdown-menu li a:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Arrow tip */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 15px;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
}

.cta-button-small {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button-small:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--primary-color);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-hover);
}

/* Child Seats Styles */
.child-seats-group {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.child-seats-label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, transparent 0%, #0f0f0f 100%);
    pointer-events: none;
    z-index: 2;
}

/* Overlay for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-text {
    animation: fadeIn 1s ease-out;
}

.tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.subheadline {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    /* Slightly rounded corners for premium feel */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    /* Contrast text */
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    /* Glassy feel */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: var(--primary-color);
}

/* Hero Footer / Info Cards */
.hero-footer {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    display: flex;
    gap: 2rem;
    z-index: 10;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-card div {
    display: flex;
    flex-direction: column;
}

.info-card span {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

.info-card strong {
    font-size: 1rem;
    color: var(--text-light);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fleet Section */
.fleet-section {
    padding: 2rem 5%;
    background-color: transparent;
}

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

section[id] {
    scroll-margin-top: 140px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Single Row Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Equal Columns */
    gap: 2rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Lighter grey for cards */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    /* Remove padding to let image fill width */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

/* Images in cards */
.fleet-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #2a2a2a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
    border-radius: 0;
}

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

/* Card Content */
.card-content h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.specs {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: auto;
    /* Push to bottom of content area */
}

.specs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.specs i {
    color: var(--primary-color);
}

/* Card Buttons */
.btn-card {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    background: var(--primary-color);
    /* Match "Book Your Ride" */
    color: #000;
    /* Contrast text */
    border: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.btn-card:hover {
    background: var(--primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.btn-card.primary {
    /* Styles now redundant but kept for specificity if needed, though they match base .btn-card now */
    background: var(--primary-color);
    color: #000;
}

.btn-card.primary:hover {
    background: var(--primary-hover);
}

/* Services Section */
.services-section {
    padding: 2rem 5%;
    background-color: transparent;
}

/* Booking Section */
.booking-section {
    padding: 2rem 5%;
    background-color: transparent;
}

/* Prices Section */
.prices-section {
    padding: 2rem 5%;
    background-color: transparent;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.3s;
    flex: 1 1 250px;
    /* Flexible width with base */
    max-width: 350px;
    /* Prevent overly wide cards */
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Booking Section */


.booking-wrapper {
    display: flex;
    gap: 4rem;
    align-items: stretch;
    /* Stretch to equalize height */
    margin-top: 3rem;
    /* Spacing from title */
}

.booking-text {
    flex: 1;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

.booking-form {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.form-footer-image {
    flex-grow: 1;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    min-height: 150px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.form-footer-image:hover img {
    transform: scale(1.05);
}

.form-group-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #333;
}

/* Enhanced select styling */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.form-group select option {
    background: #1f1f1f;
    color: var(--text-light);
    padding: 0.5rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.2rem;
}

/* About Section */
.about-section {
    padding: 2rem 5%;
    background-color: transparent;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-item h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-item p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 5%;
    border-top: 1px solid #222;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.footer-socials a:hover {
    color: var(--primary-color);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 2rem;
    padding: 1rem;
    /* Space for shadow */
}

.prices-table {
    width: 100%;
    max-width: 750px;
    /* Constrain width further */
    margin: 0 auto;
    /* Center the table */
    border-collapse: separate;
    border-spacing: 0 8px;
    /* Gap between rows */
}

.prices-table thead th {
    padding: 0.8rem 1.5rem;
    text-align: left;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
}

/* Row Styling (Card Look) */
.prices-table tbody tr {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prices-table tbody tr:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

.prices-table tbody tr:hover td {
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.prices-table tbody tr:hover td:first-child {
    border-left-color: var(--primary-color);
}

.prices-table tbody tr:hover td:last-child {
    border-right-color: var(--primary-color);
}

/* Cell Styling */
.prices-table td {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

/* First and Last Cell Rounded Corners workaround */
.prices-table td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    /* Allow icon alignment */
    align-items: center;
    border-right: none;
}

.prices-table td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-left: none;
}

/* Highlight Price Columns */
.prices-table td:not(:first-child) {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.prices-table th:not(:first-child) {
    text-align: center;
}

/* Map marker icon for destination */
.prices-table td:first-child::before {
    content: '\f3c5';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1rem;
    opacity: 0.8;
}

/* Note below prices table */
.prices-note {
    text-align: center;
    color: var(--text-dim);
    margin-top: 2rem;
    font-size: 0.95rem;
}

.prices-note a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: 0.3s;
}

.prices-note a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 5%;
    background-color: transparent;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    /* Updated opacity for main container */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-item summary i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Active State */
.faq-item details[open] summary h3 {
    color: var(--primary-color);
}

.faq-item details[open] summary i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-content {
    padding-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.faq-content p {
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Booking Info Cards (Left Side) */
.booking-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: space-between;
    /* Distribute cards to fill height */
}

.info-card-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.info-card-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-card-item h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

.info-card-item.warning {
    border-left: 3px solid #ff4444;
    background: linear-gradient(90deg, rgba(255, 68, 68, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.info-card-item.warning h4 {
    color: #ff6b6b;
}

.bank-details {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: monospace;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.bank-details strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-mini a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
    padding: 2rem 5%;
    background-color: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 3rem;
}

.reviews-track-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    /* Ensure track takes full width */
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;

    /* Config for 3 items:
       Total width = 100%
       Formula: (100% - (items-1)*gap) / items
    */
    flex: 0 0 calc((100% - 4rem) / 3);
    min-height: 250px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.reviewer-info strong {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
}

.reviewer-info span {
    color: var(--text-dim);
    font-size: 0.85rem;
}


/* Texture Overlay */
.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/reviews_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    /* Increased visibility */
    border-radius: inherit;
    /* Clamped to card shape */
    z-index: -1;

    pointer-events: none;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Content Pages (General Rules, etc.) */
.general-rules-section {
    padding: 4rem 5%;
    min-height: 60vh;
}

.content-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
}

.content-card h1 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.content-card h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.content-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.content-card p {
    margin-bottom: 1.2rem;
}

.content-card a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.content-card a:hover {
    color: var(--primary-hover);
}

.content-card ul,
.content-card ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-card li {
    margin-bottom: 0.5rem;
}

/* Make table responsive if present */
.content-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.content-card th,
.content-card td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    text-align: left;
}

.content-card th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0;
    width: 100%;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-nav span.separator {
    color: var(--primary-color);
    margin: 0 0.5rem;
}


/**************************/
/* RESPONSIVE STYLES */
/**************************/

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .booking-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .review-card {
        flex: 0 0 100%;
        /* 1 item visible on mobile */
    }

    .carousel-container {
        padding: 0 3rem;
    }
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        /* Hidden by default */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
        animation: slideDown 0.3s ease forwards;
    }

    .cta-button-small {
        display: none;
        /* Hide 'Book Now' button in header to save space */
    }

    /* Mobile Dropdown Menu */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        background: rgba(30, 30, 30, 0.95);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        display: none;
        animation: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-links li:hover .dropdown-menu {
        display: none;
    }

    .nav-links li .dropdown-menu.open {
        display: flex;
    }

    .dropdown-menu li a {
        text-align: center;
        padding: 0.7rem 1rem;
    }

    .hero-footer {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-nav span.separator {
        display: none;
    }

    /* START: CORRECTED MOBILE TABLE STYLES */
    .table-responsive {
        padding: 0;
        overflow-x: hidden;
        /* Гарантираме, че няма да има скрол */
    }

    .prices-table {
        min-width: 100%;
        /* Ключов ред: кара таблицата да се свие с екрана */
        table-layout: fixed;
        /* Помага за равномерното разпределение на колоните */
        width: 100%;
    }

    .prices-table th,
    .prices-table td {
        padding: 1rem 0.5rem;
        /* Намаляваме отстъпите */
        font-size: 0.85rem;
        /* Намаляваме шрифта */
        word-wrap: break-word;
        /* Позволява на текста да се пренесе */
        white-space: normal;
        /* Уверяваме се, че пренасянето е разрешено */
    }

    /* Коригираме първата клетка, за да се държи като нормална клетка */
    .prices-table td:first-child {
        display: table-cell;
        vertical-align: middle;
        /* Подравняваме вертикално, ако се наложи */
    }

    /* Намаляваме иконата леко */
    .prices-table td:first-child::before {
        margin-right: 8px;
        font-size: 0.8rem;
    }

    /* Намаляваме леко шрифта на цените */
    .prices-table td:not(:first-child) {
        font-size: 0.95rem;
    }

    /* END: CORRECTED MOBILE TABLE STYLES */

    /* Fix Booking Form Inputs on Mobile */
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }


    /* Ensure inputs don't overflow */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        /* Crucial for padding calculation */
        max-width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    animation: slideDownFade 0.4s ease forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: var(--text-dim);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-content p {
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Adjust form inside modal */
.modal-content .form-group {
    margin-bottom: 1rem;
}

.modal-content button {
    margin-top: 1rem;
}

/* Language Switcher Fixed */
.bg-en-ru-switcher {
    position: fixed;
    top: 130px;
    right: calc(5% + 20px);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.lang-fixed-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.lang-fixed-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}