@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/inter-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/inter-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/rubik-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/rubik-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/rubik-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/rubik-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/rubik-900.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

:root {
    --primary: #8dbd00;
    --primary-dark: #3b4d24;
    --secondary: #011627;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    --white: #ffffff;
    --bg-light: #f8f8f8;
    --border: #e8e8e8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --radius: 30px;
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--secondary);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
}

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

.btn-primary:hover {
    background-color: #7aa500;
    transform: translateY(-2px);
}

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

.btn-dark:hover {
    background-color: #2e3c1c;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Sections */
section {
    padding: 100px 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

.top-bar .cont.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Necessary for mobile menu positioning */
}

/* Hamburger Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    /* Above the mobile menu */
}

/* Header */
header {
    position: absolute;
    top: 40px;
    width: 100%;
    z-index: 10;
    background-color: transparent;
}

.header-nav {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.logo {
    display: flex;
    gap: 4px;
    font-size: 28px;
    font-weight: 900;
    font-family: var(--font-heading);
}

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

.logo-green {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease;
}

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

.nav-links a.btn {
    border-bottom: none;
    transform: none;
    align-self: center;
    margin: 0;
    height: 40px;
    padding: 0 24px;
}

.nav-links a.btn.btn-outline {
    border: 2px solid var(--white);
}

.nav-links a.btn:hover {
    transform: translateY(-2px);
    /* strictly on hover */
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 12px 0;
    z-index: 20;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--secondary) !important;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

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

/* Erlaubt sanften Übergang mit leichter Verzögerung statt sofortigem Verschwinden */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    /* Unsichtbare Brücke für die Maus */
}


/* Hero */
.hero {
    position: relative;
    height: 700px;
    /* Erhöht, damit die Info-Box nicht abgeschnitten wird */
    padding-top: 190px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /* Slider zoom jetzt hier begrenzt */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
    /* Subtle Ken Burns effect */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    z-index: 2;
}

.hero-container {
    height: 100%;
    position: relative;
    width: 100%;
}

.hero-left-col {
    display: block;
    position: relative;
    /* establishes containing block for search card */
}

.hero-right-col {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
    margin-left: 0;
    padding-top: 50px;
    /* Instead of transform to push it down */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.hero-marker {
    display: block;
    height: 12px;
    width: 250px;
    background-color: var(--primary);
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    font-family: var(--font-heading);
}

.hero-cards-wrapper {
    position: absolute;
    top: 360px;
    left: 0;
    /* Aligns precisely to padding box edge of container */
    display: flex;
    align-items: flex-start;
    /* Prevents vertical stretching */
    gap: 150px;
    /* Info-Box näher ans Suchfeld rücken */
    z-index: 5;
    width: 100%;
}

.hero-search-card {
    background-color: var(--white);
    border-radius: 16px;
    /* Changed: Reduced from var(--radius) 30px */
    padding: 20px 24px;
    box-shadow: none;
    /* Changed: Removed Box Shadow */
    width: fit-content;
    margin-top: 0;
    margin-left: 70px;
}

.hero-search-card .search-form-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.hero-search-card .search-block {
    display: flex !important;
    width: auto !important;
    min-width: 220px !important;
    flex: 1 !important;
}

.hero-search-card .type-block {
    min-width: 110px !important;
    flex: 0 0 auto !important;
}

.hero-search-card .type-btn {
    flex: 0 0 50px !important;
    width: 50px !important;
}

.hero-search-card .btn-search-new {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    padding: 0 24px !important;
    height: 52px !important;
    margin-top: 0 !important;
}

.info-box {
    position: relative;
    /* Kept relative for the ::after pseudo element */
    width: max-content;
    /* Only as wide as text natively requires */
    max-width: 650px;
    background-color: var(--white);
    border-radius: var(--radius) 0 0 var(--radius);
    /* Rounded left only to bleed right */
    padding: 32px;
    box-shadow: none;
    /* Changed: Removed Box Shadow */
    text-align: left;
    /* Restored original text alignment */
    margin-right: 100px;
}

.info-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 2000px;
    height: 100%;
    background-color: var(--white);
    z-index: -1;
}

