/* 
   NSS Charter Branding 
   Recreated Sailora Layout
*/

:root {
    /* Colors */
    --primary-color: #152746;
    /* Dark Navy Blue */
    --secondary-color: #C4A981;
    /* Gold/Tan */
    --secondary-hover: #b0956f;
    --accent-color: #77D7E3;
    /* Azzurro */
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 4px;
    /* Slightly sharper for NSS premium feel */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.9;
}

.section {
    padding: var(--section-padding);
}

.center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.full-width {
    width: 100%;
    text-align: center;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 40, 70, 0.95);
    /* Semi-transparent Primary */
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    width: 160px;
    height: 60px;
    display: inline-flex;
    align-items: center;
}

.logo img {
    position: absolute;
    top: 5px; /* Aligns the top of the logo image with the menu buttons */
    left: 0;
    height: 160px;
    width: 160px;
    object-fit: contain;
    z-index: 1010;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.first-class-link {
    color: #C4A981 !important;
}

.nav-links a.first-class-link:hover {
    color: var(--secondary-hover) !important;
}

/* Navbar CTA Button Optimization */
.navbar .btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar .btn-primary:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 169, 129, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1569263979104-d6595d21a575?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    /* Offset for fixed navbar overlap */
    color: var(--white);
    margin-bottom: 50px;
    /* Space for search bar overlap */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 40, 70, 0.3), rgba(18, 40, 70, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Page Header (Subpages) */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.page-header .hero-overlay {
    background: linear-gradient(rgba(18, 40, 70, 0.2), rgba(18, 40, 70, 0.6));
}

.page-header .hero-content {
    padding-bottom: 0;
    margin-top: 60px;
    /* Offset for fixed nav */
}

.page-header .eyebrow {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.price-large {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--white);
}

.price-large .per-week {
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--white);
    opacity: 0.8;
}

/* Search Bar */
.search-bar-wrap {
    position: absolute;
    bottom: -30px;
    /* Moved up from -50px to be more in view while still overlapping */
    left: 0;
    width: 100%;
    z-index: 20;
}

.search-bar-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.search-bar {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    /* More prominent shadow for premium feel */
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.search-btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
}

.search-group input,
.search-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-body);
    width: 100%;
}

.search-btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

