/* Oxfordshire Kindness Wave - Custom Styles */

:root {
    --terracotta: #C4704F;
    --terracotta-dark: #A85A3D;
    --cream: #FDF8F3;
    --sage: #7A9E7E;
    --sage-light: #B8D4BB;
    --charcoal: #2D3436;
    --warm-gray: #636E72;
    --soft-white: #FEFEFE;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--charcoal);
    background-color: var(--soft-white);
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Skip Link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--terracotta);
    color: white;
}
.skip-to-content:focus {
    left: 0;
}

/* Navigation */
.site-header {
    background: var(--soft-white);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    width: 48px;
    height: 48px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}

.brand-text small {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--warm-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-link {
    color: var(--charcoal) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--terracotta) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(196, 112, 79, 0.25);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--sage-light) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: var(--terracotta);
    opacity: 0.08;
    border-radius: 50%;
    transform: rotate(-15deg);
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-title span {
    color: var(--terracotta);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--warm-gray);
    max-width: 520px;
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background: var(--terracotta);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background: var(--terracotta-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 112, 79, 0.35);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--sage);
    color: var(--sage);
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
    background: var(--sage);
    color: white;
}

.hero-visual {
    position: relative;
}

.hero-img-wrapper {
    background: var(--terracotta);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: var(--soft-white);
}

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

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-title {
    font-size: 2.25rem;
    color: var(--charcoal);
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
}

.value-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.value-card p {
    color: var(--warm-gray);
    font-size: 0.95rem;
}

/* About Preview */
.about-preview {
    padding: 5rem 0;
    background: var(--cream);
}

.about-img-wrapper {
    border-radius: 8px;
    overflow: hidden;
    background: var(--sage-light);
    padding: 2rem;
}

.about-preview h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.about-preview p {
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background: var(--soft-white);
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.news-card-img {
    height: 180px;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-card-img svg {
    width: 100%;
    height: 100%;
}

.news-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.news-card h3 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.2s;
}

.news-card h3 a:hover {
    color: var(--terracotta);
}

.news-excerpt {
    color: var(--warm-gray);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.news-excerpt a {
    color: var(--terracotta);
    font-weight: 600;
}

.news-excerpt a:hover {
    text-decoration: underline;
}

.read-more {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 0.6rem;
    color: var(--terracotta-dark);
}

.news-section .text-center {
    margin-top: 2.5rem;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: var(--cream);
}

.partners-section h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--charcoal);
}

.partner-logo {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
    filter: grayscale(30%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--terracotta);
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn-cta {
    background: white;
    color: var(--terracotta);
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--cream);
    color: var(--terracotta-dark);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 1.5rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand svg {
    width: 40px;
    height: 40px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    max-width: 280px;
}

.footer-heading {
    color: white;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--sage-light);
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--sage-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    text-decoration: none;
}

.legal-links a:hover {
    color: rgba(255,255,255,0.8);
}

/* Cookie Notice */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    color: white;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.9rem;
}

.cookie-text a {
    color: var(--sage-light);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-accept {
    background: var(--sage);
    color: white;
}

.cookie-accept:hover {
    background: var(--sage-light);
}

.cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-decline:hover {
    border-color: rgba(255,255,255,0.6);
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-visual {
        margin-top: 2.5rem;
    }
    
    .navbar-collapse {
        background: var(--soft-white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .values-section,
    .about-preview,
    .news-section {
        padding: 3rem 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
