:root {
    --ocean: #0a6e74;
    --ocean-dark: #065256;
    --ocean-light: #e0f2f3;
    --green-water: #4ecdc4;
    --sand: #f5e6cc;
    --sand-dark: #e8d5b7;
    --beige: #faf6f0;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --shadow: 0 2px 16px rgba(10, 110, 116, 0.08);
    --shadow-hover: 0 8px 32px rgba(10, 110, 116, 0.15);
    --radius: 12px;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-secondary);
    color: #333;
    background: var(--beige);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--ocean) !important;
    font-size: 1.35rem;
}

.navbar-brand i { color: var(--green-water); margin-right: 8px; }

/* Buttons */
.btn-ocean {
    background: var(--ocean);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-ocean:hover {
    background: var(--ocean-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 110, 116, 0.3);
}

.btn-outline-ocean {
    border: 2px solid var(--ocean);
    color: var(--ocean);
    border-radius: 8px;
    padding: 8px 22px;
    font-weight: 500;
    transition: all 0.3s;
}

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

.btn-green-water {
    background: var(--green-water);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-green-water:hover {
    opacity: 0.9;
    color: var(--white);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--ocean) 0%, #0d8b92 50%, var(--green-water) 100%);
    padding: 100px 0 80px;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'/%3E%3C/svg%3E") bottom no-repeat;
    background-size: cover;
    pointer-events: none;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.search-box {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.search-box .form-control,
.search-box .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--green-water);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

/* Cards */
.card-property {
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    background: var(--white);
}

.card-property:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-property .card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-property .card-body { padding: 16px 20px; }

.card-property .property-type {
    font-size: 0.8rem;
    color: var(--ocean);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.card-property .property-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 4px 0;
}

.card-property .property-location {
    color: var(--gray);
    font-size: 0.9rem;
}

.card-property .property-price {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ocean);
}

.card-property .property-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray);
}

.card-property .property-amenities {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--gray);
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* Section Titles */
.section-title {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--ocean-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* Category Cards */
.card-category {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    color: #333;
}

.card-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    color: var(--ocean);
}

.card-category i {
    font-size: 2rem;
    color: var(--ocean);
    margin-bottom: 12px;
}

.card-category span {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Destination Cards */
.card-destination {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
}

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

.card-destination img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-destination .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.card-destination .overlay h5 {
    margin-bottom: 4px;
    font-weight: 700;
}

.card-destination .overlay small {
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 12px 0;
    margin: 0;
}

.breadcrumb-item a { color: var(--ocean); text-decoration: none; }

.breadcrumb-item.active { color: var(--gray); }

/* Footer */
.site-footer {
    background: var(--ocean-dark);
    color: var(--white);
    padding: 48px 0 24px;
    margin-top: 60px;
}

.site-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.site-footer a:hover { color: var(--green-water); }

.site-footer h5, .site-footer h6 {
    color: var(--white);
    font-weight: 600;
}

.site-footer .text-muted { color: rgba(255,255,255,0.6) !important; }

.social-links { margin-top: 16px; }

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white) !important;
    margin-right: 8px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--green-water) !important;
    color: var(--ocean-dark) !important;
}

.bg-ocean-light { background: rgba(78, 205, 196, 0.2); color: var(--white); }

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ocean-dark);
    color: var(--white);
    padding: 16px 0;
    z-index: 9999;
    display: none;
}

.cookie-consent a { color: var(--green-water); }

.cookie-consent.show { display: block; }

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* City Autocomplete */
.city-autocomplete {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236c757d' d='M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 16px;
    padding-left: 40px !important;
}

.city-autocomplete:focus {
    border-color: var(--green-water);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

/* Date input styling */
.date-input-wrap input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236c757d' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px;
    padding-left: 38px !important;
    cursor: pointer;
}

/* Guest Selector */
.guest-selector { position: relative; }

.guest-trigger {
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236c757d' d='M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1h8zm-7.978-1A.261.261 0 0 1 7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002a.274.274 0 0 1-.014.002H7.022zM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0zM6.936 9.28a5.88 5.88 0 0 0-1.23-.247A7.35 7.35 0 0 0 5 9c-4 0-5 3-5 4 0 .667.333 1 1 1h4.216A2.238 2.238 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816zM4.92 10A5.493 5.493 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275zM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px;
    padding-left: 38px !important;
}

.guest-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 100;
    min-width: 260px;
    color: #333;
}

.guest-row div { line-height: 1.4; }
.guest-row div small { font-size: 0.8rem; }

.guest-dropdown.show { display: block; }

.guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.guest-row:not(:last-child) { border-bottom: 1px solid #f0f0f0; }

.guest-row span { font-size: 0.95rem; font-weight: 500; }

.guest-row small { font-weight: 400; color: var(--gray); }

.guest-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    line-height: 1;
}

.guest-btn:hover {
    border-color: var(--ocean);
    color: var(--ocean);
}

.guest-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ddd;
}

.guest-count {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* Daterangepicker overrides */
.daterangepicker {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15) !important;
    padding: 20px !important;
    font-family: var(--font-secondary) !important;
}

.daterangepicker .calendar-table {
    border: none !important;
    border-radius: 8px !important;
}

.daterangepicker .calendar-table th {
    font-weight: 600;
    color: var(--ocean-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.daterangepicker .calendar-table .prev span,
.daterangepicker .calendar-table .next span {
    border-color: var(--ocean) !important;
}

.daterangepicker td.available:hover {
    background-color: var(--ocean-light) !important;
    border-radius: 50% !important;
}

.daterangepicker td.in-range {
    background-color: var(--ocean-light) !important;
    border-color: transparent !important;
}

.daterangepicker td.active {
    background-color: var(--ocean) !important;
    border-radius: 50% !important;
}

.daterangepicker td.active:hover {
    background-color: var(--ocean-dark) !important;
}

.daterangepicker td.off {
    color: #ccc !important;
}

.daterangepicker .drp-buttons .btn {
    background: var(--ocean) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 16px !important;
    font-weight: 500 !important;
}

.daterangepicker .drp-buttons .btn.btn-default {
    background: transparent !important;
    color: var(--ocean) !important;
}

.daterangepicker .drp-buttons {
    border-top-color: #f0f0f0 !important;
}

.daterangepicker .drp-selected {
    font-size: 0.85rem !important;
    color: var(--gray) !important;
}

.daterangepicker .monthselect,
.daterangepicker .yearselect {
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    padding: 2px 6px !important;
}

/* City Suggestions */
.city-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 200;
    max-height: 320px;
    overflow-y: auto;
}

.city-suggestions.show { display: block; }

.city-suggestion-item {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    transition: background 0.15s;
}

.city-suggestion-item:first-child { border-radius: 12px 12px 0 0; }
.city-suggestion-item:last-child { border-radius: 0 0 12px 12px; }

.city-suggestion-item:hover {
    background: var(--ocean-light);
}

.city-suggestion-item i {
    color: var(--ocean);
    font-size: 0.9rem;
}

.city-suggestion-item small {
    color: var(--gray);
    margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 1.75rem; }
    .search-box { padding: 16px; }
    .card-property .card-img-top { height: 180px; }
    .card-destination { height: 200px; }
}