/* Featured Fleet */
.fleet {
    margin-top: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.view-all {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.yacht-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yacht-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.yacht-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.price-tag {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.location {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.location i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.card-content hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
    margin-top: auto; /* Pushes specs to the bottom of the card */
}

.specs {
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
}

.specs i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Yacht Details Page */
.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.image-gallery {
    margin-bottom: 40px;
}

.gallery-main {
    height: 400px;
    /* Reduced from 500px for better fit */
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-thumbs img {
    height: 120px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-thumbs img:hover {
    opacity: 0.8;
}

.details-block {
    margin-bottom: 40px;
}

.details-block h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.details-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.details-block p {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.amenities-list li {
    display: flex;
    align-items: center;
    color: #444;
    font-weight: 500;
}

.amenities-list li i {
    width: 30px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.details-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-widget,
.specs-widget {
    background: var(--white);
    border: 1px solid #eee;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.booking-widget h3,
.specs-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.price-display {
    margin-bottom: 25px;
    text-align: center;
    background: var(--light-bg);
    padding: 15px;
    border-radius: 4px;
}

.price-display .amount {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

.price-display .period {
    color: #888;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.booking-form .form-group {
    margin-bottom: 15px;
}

.booking-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #555;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.booking-widget .note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    text-align: center;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li span {
    color: #666;
}

.specs-list li strong {
    color: var(--primary-color);
}

/* Service Details Page */
.check-list {
    margin-top: 20px;
}

.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #444;
}

.check-list li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: center;
    /* Center featured card vertically if it's taller */
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card .label {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card .card-header {
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.pricing-card.featured .card-header {
    background: var(--primary-color);
    color: var(--white);
}

.pricing-card.featured .card-header h3 {
    color: var(--white);
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.pricing-card.featured .price {
    color: var(--white);
}

.pricing-card .price span {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 400;
    opacity: 0.7;
}

.pricing-card .card-body {
    padding: 30px;
    text-align: center;
}

.pricing-card ul {
    margin-bottom: 30px;
}

.pricing-card ul li {
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.pricing-card ul li.disabled {
    color: #ccc;
    text-decoration: line-through;
}

.pricing-card ul li i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.pricing-card ul li.disabled i {
    color: #ddd;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Destination Highlights */
.destination-card {
    position: relative;
    display: block;
    height: 420px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card.large {
    height: 350px;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

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

.dest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(21, 39, 70, 0.95)); /* custom deep navy overlay gradient matching branding */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    z-index: 2;
    transition: background 0.3s ease;
}

.destination-card:hover .dest-overlay {
    background: linear-gradient(transparent, rgba(21, 39, 70, 0.85));
}

.dest-overlay h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.dest-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0 0 15px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.highlight-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.highlight-content {
    padding: 20px;
}

.highlight-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.highlight-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Itinerary Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 80px;
    height: 100%;
    width: 2px;
    background: #eee;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.day-marker {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 40px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    position: relative;
}

.day-marker::after {
    content: '';
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .eyebrow {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-text p {
    color: #666;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-item span {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 20px 20px 0 var(--light-bg);
}

/* Services */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    cursor: pointer;
}

.service-card .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.service-card:hover .bg-img {
    transform: scale(1.1);
}

.service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

.service-card h3 {
    position: relative;
    z-index: 3;
    color: var(--white);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col ul li i {
    width: 20px;
    color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 120px;
    /* Adjusted to fit better in dark mode context */
    background: white;
    /* Optional: container for logo if transparent png doesn't work well on dark */
    padding: 5px;
    border-radius: 50%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .fleet-grid,
    .services-grid,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

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

    .search-bar {
        flex-wrap: wrap;
    }

    .search-group {
        flex: 1 1 45%;
    }

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

    .details-sidebar {
        position: static;
        margin-top: 30px;
    }

    .pricing-card.featured {
        transform: none;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        z-index: 1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .logo {
        width: 135px;
    }

    .logo img {
        width: 135px;
        height: 135px;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: none;
        /* Mobile menu hidden for PoC simplicity */
    }

    .grid-2,
    .grid-3,
    .fleet-grid,
    .services-grid,
    .footer-grid,
    .pricing-grid,
    .faq-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .search-bar {
        padding: 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 50px;
    }

    .day-marker {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .day-marker::after {
        left: -41px;
        right: auto;
    }
}

/* Fleet Page Layout */
.fleet-page-container {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.fleet-sidebar {
    width: 300px;
    flex-shrink: 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 30px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.fleet-main-content {
    flex-grow: 1;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox-group label {
    text-transform: none;
    font-weight: 400;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-group select,
.filter-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-body);
}

.filter-btn {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .fleet-page-container {
        flex-direction: column;
    }

    .fleet-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 40px;
    }
}

/* Video Header Styles */
.video-header {
    position: relative;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Ensure content sits above video */
.video-header .hero-overlay {
    z-index: 1;
    background: linear-gradient(rgba(18, 40, 70, 0.4), rgba(18, 40, 70, 0.7));
    /* Darker overlay for video legibility */
}

.video-header .hero-content {
    z-index: 2;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: 100%;
    left: 0;
    border-radius: 4px;
    padding: 10px 0;
}

/* Show dropdown on hover (handled by JS/CSS) */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    /* Force primary color */
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
    text-transform: uppercase;
    /* Make submenus follow the same typography */
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
}

/* Fix Hero Layout Overlap */
/* About Summary Section */
.about-summary {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-summary-content {
    flex: 1;
}

.about-summary-content .eyebrow {
    margin-bottom: 20px;
}

.about-summary-content h2 {
    margin-bottom: 30px;
}

.about-summary-content p {
    margin-bottom: 25px;
}

.about-summary-image {
    flex: 1;
    position: relative;
}

.about-summary-image img {
    border-radius: var(--border-radius);
    box-shadow: 20px 20px 0 var(--secondary-color);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-item i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .about-summary {
        flex-direction: column;
    }

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

/* CSS for the new Left-Aligned Header Stack */
.section-intro {
    text-align: left;
    margin-bottom: 50px;
}

.section-intro .eyebrow {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.section-intro h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-intro p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

/* If user wants match strict About section, and About section h2 is standard. 
   I will check if I can just leave font-size unset to take global or inherited? */