/**
 * Four Legged Breaks - Main Stylesheet
 * Brand colors and modern styling based on existing site
 */

/* ===================================================
   Brand Colors (from oldsite)
   =================================================== */
:root {
    --primary-green: #29AD88;
    --primary-green-hover: #1D7C61;
    --secondary-yellow: #e3d665;
    --secondary-yellow-hover: #efdc3a;
    --text-dark: #212529;
    --text-light: #ffffff;
    --border-light: #ced4da;
    --bg-sponsored: rgba(255, 255, 255, 1);
    --shadow-text: rgba(0, 0, 0, 0.6);
}

/* ===================================================
   Global Styles
   =================================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===================================================
   Navigation Bar (Header)
   =================================================== */
.navbar {
    padding: 1.25rem 0;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
    color: #ccc !important;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.nav-link.active {
    color: var(--primary-green) !important;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.5rem;
}

a {
    color: var(--primary-green);
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: var(--primary-green-hover);
    outline: none;
}

a:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
    border-radius: 2px;
}

a.nounderline {
    text-decoration: none !important;
}

/* ===================================================
   Brand Colors & Utilities
   =================================================== */
.bg-green {
    background-color: var(--primary-green) !important;
}

.text-primary {
    color: var(--primary-green) !important;
}

.home-text-shadow {
    text-shadow: 2px 2px 2px var(--shadow-text);
}

/* ===================================================
   Buttons (Accessibility: Min 44x44px, focus states)
   =================================================== */
.btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 1rem;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.btn-primary {
    color: var(--text-light);
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--text-light);
    background-color: var(--primary-green-hover);
    border-color: #33bb7d;
}

.btn-secondary {
    color: var(--text-dark);
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: var(--text-dark);
    background-color: var(--secondary-yellow-hover);
    border-color: var(--secondary-yellow-hover);
}

.btn-outline-secondary {
    color: #48a3e0;
    border-color: var(--secondary-yellow);
}

.btn-outline-secondary:hover {
    color: var(--text-dark);
    background-color: var(--secondary-yellow-hover);
    border-color: var(--secondary-yellow-hover);
}

/* ===================================================
   Hero Section
   =================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green) 0%, #2d7a3d 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    padding: 2rem 2rem 2rem 2rem;
    max-width: 1000px;
}

.hero-content h1 {
    font-size: calc(1.5rem + 3vw);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-text);
}

.hero-content p {
    font-size: calc(1rem + 0.5vw);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px var(--shadow-text);
}

@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* ===================================================
   Forms (Accessibility: Proper sizing, focus states)
   =================================================== */
.form-control,
.form-select,
input,
textarea,
select {
    font-size: 1rem;
    min-height: 44px;
}

.form-control {
    font-size: 1rem;
    border-color: var(--border-light);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(68, 160, 84, 0.25);
}

.form-control[readonly] {
    background-color: var(--text-light) !important;
}

.form-select {
    font-size: 1rem !important;
    color: var(--text-dark) !important;
    background-color: var(--text-light) !important;
}

label {
    font-weight: 500;
}

::placeholder {
    color: var(--text-dark);
    opacity: 1;
}

:-ms-input-placeholder {
    color: var(--text-dark);
}

::-ms-input-placeholder {
    color: var(--text-dark);
}

/* ===================================================
   Images
   =================================================== */
