/* Global Styles & Variables */
:root {
    --primary-color: #D4A373;
    --secondary-color: #2A4849;
    --accent-color: #E29578;
    --bg-color: #FAFAF5;
    --text-color: #2D3142;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --font-main: 'Helvetica Neue', Arial, sans-serif;
    /* Placeholder for premium font */
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--secondary-color);
    line-height: 1.3;
}

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

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #c09060;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #1f3637;
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Allow growth */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 5rem;
    /* Add breathing room at bottom */
    overflow: hidden;
}

.hero-content {
    position: relative;
    /* Ensure z-index works */
    width: 55%;
    max-width: none;
    padding-right: 2rem;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background-color: #eee;
    background-image: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 0;
    /* Behind everything */
    border-radius: 0;
}

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    /* Covers the left side */
    height: 100%;
    background-color: var(--bg-color);
    /* Matches body bg */
    z-index: 1;
    /* Above image, below text */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    /* Diagonal cut */
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.1);
}

/* Ensure background extends for very wide screens */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-shape {
        width: 100%;
        clip-path: none;
        /* Full width on mobile */
        height: 100%;
        /* Cover full background */
        position: relative;
        /* Change flow */
        display: none;
        /* Simplify: Use simple background on mobile */
    }

    .hero::before {
        display: none;
    }

    .hero-image {
        position: relative;
        width: 90%;
        height: 300px;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto;
        border-radius: 20px;
    }

    .nav-links {
        display: none;
        /* Add JS toggle later */
    }
}


/* Sections Common */
.section-padding {
    padding: 80px 0;
}

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

.bg-light {
    background-color: #f8f9fa;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.concept-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #FAFAF5;
    transition: var(--transition);
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.concept-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.concept-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Walk List Section */
.search-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.form-select {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: white;
    font-size: 1rem;
    min-width: 150px;
}

.walk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.walk-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.walk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.walk-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.status-badge.recruiting {
    background-color: var(--accent-color);
}

.status-badge.full {
    background-color: #999;
}

.walk-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.walk-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.walk-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.walk-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.walk-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.owner-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
}

.walk-quota {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: right;
}

.text-red {
    color: #e63946;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
}

/* CTA Section */
.bg-accent-pattern {
    background-color: var(--secondary-color);
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    color: white;
}

.section-title-white {
    color: white;
    font-size: 2.5rem;
}

.cta-split {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    flex: 1;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.cta-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-features {
    text-align: left;
    margin-bottom: 2rem;
    display: block;
    width: 100%;
    max-width: 350px;
}

.cta-features li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

.btn-white:hover {
    background-color: #eee;
}

/* FooterStyles */
.site-footer {
    background-color: #1f3637;
    /* Darker secondary */
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ddd;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Footer & CTA */
@media (max-width: 768px) {
    .cta-split {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        display: none;
        /* Simplify footer on mobile or keep if needed */
    }

    .footer-links:nth-child(2),
    .footer-links:nth-child(3),
    .footer-links:nth-child(4) {
        display: block;
        /* Show links */
    }
}