.info-box h3 {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.info-col:first-child {
    flex: 0 0 190px;
}

.info-col:last-child {
    flex: 1;
    min-width: 220px;
}

.info-col h4 {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 4px;
}

.info-col p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.info-col p .card-icon {
    display: inline-block;
    width: 20px;
}

.info-col:last-child p {
    white-space: nowrap;
}

/* Fleet Section */
.fleet {
    padding-top: 100px;
    padding-bottom: 100px;
}

.fleet-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fleet-subtitle {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.fleet-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 40px;
    font-family: var(--font-heading);
}

.filter-hint {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.search-form-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 40px;
    width: 50%;
    min-width: 500px;
    padding: 10px 0 40px 0;
}

.search-block.hero {
    position: relative;
    height: 800px;
    background-image: url('images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-block {
    position: relative;
    border: 1.5px solid var(--secondary);
    border-radius: 8px;
    background-color: #fff;
    height: 52px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 12px;
}

.type-block {
    padding: 0 12px;
}

.block-label {
    position: absolute;
    top: -9px;
    left: 12px;
    background-color: #fff;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
}

.date-block .block-label {
    color: var(--secondary);
}

.type-block .block-label {
    color: var(--secondary);
}

.block-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.invisible-input {
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary);
    width: 100%;
    background: transparent;
    cursor: pointer;
}

/* Specific styling for the native date input to match the mockup */
.invisible-input::-webkit-datetime-edit {
    color: transparent;
}

.invisible-input:focus::-webkit-datetime-edit,
.invisible-input.has-value::-webkit-datetime-edit {
    color: var(--secondary);
}


.fake-placeholder {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* Hide the placeholder when the date input is focused or has a valid value (requires the 'required' attribute) */
.invisible-input:focus+.fake-placeholder,
.invisible-input:valid+.fake-placeholder {
    opacity: 0;
    visibility: hidden;
}


.type-btn {
    padding: 0;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--secondary);
    transition: all 0.2s;
    height: 40px;
    flex: 1;
    justify-content: center;
}

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

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

.type-btn:hover img,
.type-btn.active img {
    filter: invert(1);
    mix-blend-mode: screen;
}

.type-btn img {
    mix-blend-mode: darken;
    width: 46px;
    height: auto;
}

.btn-search-new {
    background-color: var(--primary);
    color: #fff;
    height: 52px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 20px;
}

.btn-search-new:hover {
    background-color: var(--primary-dark);
}

.btn-search {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background-color: #7aa300;
}

.category-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 40px;
}

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

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    /* Erlaubt Wachstum bei viel Inhalt */
    min-height: 740px;
    /* Behält die einheitliche Optik bei */
    transition: all 0.3s ease;
}

.card-img {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: 30px 30px 0 0;
}

/* Pet Tag styling */
.pet-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.pet-tag .card-icon {
    font-size: 12px;
}

.gallery-main {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease-in-out;
}

.gallery-main.is-floorplan {
    background-size: contain;
    transform: rotate(180deg) scale(1.3);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    color: #011627;
    font-size: 18px;
    opacity: 0;
    /* Hidden by default */
}

.card:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.arrow-left {
    left: 12px;
}

.arrow-right {
    right: 12px;
}

.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    width: 20px;
    border-radius: 4px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

.card-content {
    padding: 24px 24px 32px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
}

.card-icon {
    display: inline-block;
    filter: grayscale(100%);
    opacity: 0.35;
    margin-right: 8px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    opacity: 0.7;
    filter: grayscale(100%);
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-tag {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.card-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.card-core {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: pre-line;
    line-height: 1.6;
}

.card-equip {
    font-size: 12px;
    color: var(--text-muted);
    white-space: pre-line;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    margin-top: auto;
    /* Push footer to bottom */
}

.card-info-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 8px;
}

.card-price-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 0;
    border-radius: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: block;
    line-height: normal;
}

.card-fee-note {
    font-size: 10px;
    color: var(--text-light);
    text-align: center;
}

