/* ==========================================================================
   Shift Within - Official Style Sheet (v1.0)
   ========================================================================== */

/* 1. OFFICIAL COLOR PALETTE & VARIABLES */
:root {
    /* Brand Palette */
    --primary-olive: #5F6F52; /* Βασικό brand color (λογότυπο, τίτλοι, buttons) */
    --warm-cream:    #F7F3EA; /* Βασικό φόντο ιστοσελίδας */
    --soft-linen:    #EFE8DA; /* Δεύτερα φόντα, κάρτες, containers */
    --warm-sand:     #D8C8AE; /* Διαχωριστικά, borders, εικονίδια */
    --deep-olive:    #3F4A3C; /* Έμφαση, κείμενα υψηλής αντίθεσης, hover states */

    /* Semantic Mappings */
    --bg-main:       var(--warm-cream);
    --bg-card:       var(--soft-linen);
    --text-main:     var(--deep-olive);
    --text-muted:    #6B7763; /* Ήπιο λαδί/γκρι για δευτερεύοντα κείμενα */
    --border-color:  var(--warm-sand);

    /* Typography */
    --font-serif:    'Lora', serif;
    --font-sans:     'Montserrat', sans-serif;
}

/* 2. RESET & BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary-olive);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-olive);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: var(--deep-olive);
}

/* 4. CARDS & CONTAINERS */
.content-section, .card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

/* 5. FOOTER STYLES */
footer, .site-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

.social-links {
    margin-bottom: 12px;
}

.social-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--deep-olive);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-separator {
    margin: 0 8px;
    color: var(--warm-sand);
}

.privacy-link, .footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-link:hover, .footer-link:hover {
    color: var(--deep-olive);
    text-decoration: underline;
}

/* 6. COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: var(--soft-linen);
    border: 1px solid var(--warm-sand);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(63, 74, 60, 0.12);
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    color: var(--text-main);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-content a {
    color: var(--primary-olive);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-cookie-primary, .btn-cookie-secondary {
    flex: 1;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cookie-primary {
    background-color: var(--primary-olive);
    border: 1px solid var(--primary-olive);
    color: var(--warm-cream);
}

.btn-cookie-primary:hover {
    background-color: var(--deep-olive);
    border-color: var(--deep-olive);
}

.btn-cookie-secondary {
    background-color: transparent;
    border: 1px solid var(--warm-sand);
    color: var(--text-main);
}

.btn-cookie-secondary:hover {
    background-color: var(--warm-cream);
}

@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    .cookie-buttons {
        width: auto;
    }
}