/* DESIGN PHILOSOPHY: INTENTIONAL MINIMALISM & BRUTALISM */
:root {
    --bg-cream: #F9F6EE;
    --brand-yellow: #F5A623;
    --brand-red: #E02424;
    --brand-green: #057A55;
    --text-dark: #111111;
    --text-light: #FFFFFF;
    
    --font-heading: 'Oswald', 'Impact', sans-serif;
    --font-body: 'Montserrat', 'Roboto', sans-serif;
    
    --brutal-border: 3px solid var(--text-dark);
    --brutal-shadow: 6px 6px 0px var(--text-dark);
    --brutal-shadow-hover: 2px 2px 0px var(--text-dark);
    
    --transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 80px 0;
}

.text-yellow { color: var(--brand-yellow); }
.text-white { color: var(--text-light); }
.bg-yellow { background-color: var(--brand-yellow) !important; }

/* TYPOGRAPHY COMPONENTS */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 3rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    text-transform: uppercase;
    padding: 12px 32px;
    cursor: pointer;
    border: var(--brutal-border);
    box-shadow: var(--brutal-shadow);
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translate(4px, 4px);
    box-shadow: var(--brutal-shadow-hover);
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--text-light);
    border-radius: 50px; /* Pill shape */
}

.btn-outline-white {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
    box-shadow: 4px 4px 0px var(--text-light);
}

.btn-outline-white:hover {
    box-shadow: 2px 2px 0px var(--text-light);
}

.btn-full {
    width: 100%;
}

/* BRUTAL COMPONENTS */
.brutal-card {
    background-color: var(--text-light);
    border: var(--brutal-border);
    box-shadow: var(--brutal-shadow);
    padding: 24px;
    transition: var(--transition);
}

.brutal-form {
    background-color: #F0F0F0;
    border: 2px solid var(--text-dark);
    padding: 20px;
    margin-top: 15px;
}

/* HEADER */
.site-header {
    background-color: var(--bg-cream);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: var(--brutal-border);
    border-radius: 0 0 20px 20px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: clamp(40px, 6vw, 75px);
    width: auto;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

.social-icon {
    color: var(--text-dark);
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--brand-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

/* HERO SECTION */
.hero {
    background-color: var(--brand-yellow);
    min-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.hero-visuals {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.polaroid {
    background: #fff;
    padding: 10px 10px 40px 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    position: absolute;
    width: clamp(200px, 25vw, 350px);
}

.polaroid-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #eee;
}

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

.polaroid-left {
    top: 20%;
    left: 5%;
    transform: rotate(-12deg);
}

.polaroid-right {
    top: 15%;
    right: 5%;
    transform: rotate(8deg);
}

.sticker {
    position: absolute;
    font-family: var(--font-heading);
    padding: 5px 15px;
    font-size: 1rem;
    color: #fff;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    z-index: 2;
}

.sticker-green {
    background-color: var(--brand-green);
    bottom: 15px;
    right: -20px;
    transform: rotate(-5deg);
}

.sticker-red {
    background-color: var(--brand-red);
    top: -15px;
    left: -20px;
    transform: rotate(-10deg);
}

.tape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
    width: 100px;
    height: 30px;
    z-index: 3;
}

.tape-top {
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
}

.tape-bottom {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
}

.hero-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--brand-red);
    background-image: radial-gradient(var(--brand-yellow) 20%, transparent 20%);
    background-size: 20px 20px;
    border-top: var(--brutal-border);
}

/* ADVANTAGES */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.adv-icon {
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
}

/* ROUTES */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.route-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.route-img-wrap {
    position: relative;
    height: 220px;
    border-bottom: var(--brutal-border);
}

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

.route-badge {
    position: absolute;
    top: 15px;
    right: -10px;
    background: var(--text-dark);
    color: var(--text-light);
    font-family: var(--font-heading);
    padding: 5px 15px;
    border: 2px solid var(--text-light);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
}

.badge-red { background: var(--brand-red); }
.badge-green { background: var(--brand-green); }

.route-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.route-meta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.route-title {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.route-desc {
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-toggle-form {
    width: 100%;
    background: var(--text-dark);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    padding: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-toggle-form:hover {
    background: var(--brand-red);
}

.route-form-wrapper {
    display: none; /* Controlled by JS */
}

.route-form-wrapper.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-red);
}

/* SOCIAL PROOF / MOODBOARD */
.social-proof {
    background-color: var(--text-dark);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23222222' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow: hidden;
}

.moodboard {
    position: relative;
    min-height: 500px;
    margin-top: 50px;
}

.moodboard .polaroid {
    position: absolute;
    width: 250px;
}

.big-sticker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    background: var(--brand-green);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    padding: 15px 30px;
    box-shadow: var(--brutal-shadow);
    border: var(--brutal-border);
    z-index: 10;
    text-transform: uppercase;
    white-space: nowrap;
}

