/*
Theme Name: HomeCamp
Theme URI: https://homecamp.eu
Description: Custom theme for HomeCamp RV parking marketplace
Author: HomeCamp Team
Author URI: https://homecamp.eu
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homecamp
*/

/* ===================================
   VARIABLES
   =================================== */
:root {
    --hc-primary: #FF5A5F;
    --hc-secondary: #484848;
    --hc-text: #222222;
    --hc-text-muted: #717171;
    --hc-border: #DDDDDD;
    --hc-bg-light: #F7F7F7;
    --hc-radius: 12px;
    --hc-radius-pill: 40px;
    --hc-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --hc-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--hc-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   BUTTONS
   =================================== */
.hc-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--hc-primary);
    color: white;
    border: none;
    border-radius: var(--hc-radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

.hc-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--hc-shadow-hover);
    color: white;
}

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

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

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

.hc-btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.hc-link {
    color: var(--hc-text);
    text-decoration: none;
    font-weight: 600;
}

.hc-link:hover {
    text-decoration: underline;
}

/* ===================================
   HERO SECTION
   =================================== */
.hc-hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #667;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: white;
}

.hc-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hc-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hc-hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: white;
}

/* ===================================
   SEARCH FORM
   =================================== */
.hc-search-form {
    background: white;
    border-radius: var(--hc-radius-pill);
    padding: 8px;
    box-shadow: var(--hc-shadow-hover);
    display: flex;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
}

.hc-search-form form {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0;
}

.hc-search-input-group {
    flex: 1;
    padding: 12px 20px;
    border-right: 1px solid var(--hc-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hc-search-input-group:last-of-type {
    border-right: none;
}

.hc-search-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hc-text);
    display: block;
    margin-bottom: 4px;
}

.hc-search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    color: var(--hc-text-muted);
    font-size: 14px;
    padding: 0;
    background: transparent;
}

.hc-search-form button {
    background: var(--hc-primary);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hc-search-form button:hover {
    transform: scale(1.05);
}

.hc-search-form button svg {
    flex-shrink: 0;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.hc-how-it-works {
    padding: 80px 20px;
}

.hc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.hc-feature-card {
    text-align: center;
    padding: 30px;
    transition: transform 0.2s;
}

.hc-feature-card:hover {
    transform: translateY(-4px);
}

.hc-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.hc-feature-card h4 {
    margin-bottom: 12px;
    font-size: 20px;
}

.hc-feature-card p {
    color: var(--hc-text-muted);
}

/* ===================================
   POPULAR DESTINATIONS
   =================================== */
.hc-popular-destinations {
    padding: 80px 20px;
}

.hc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.hc-section-header h2 {
    margin: 0;
}

/* ===================================
   TRUST & SAFETY SECTION
   =================================== */
.hc-trust-section {
    background: var(--hc-bg-light);
    padding: 80px 20px;
}

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

.hc-trust-content h2 {
    margin-bottom: 24px;
}

.hc-trust-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.hc-trust-list li {
    padding: 8px 0;
    font-size: 16px;
}

.hc-trust-image,
.hc-host-image {
    text-align: center;
    padding: 80px 40px;
    background: #e0e0e0;
    border-radius: var(--hc-radius);
}

.hc-placeholder-image {
    color: #999;
    font-size: 14px;
}

/* ===================================
   HOST CTA SECTION
   =================================== */
.hc-host-cta {
    padding: 80px 20px;
}

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

.hc-host-content h2 {
    margin-bottom: 16px;
}

.hc-host-lead {
    font-size: 18px;
    color: var(--hc-text-muted);
    margin: 16px 0 24px;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hc-search-form {
        max-width: 1000px;
    }
}

@media (max-width: 968px) {
    .hc-trust-grid,
    .hc-host-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hc-hero h1 {
        font-size: 32px;
    }
    
    .hc-hero p {
        font-size: 16px;
    }
    
    .hc-search-form {
        border-radius: var(--hc-radius);
        padding: 16px;
    }
    
    .hc-search-form form {
        flex-direction: column;
        gap: 0;
    }
    
    .hc-search-input-group {
        border-right: none;
        border-bottom: 1px solid var(--hc-border);
        width: 100%;
        padding: 16px;
    }
    
    .hc-search-input-group:last-of-type {
        border-bottom: none;
    }
    
    .hc-search-form button {
        width: 100%;
        border-radius: var(--hc-radius);
        height: 56px;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hc-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   HEADER
   =================================== */
.site-header {
    background: white;
    border-bottom: 1px solid var(--hc-border);
    padding: 16px 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
}

.nav-menu a {
    color: var(--hc-text);
    text-decoration: none;
    font-weight: 500;
}

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

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background: var(--hc-bg-light);
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}

.footer-column h6 {
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--hc-text-muted);
    text-decoration: none;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--hc-text);
}

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

.footer-bottom p {
    margin: 0;
    color: var(--hc-text-muted);
    font-size: 14px;
}

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

.footer-links a {
    color: var(--hc-text-muted);
    text-decoration: none;
    font-size: 14px;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