.card-options {
    font-size: 11px;
    color: var(--text-muted);
    white-space: pre-line;
    line-height: 1.5;
}

/* CTA Card */
.card-cta {
    background-color: var(--primary);
    border: none;
}

.card-cta .card-content {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 24px 32px 32px 32px;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.card-cta .card-footer {
    margin-top: auto;
    width: 100%;
}

.card-cta-subtitle {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-dark);
}

.card-cta-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.card-cta-text {
    font-size: 18px;
    color: var(--white);
}

.btn-cta-card {
    background-color: var(--primary-dark);
    color: var(--white);
    width: 100%;
    padding: 14px 0;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: block;
    line-height: normal;
    transition: background-color 0.3s ease;
}

.btn-cta-card:hover {
    background-color: #2e3c1c;
    color: var(--white);
}

/* ==========================================================================
   Dog Camper Section
   ========================================================================== */
.dog-camper {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.dog-camper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(141, 189, 0, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.dog-camper .container {
    position: relative;
    z-index: 1;
}

.dog-camper-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dog-camper-content .subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dog-camper-content h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.dog-camper-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.dog-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.dog-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 16px;
}

.dog-camper-img {
    height: 500px;
    background-image: url('images/reisen-mit-hund-web.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ==========================================================================
   Google Reviews Section
   ========================================================================== */
.google-reviews {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.google-reviews .subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.google-reviews h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--secondary);
    line-height: 1.2;
}

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

.review-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-info h5 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 16px;
    margin-bottom: 2px;
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

.review-score {
    color: #FFB400;
    /* Star color */
    font-size: 18px;
}

.review-text {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

/* ==========================================================================
   Blog Preview Section
   ========================================================================== */
.blog-preview {
    padding: 100px 0 200px;
    background-color: var(--white);
}

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

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}

.blog-link:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   Newsletter Signup Section
   ========================================================================== */
.newsletter-signup {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.newsletter-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--secondary);
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-light);
}

.newsletter-form .btn {
    white-space: nowrap;
    background-color: var(--secondary);
    color: var(--white);
}

.newsletter-form .btn:hover {
    background-color: var(--primary-dark);
}

.privacy-note {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 0 !important;
}

.privacy-note a {
    color: var(--white);
    text-decoration: underline;
}

.privacy-note a:hover {
    text-decoration: underline;
}



/* Ready CTA */
.ready-cta {
    background-color: var(--primary);
    text-align: center;
    padding: 120px 0;
}

.ready-cta h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    margin-bottom: 32px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
    font-family: var(--font-body);
    margin-top: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 16px;
}

.footer-brand .logo {
    display: inline-block;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 0px;
}

.footer-brand .logo img {
    height: 70px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-block {
    margin-top: 16px;
}

.footer-contact-block h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 2px;
    margin-top: 0px;
    font-size: 18px;
}

.footer-contact-block p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0px;
}