.photo-1 { top: 10%; left: 10%; transform: rotate(-8deg); z-index: 1; }
.photo-2 { top: 20%; right: 15%; transform: rotate(12deg); z-index: 2; }
.photo-3 { bottom: 10%; left: 20%; transform: rotate(5deg); z-index: 3; }
.photo-4 { bottom: 5%; right: 25%; transform: rotate(-15deg); z-index: 4; }

@media (max-width: 768px) {
    .moodboard { min-height: 800px; }
    .photo-1 { top: 0; left: 5%; width: 200px; }
    .photo-2 { top: 25%; right: 5%; width: 200px; }
    .photo-3 { top: 50%; left: 10%; width: 200px; }
    .photo-4 { bottom: 0; right: 10%; width: 200px; }
    .big-sticker { font-size: 1.5rem; top: 40%; }
}

/* BLOG SECTION */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: var(--brutal-border);
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-desc {
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--brand-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
    align-self: flex-start;
}

.blog-link:hover {
    color: var(--brand-red);
    text-decoration-color: var(--brand-red);
}

/* INNER PAGE LAYOUT */
.inner-layout {
    padding: 60px 20px;
}

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

.inner-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
}

.inner-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 10px;
}

.prose h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--brand-red);
}

.prose p {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.prose ul {
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 1.125rem;
}

.prose li {
    margin-bottom: 10px;
}

.prose a {
    color: var(--brand-red);
    text-decoration: underline;
    font-weight: 600;
}

.content-img {
    width: 100%;
    border: var(--brutal-border);
    box-shadow: var(--brutal-shadow);
    margin-bottom: 40px;
}

.lead-text {
    font-size: 1.35rem !important;
    font-weight: 600;
}

.brutal-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    padding: 20px 20px 20px 40px;
    border-left: 8px solid var(--brand-yellow);
    background: #f0f0f0;
    margin: 40px 0;
    position: relative;
}

.form-banner {
    margin: 40px 0;
    text-align: center;
}

.form-banner h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* FOOTER */
.site-footer {
    background-color: var(--brand-red);
    color: var(--text-light);
    border-top: var(--brutal-border);
}

.footer-container {
    padding: 60px 20px 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-cta {
    max-width: 400px;
}

.footer-cta p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 0.875rem;
}

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

.footer-links a:hover {
    text-decoration: underline;
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-cream);
        flex-direction: column;
        padding: 20px;
        border-bottom: var(--brutal-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .hero-visuals {
        display: none; /* Hide complex polaroids on mobile for cleaner text read */
    }
    
    .hero {
        padding-top: 60px;
    }
}

@media (max-width: 576px) {
    .inner-container {
        padding: 20px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* --- Smart Hub Styles (Avant-Garde/Minimalism) --- */
.smart-hub {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.hub-controls {
    margin-bottom: 2rem;
}

.hub-search {
    position: relative;
    max-width: 400px;
}

.hub-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.hub-search input:focus {
    outline: none;
    border-color: #333;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hub-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.hub-card {
    background: transparent;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.hub-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hub-card__image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.hub-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hub-card:hover .hub-card__image-wrapper img {
    transform: scale(1.05);
}

/* Pattern Thumbnails */
.hub-card__image-wrapper.pattern-0 {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
}

.hub-card__image-wrapper.pattern-1 {
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}

.hub-card__image-wrapper.pattern-2 {
    background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.hub-card__image-wrapper.pattern-3 {
    background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

.hub-card__image-wrapper.pattern-4 {
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.hub-card__image-wrapper.pattern-5 {
    background: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
}

.hub-card__image-wrapper.pattern-6 {
    background: linear-gradient(to top, #30cfd0 0%, #330867 100%);
}

.hub-card__image-wrapper.pattern-7 {
    background: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}

.hub-card__image-wrapper.pattern-8 {
    background: linear-gradient(to top, #5ee7df 0%, #b490ca 100%);
}

.hub-card__image-wrapper.pattern-9 {
    background: linear-gradient(to right, #f78ca0 0%, #f9748f 19%, #fd868c 60%, #fe9a8b 100%);
}

.hub-card__content {
    padding: 1.5rem;
}

.hub-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: inherit;
    line-height: 1.4;
}

.hub-card__excerpt {
    font-size: 0.9rem;
    color: inherit;
    opacity: 0.8;
    line-height: 1.6;
}

.hub-footer {
    margin-top: 3rem;
    text-align: center;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    margin-bottom: 6rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

.related-posts__heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.related-post-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.related-post-card:hover {
    background: rgba(128, 128, 128, 0.05);
}

.related-post-card__image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}

.related-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-card__title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* Utilities */
.btn-clean {
    background: none;
    border: 1px solid #333;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-clean:hover {
    background: #333;
    color: #fff;
}