/* Cottages Sitemap Styles */
:root {
    --primary-teal: #4f7d33;
    --primary-dark: #3c5f27;
    --primary-light: #6b9c47;
    --accent-green: #6b9c47;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --white: #ffffff;
}

body {
    background: var(--gray-50);
}

.sitemap-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Header Section */
.sitemap-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(95, 158, 160, 0.3);
}

.sitemap-header h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.sitemap-header p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats Section */
.sitemap-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 0;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Search Section */
.sitemap-search {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-box {
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
}

.search-box input {
    width: 100%;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Roboto', sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(95, 158, 160, 0.1);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-teal);
    font-size: 1.25rem;
}

/* Cottages Grid */
.cottages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.cottage-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.cottage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-teal);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.cottage-card:hover {
    box-shadow: 0 12px 32px rgba(95, 158, 160, 0.15);
    transform: translateY(-4px);
    border-color: var(--primary-teal);
}

.cottage-card:hover::before {
    transform: scaleY(1);
}

.cottage-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.cottage-card:hover .cottage-name {
    color: var(--primary-teal);
}

.cottage-location {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cottage-location i {
    color: var(--primary-teal);
    font-size: 0.9rem;
}

.cottage-details {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    flex-wrap: wrap;
}

.cottage-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cottage-detail i {
    color: var(--primary-teal);
    font-size: 0.9rem;
}

/* No Results / Loading States */
.no-results, .loading {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-light);
}

.no-results i {
    font-size: 4.5rem;
    color: var(--gray-200);
    margin-bottom: 1.5rem;
    display: block;
}

.no-results p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.loading i {
    font-size: 3.5rem;
    color: var(--primary-teal);
    animation: spin 1s linear infinite;
    display: block;
    margin-bottom: 1.5rem;
}

.loading p {
    font-size: 1.125rem;
    color: var(--text-light);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sitemap-container {
        padding: 2rem 1rem;
    }

    .sitemap-header {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

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

    .sitemap-header p {
        font-size: 1rem;
    }

    .sitemap-stats {
        gap: 1rem;
    }

    .stat-box {
        padding: 1.25rem 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cottages-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cottage-card {
        padding: 1.5rem;
    }

    .cottage-name {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .sitemap-header h1 {
        font-size: 1.75rem;
    }

    .stat-box {
        padding: 1rem 1.5rem;
        flex: 1 1 45%;
        min-width: 140px;
    }

    .search-box input {
        padding: 1rem 3rem 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Smooth animations */
* {
    transition-property: transform, box-shadow, border-color;
}