.img-fluid {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================
   Curved Design Elements
   =================================================== */
.curved-bottom {
    border-bottom-left-radius: 80% 10%;
    border-bottom-right-radius: 80% 10%;
    overflow: hidden;
}

/* ===================================================
   Typography
   =================================================== */
.display-3 {
    font-size: calc(1.0rem + 3.9vw);
    font-weight: 400;
    line-height: 1.3;
}

@media (min-width: 1200px) {
    .display-3 {
        font-size: 3.5rem;
    }
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
}

.text-content p,
.text-content ul,
.text-content ol {
    font-size: 0.9rem;
}

/* ===================================================
   API Test Section (for demo purposes)
   =================================================== */
.api-test {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.api-test h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.api-test pre {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.5;
}

.api-test .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* ===================================================
   Utility Classes
   =================================================== */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* ===================================================
   Footer
   =================================================== */
.site-footer .footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.site-footer .footer-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer .footer-nav li + li {
    margin-top: 0.4rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: #fff;
    text-decoration: underline;
}

.footer-link:focus-visible,
.footer-social-link:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* ===================================================
   Responsive Adjustments (Mobile-First)
   =================================================== */
@media (max-width: 576px) {
    /* Extra small devices */
    .hero {
        height: 45vh;
        min-height: 250px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn {
        min-height: 48px;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .footer-link {
        display: block;
        padding: 0.35rem 0;
    }

    .site-footer .footer-nav li + li {
        margin-top: 0;
    }
}

/* ===================================================
   Country Tiles (2 per row on desktop, 1 per row on mobile)
   =================================================== */
.country-tile-link {
    display: block;
    text-decoration: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
}

.country-tile-link:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.country-tile-link:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.country-tile {
    position: relative;
    width: 100%;
    min-height: 320px;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f0f0f0;
}

.country-tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.country-tile-link:hover .country-tile-image {
    transform: scale(1.01);
}

.country-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

.country-tile-link:hover .country-tile-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.country-tile-title {
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.country-tile-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin: 0.25rem 0 0 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0.9;
}

.country-tile-overlay {
    flex-direction: column;
}

/* Mobile responsiveness for country tiles */
@media (max-width: 768px) {
    .country-tile-link {
        min-height: 280px;
    }

    .country-tile {
        min-height: 280px;
    }

    .country-tile-title {
        font-size: 1.5rem;
    }
}

/* ===================================================
   Inspiration Tiles (2 per row, same as country tiles)
   =================================================== */
.inspiration-tile-link {
    display: block;
    text-decoration: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
}

.inspiration-tile-link:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.inspiration-tile-link:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.inspiration-tile {
    position: relative;
    width: 100%;
    min-height: 320px;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f0f0f0;
}

.inspiration-tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.inspiration-tile-link:hover .inspiration-tile-image {
    transform: scale(1.01);
}

.inspiration-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

.inspiration-tile-link:hover .inspiration-tile-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.inspiration-tile-title {
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.inspiration-tile-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin: 0.25rem 0 0 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0.9;
}

.inspiration-tile-overlay {
    flex-direction: column;
}

/* Mobile responsiveness for inspiration tiles */
@media (max-width: 768px) {
    .inspiration-tile-link {
        min-height: 280px;
    }

    .inspiration-tile {
        min-height: 280px;
    }

    .inspiration-tile-title {
        font-size: 1.5rem;
    }
}

/* ===================================================
   Process Steps (The Process section)
   =================================================== */
.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card:has(.process-step-number) {
    position: relative;
    transition: all 0.3s ease;
}

.card:has(.process-step-number):hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* ===================================================
   Search Bar (Overlapping Hero Section)
   =================================================== */
.search-bar-container {
    position: relative;
    margin-top: -60px;
    padding-bottom: 2rem;
    z-index: 10;
}

.search-bar-form {
    background: var(--text-light);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(68, 160, 84, 0.1);
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.search-select,
.search-input {
    border: 1.5px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--text-light);
    color: var(--text-dark);
    min-height: 44px;
    font-family: inherit;
}

.search-select:focus,
.search-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(68, 160, 84, 0.15);
    outline: none;
}

.search-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2344a054' d='M3 5l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.btn-search {
    min-height: 44px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(68, 160, 84, 0.3);
}

.btn-search:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Mobile responsive search bar */
@media (max-width: 768px) {
    .search-bar-container {
        margin-top: -40px;
        padding-bottom: 1rem;
    }

    .search-bar-form {
        padding: 1.5rem 1rem;
    }

    .search-select,
    .search-input {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
        min-height: 44px;
    }

    .btn-search {
        min-height: 48px;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .search-bar-container {
        margin-top: -30px;
        padding-bottom: 0.75rem;
    }

    .search-bar-form {
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .search-field label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .search-select,
    .search-input {
        font-size: 0.95rem;
        padding: 0.65rem 0.75rem;
    }
}

/* ===================================================
   Date Picker Calendar
   =================================================== */
.date-picker-wrapper {
    position: relative;
}

.date-display {
    cursor: pointer !important;
    user-select: none !important;
}

.date-picker-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    pointer-events: none;
    font-size: 1.2rem;
}

.date-picker-calendar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-light);
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 1rem;
    min-width: 280px;
    margin-top: 0.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.calendar-nav-btn:hover {
    background-color: rgba(68, 160, 84, 0.1);
}

.calendar-month-year {
    font-size: 0.95rem;
    min-width: 130px;
    text-align: center;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    background: var(--text-light);
    color: var(--text-dark);
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0;
}

.calendar-day:not(.empty):not(.disabled):hover {
    background-color: rgba(68, 160, 84, 0.2);
    border-color: var(--primary-green);
}

.calendar-day:not(.empty):not(.disabled):active {
    background-color: var(--primary-green);
    color: var(--text-light);
    border-color: var(--primary-green);
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

/* ===================================================
   Guest & Pet Selector
   =================================================== */
.guest-pet-wrapper {
    position: relative;
}

.guest-pet-display {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--text-light);
    color: var(--text-dark);
    border: 1.5px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: left;
    min-height: 44px;
    cursor: pointer;
}

.guest-pet-display:hover,
.guest-pet-display:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(68, 160, 84, 0.15);
    outline: none;
}

.guest-pet-text {
    flex-grow: 1;
}

.guest-pet-display i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.guest-pet-display[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.guest-pet-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--text-light);
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 1.5rem;
    margin-top: 0.5rem;
    min-width: 250px;
}

.guest-pet-section {
    margin-bottom: 1rem;
}

.guest-pet-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

/* Guest/Pet controls now use .increment-control styles defined above */

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 1rem 0;
}

