/* V5 Palette: Pastel / Lavender / Pinkish */
:root {
    --primary-color: #9b5de5; /* Soft Purple */
    --secondary-color: #f15bb5; /* Pinkish */
    --bg-color: #fdfbf7; /* Warm off-white */
    --text-color: #2b2d42; /* Dark slate */
    --accent-color: #fee440; /* Soft yellow */
    --light-gray: #f0eef5;
    --white: #ffffff;
    
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.section-heading {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 24px;
}

p {
    margin-bottom: 16px;
    font-size: 16px;
}

.lead-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(155, 93, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Header Layout (STRICT) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 100;
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--white);
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* V5 Unique: Vertical Hero */
.vertical-hero {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

.hero-image-wrapper {
    height: 40vh;
    width: 100%;
}

.hero-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-bottom {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.hero-content-bottom h1 {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Intro Section */
.intro-text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* V5 Unique: Horizontal Scroll Gallery */
.scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-gray);
}

.scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}
.scroll-wrapper::-webkit-scrollbar-track {
    background: var(--light-gray);
}
.scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.scroll-track {
    display: flex;
    gap: 24px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.scroll-card {
    width: 31%;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--secondary-color);
}

@media (max-width: 768px) {
    .scroll-card {
        width: 100%;
    }
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

/* V5 Unique: Overlap Split Section */
.overlap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.overlap-image-box {
    position: relative;
}

.overlap-img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--light-gray);
}

.custom-list {
    list-style: none;
    margin: 20px 0;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.disclaimer-text {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    font-style: italic;
}

@media (min-width: 992px) {
    .overlap-grid {
        grid-template-columns: 1fr 1fr;
    }
    .overlap-text-box {
        padding-left: 40px;
    }
}

/* V5 Unique: Masonry Testimonials */
.masonry-grid {
    column-count: 1;
    column-gap: 24px;
}

.masonry-item {
    break-inside: avoid;
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 4px solid var(--primary-color);
}

.quote {
    font-style: italic;
    margin-bottom: 12px;
}

.author {
    font-weight: bold;
    color: var(--secondary-color);
}

@media (min-width: 768px) {
    .masonry-grid { column-count: 2; }
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 10px;
}

/* V5 Unique: CSS-only Tabs */
.tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-wrapper input[type="radio"] {
    display: none;
}

.tab-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab-label {
    padding: 12px 24px;
    background: var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.tab-label:hover {
    background: #e2ddec;
}

.tab-panels {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"],
#tab4:checked ~ .tab-labels label[for="tab4"] {
    background: var(--primary-color);
    color: var(--white);
}

#tab1:checked ~ .tab-panels #panel1,
#tab2:checked ~ .tab-panels #panel2,
#tab3:checked ~ .tab-panels #panel3,
#tab4:checked ~ .tab-panels #panel4 {
    display: block;
}

.panel-content-flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.rounded-img {
    border-radius: 16px;
}

@media (min-width: 768px) {
    .panel-content-flex {
        grid-template-columns: 1fr 1fr;
    }
}

/* Simple FAQ List */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list-item {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-q {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

/* V5 Unique: Vertical Storytelling */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.story-year {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.story-img {
    border-radius: 20px;
    width: 100%;
}

.empty-placeholder {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px;
}

@media (min-width: 768px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .story-block.reverse .story-text {
        order: 2;
    }
    .story-block.reverse .story-image {
        order: 1;
    }
}

/* Manifesto */
.manifesto-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    border: 2px dashed var(--primary-color);
}

/* V5 Unique: Sidebar Layout (Contact) */
.sidebar-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-sidebar {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.contact-sidebar h3 {
    color: var(--accent-color);
}

.contact-detail {
    margin-bottom: 20px;
}

.form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (min-width: 992px) {
    .sidebar-layout {
        grid-template-columns: 300px 1fr;
    }
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 30px;
    font-size: 24px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

/* Thank You */
.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.action-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer (STRICT PROTECTION) */
.site-footer {
    background-color: #2b2d42 !important;
    color: #ffffff !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-logo {
    color: #9b5de5 !important;
    font-size: 28px;
    margin-bottom: 16px;
}

.footer-desc {
    color: #cccccc !important;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff !important;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: #cccccc !important;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #9b5de5 !important;
}

.footer-contact p {
    color: #cccccc !important;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444444 !important;
    color: #999999 !important;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    color: #333;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-btn-decline {
    background-color: #e0e0e0;
    color: #333;
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}