:root {
    --primary-color: #167c21; /* Brand Green */
    --primary-hover: #11621a;
    --secondary-color: #ffd200; /* Brand Yellow */
    --secondary-hover: #e6bd00;
    --text-color: #333333;
    --text-muted: #6c757d;
    --bg-color: #faf9f5;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: #333;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: #333;
}

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

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

/* Header */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.desktop-nav a {
    color: var(--text-color);
    font-weight: 500;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    color: var(--text-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: var(--shadow-md);
    z-index: 1;
    list-style: none;
    border-radius: 4px;
    padding: 5px 0;
    right: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: var(--text-color);
    padding: 8px 16px;
    display: block;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Search Widget */
.search-widget {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-color);
    text-align: left;
}

.search-fields {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input, .form-group select, .form-control {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.search-btn {
    padding: 10px 30px;
    height: 42px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 30px;
    font-size: 28px;
}

.bg-light { background-color: #f5f5f5; }
.bg-primary { background-color: var(--primary-color); }
.text-white { color: white; }

/* Grid Layouts */
.destination-grid, .property-grid, .features-grid, .footer-grid {
    display: grid;
    gap: 20px;
}

.destination-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.property-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

/* Property Card */
.property-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    box-shadow: var(--shadow-md);
}

.card-image-wrap {
    position: relative;
    height: 200px;
    background: #ddd;
}

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

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
}

.badge {
    background: var(--secondary-color);
    color: #333;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.card-title a { color: var(--text-color); }

.card-rating {
    font-size: 14px;
    font-weight: 600;
}

.star { color: var(--secondary-color); }

.card-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card-description {
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
}

.price-period {
    font-size: 12px;
    color: var(--text-muted);
}

/* Destination Card Placeholder */
.dest-card {
    text-align: center;
    color: var(--text-color);
}
.dest-img-wrap {
    height: 150px;
    background: #e0e0e0;
    border-radius: 50%;
    margin-bottom: 10px;
    overflow: hidden;
}
.dest-card h3 { font-size: 18px; }

/* Features */
.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Layouts with Sidebar */
.page-layout {
    display: flex;
    gap: 30px;
    padding: 40px 15px;
}

.sidebar { width: 300px; flex-shrink: 0; }
.main-content { flex-grow: 1; }

.filter-sidebar {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 16px; margin-bottom: 10px; }

.checkbox-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Property Detail */
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin: 20px 0;
    height: 400px;
}

.gallery-main, .gallery-thumbs .img-placeholder {
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumbs .img-placeholder {
    flex: 1;
}

.property-section {
    margin: 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
}

.booking-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 90px;
}

.booking-price {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Auth Container */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 15px;
}

.auth-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 450px;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 20px;
    margin-top: auto;
}

.site-footer h4 {
    color: white;
    margin-bottom: 20px;
}

.site-footer ul {
    list-style: none;
}

.site-footer a {
    color: #ccc;
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
}

.social-links a {
    margin-left: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .desktop-nav, .header-actions { display: none; }
    .mobile-menu-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; }
    
    .hero-title { font-size: 32px; }
    .search-fields { flex-direction: column; align-items: stretch; }
    
    .page-layout { flex-direction: column; }
    .sidebar { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .property-gallery { grid-template-columns: 1fr; height: auto; }
    .gallery-main { height: 250px; margin-bottom: 10px; }
    .gallery-thumbs { flex-direction: row; }
    .gallery-thumbs .img-placeholder { height: 80px; }
}