.guest-pet-close {
    width: 100%;
    background-color: var(--primary-green);
    color: var(--text-light);
    border: none;
    font-weight: 600;
    margin-top: 0.5rem;
}

.guest-pet-close:hover {
    background-color: var(--primary-green-hover);
}

/* Mobile adjustments for calendar */
@media (max-width: 576px) {
    .date-picker-calendar {
        left: 50%;
        transform: translateX(-50%);
        min-width: 90vw;
        max-width: 320px;
    }

    .guest-pet-dropdown {
        left: 50%;
        transform: translateX(-50%);
        min-width: 90vw;
        max-width: 300px;
    }
}

/* ===================================================
   Saved Properties Section
   =================================================== */
.saved-property-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.saved-property-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.saved-property-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    min-height: 200px;
}

.saved-property-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.saved-property-card:hover .saved-property-image {
    transform: scale(1.05);
}

.btn-save-property {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-save-property:hover,
.btn-save-property:focus {
    background-color: #f8f9fa;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.btn-save-property i {
    font-size: 1.25rem;
}

.saved-property-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.saved-property-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.saved-property-location {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.saved-property-location i {
    color: var(--primary-green);
    font-size: 0.95rem;
}

.saved-property-features {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}

.feature-badge {
    background-color: #f0f0f0;
    border-radius: 0.25rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.feature-badge i {
    color: var(--primary-green);
    font-size: 0.9rem;
}

.saved-property-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.stars {
    display: flex;
    gap: 0.15rem;
    color: #ffc107;
}

.stars i {
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #999;
}

.saved-property-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.price {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.price-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
}

.saved-property-card .btn-primary {
    padding: 0.4rem 0.85rem;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: auto;
}

/* Responsive adjustments for saved properties */
@media (max-width: 768px) {
    .saved-property-image {
        height: 180px;
    }

    .saved-property-details {
        padding: 1.25rem;
    }

    .saved-property-title {
        font-size: 1rem;
    }

    .saved-property-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .saved-property-card .btn-primary {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .saved-property-image {
        height: 160px;
    }

    .saved-property-details {
        padding: 1rem;
    }

    .saved-property-title {
        font-size: 0.95rem;
    }

    .price-amount {
        font-size: 1.1rem;
    }

    .btn-save-property {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .btn-save-property i {
        font-size: 1.1rem;
    }
}

/* ===================================================
   Contact Page
   =================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header .lead {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Contact Form Validation States */
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Accordion Styling for FAQ */
.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-green);
    background-color: #e8f5e9;
    border-color: var(--primary-green);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(68, 160, 84, 0.25);
    border-color: var(--primary-green);
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .page-header {
        padding: 2rem 0 1.5rem;
    }
}

/* ===================================================
   Increment/Decrement Controls (Duration, Flexibility, Guests, etc.)
   =================================================== */
.increment-control {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 0.4rem;
    overflow: hidden;
}

.btn-increment {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #44a054;
    font-size: 1rem;
    transition: all 0.2s ease;
    min-width: 40px;
    min-height: 40px;
}

.btn-increment:hover {
    background-color: rgba(68, 160, 84, 0.1);
    color: #388945;
}

.btn-increment:active {
    background-color: rgba(68, 160, 84, 0.2);
    transform: scale(0.95);
}

.btn-increment:focus-visible {
    outline: 2px solid #44a054;
    outline-offset: -2px;
}

.increment-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    min-height: 40px;
    line-height: 1;
}

.increment-display > span:first-child {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

#durationValue,
#flexibilityValue,
#guestsValue,
#dogsValue {
    font-size: 1.25rem;
    font-weight: 700;
    color: #44a054;
    line-height: 1;
}

.increment-unit {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-top: 0.2rem;
}