.footer-contact-block a {
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin-top: 0px;
    margin-bottom: 8px;
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-contact-block a:hover {
    color: var(--secondary);
}

.social-icons-new {
    display: flex;
    gap: 20px;
    margin-top: 4px;
}

.social-icons-new a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-icons-new a:hover {
    color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    padding-top: 48px;
}

.footer-links h5 {
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    min-height: 48px;
    display: flex;
    align-items: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-title {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
    font-size: 14px;
}

.payment-icon {
    height: 38px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.payment-icon img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 40px;
    }

    .hero-cards-wrapper {
        gap: 40px;
    }

    .dog-camper-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dog-camper-img {
        height: 350px;
        order: -1;
    }

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

    .blog-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 24px;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

@media (max-width: 900px) {

    @keyframes scrolling-text {
        0% {
            transform: translateX(100vw);
        }

        100% {
            transform: translateX(-150%);
        }
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        right: 20px;
        z-index: 1001;
    }

    .header-nav {
        justify-content: center !important;
        position: relative;
        z-index: 999;
    }

    .logo img {
        height: 45px !important;
    }

    .hero-marker {
        display: none !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        /* Drops down beautifully from header */
        left: 0;
        width: 100%;
        height: auto;
        min-height: calc(100vh - 120px);
        background-color: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 30px 40px 30px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
        z-index: 10000;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .nav-links.is-open {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

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

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

    /* We hide the hamburger menu when the drawer is open via JS */
    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 36px;
        cursor: pointer;
        z-index: 10001;
        /* Ensure close button is always clickable above links */
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100%;
        background-color: var(--primary);
        z-index: 10010;
        display: none;
        /* fallback */
        flex-direction: column;
        padding: 20px 30px;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .dropdown-content.is-active {
        display: flex;
        transform: translateX(0);
    }

    .submenu-back-btn {
        background: none;
        border: none;
        color: var(--white);
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        padding: 0 0 20px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        margin-bottom: 10px;
        width: 100%;
    }

    .nav-links .dropdown-content a {
        color: var(--white) !important;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-dropdown>a::after {
        content: ' ▼';
        font-size: 10px;
        margin-left: 8px;
    }

    .nav-dropdown.is-open>a::after {
        content: ' ▲';
    }

    .nav-dropdown:hover .dropdown-content {
        display: none;
        /* Disable native hover on mobile */
    }

    /* Removed native accordion toggle */

    .nav-links a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links .btn-outline {
        margin-top: 16px;
        justify-content: center;
    }

    /* Detail Page sidebars stack */
    .content-grid {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        flex-direction: column;
    }

    .gallery-main {
        width: 100%;
        height: 300px;
    }

    .gallery-thumbs {
        width: 100%;
    }

    /* Make the sticky sidebar flow naturally */
    .sidebar {
        position: static !important;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {

    /* Collapse Top Bar text horizontally */
    .top-bar {
        font-size: 13px;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        height: 40px;
        display: flex;
        align-items: center;
    }

    .top-bar .cont {
        display: inline-flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 30px !important;
        animation: scrolling-text 15s linear infinite;
        position: absolute;
        width: max-content !important;
        padding: 0 !important;
    }

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

    .hero {
        height: auto !important;
        min-height: 800px;
        padding-bottom: 50px;
        overflow: visible !important;
    }

    .hero-container {
        position: relative;
        flex-direction: column !important;
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        display: block !important;
    }

    .hero-cards-wrapper {
        position: relative !important;
        top: 0 !important;
        margin-top: -30px !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .hero-left-col {
        margin-bottom: 40px;
        width: 100%;
        text-align: center;
        /* Center the hero text on mobile */
    }

    .highlight-bar {
        margin: 0 auto 20px auto !important;
        position: static !important;
        display: block !important;
        width: max-content !important;
    }

    .hero-right-col {
        display: none !important;
        /* Hide the empty balancing div on mobile */
    }

    .hero-content h1 {
        font-size: 40px !important;
    }


    /* Vehicle type buttons adjustment for added text */
    .block-content.type-selection {
        justify-content: space-between !important;
        gap: 10px;
    }

    .type-btn {
        width: 48% !important;
        /* Make them sit side by side neatly */
        padding: 10px 5px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .type-btn img {
        height: 24px !important;
        /* Scale down icon slightly to fit text */
        margin-bottom: 0 !important;
    }

    .type-btn span {
        font-size: 13px !important;
        display: inline-block !important;
        /* Force visibility */
        color: var(--secondary) !important;
    }

    .type-btn.active span,
    .type-btn:hover span {
        color: var(--white) !important;
    }

    /* Stack the search benefits (discounts) vertically on mobile */
    .search-benefits {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-top: 20px !important;
        color: var(--secondary) !important;
        text-shadow: none !important;
    }

    /* Stack the search interface */
    .hero-search-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .hero-search-card {
        margin-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
        padding: 16px !important;
    }

    .hero-search-card .search-form-wrapper,
    .search-form-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .hero-search-card .search-block,
    .search-block {
        border-right: none !important;
        border-bottom: 1px solid #E2E8F0;
        padding: 16px !important;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left;
        display: block !important;
    }

    /* Force the innermost date wrapper to stack */
    .search-block.date-block .block-content>div[style*="display:flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .search-block.date-block .block-content>div[style*="display:flex"]>span {
        display: none !important;
        /* Hide the hyphen separator between stacked dates */
    }

    .search-block.date-block .block-content>div[style*="display:flex"]>div {
        width: 100% !important;
    }

    .hero-search-card .type-block {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between;
    }

    .hero-search-card .btn-search-new {
        width: 100% !important;
        margin-top: 16px !important;
    }

    .search-block:last-child {
        border-bottom: none;
    }

    .info-box {
        position: relative;
        right: 0;
        top: 0;
        /* Reset top offset */
        width: 100%;
        margin-top: 20px;
    }

    .benefits {
        flex-direction: column;
        gap: 30px;
    }

    .benefits-img {
        width: 100%;
        height: 300px;
    }

    /* Reduce global padding on vast sections */
    .fleet,
    .dog-camper,
    .google-reviews {
        padding: 50px 0;
    }

    .blog-preview {
        padding: 50px 0 120px;
    }

    .ready-cta {
        padding: 60px 0;
    }

    .dog-camper-content h2,
    .google-reviews h2,
    .ready-cta h2 {
        font-size: 32px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Scroll to Top Button */
#scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Positioned on the left as requested */
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

#scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- FINAL MOBILE LAYOUT OVERRIDES --- */
@media (max-width: 900px) {

    /* 1. Hero Green Bar Centering */
    .hero-left-col .highlight-bar {
        margin: 0 auto 20px auto !important;
        display: block !important;
        position: static !important;
        width: max-content !important;
    }



    /* 3. Top-Down Mobile Menu Override */
    .nav-links {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: calc(100vh - 120px) !important;
        background-color: var(--primary) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 30px 40px 30px !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4) !important;
        z-index: 10000 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .nav-links.is-open {
        display: flex !important;
        animation: slideDown 0.3s ease-out forwards;
    }

    /* 4. Drill-Down Submenu Override */
    .dropdown-content {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        min-height: 100% !important;
        background-color: var(--primary) !important;
        z-index: 10010 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 20px 30px !important;
        box-sizing: border-box !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease-in-out !important;
    }

    .dropdown-content.is-active {
        transform: translateX(0) !important;
    }

    .nav-dropdown.is-open .dropdown-content {
        /* Kill accordion */
        display: flex !important;
    }

    .nav-dropdown>a::after {
        content: ' ›' !important;
        font-size: 20px !important;
        float: right !important;
    }
}

@media (max-width: 900px) {
    .fleet-header {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* helps centering the filter-tabs if they use flex */
    }
}


@media (max-width: 900px) {
    .filter-tabs {
        justify-content: center !important;
    }
}


/* Responsive Info Box Tracking */
.mobile-only-box {
    display: none !important;
}

.desktop-only-box {
    display: block !important;
}

@media (max-width: 900px) {
    .mobile-only-box {
        display: block !important;
        margin-top: -20px !important;
        margin-bottom: 40px !important;
    }

    .desktop-only-box {
        display: none !important;
    }
}


/* Responsive overrides for Info-Box on Startpage */
@media (max-width: 900px) {
    .info-box {
        padding: 24px !important;
        text-align: center !important;
        margin-right: 0 !important;
        /* allow full bleed or normal margin */
        width: 100% !important;
        /* take full width instead of max-content */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .info-row {
        flex-direction: column !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }

    .info-col:first-child,
    .info-col:last-child {
        flex: auto !important;
        min-width: 0 !important;
    }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    padding: 24px 0;
    display: none;
    /* hidden by default, shown by JS */
}

.cookie-banner-overlay.show {
    transform: translateY(0);
    display: block;
}

.cookie-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1 1 500px;
}

.cookie-text h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.cookie-btn-accept {
    background: var(--primary);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #7ca800;
    /* darker green */
}

.cookie-btn-reject,
.cookie-btn-settings {
    background: #f1f5f9;
    color: var(--text-muted);
}

.cookie-btn-reject:hover,
.cookie-btn-settings:hover {
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}