/*
Theme Name: Cross-Channel Heritage
Theme URI: https://acb44.com
Author: Regional Heritage Network
Author URI: https://acb44.com
Description: A heritage-focused theme celebrating regional culture across Brittany and East Anglia
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heritage-theme
*/

:root {
    --primary-sage: #7a9b76;
    --primary-dark: #4a5f47;
    --accent-amber: #d4a574;
    --accent-terracotta: #c85a3e;
    --neutral-cream: #f5f1e8;
    --neutral-stone: #e8e3d8;
    --text-dark: #2c3833;
    --text-mid: #5a6b63;
}

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

body {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--neutral-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }

a {
    color: var(--primary-sage);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-terracotta);
}

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

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

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-sage) 100%);
    padding: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-branding h1 {
    color: var(--neutral-cream);
    font-size: 1.75rem;
    margin: 0;
    letter-spacing: 2px;
}

.site-branding p {
    color: rgba(245, 241, 232, 0.8);
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
    font-style: italic;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.main-navigation a {
    color: var(--neutral-cream);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover {
    color: var(--accent-amber);
    border-bottom-color: var(--accent-amber);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #4a5f47 0%, #7a9b76 50%, #5a6b63 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--neutral-cream);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--neutral-cream);
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-amber);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    background: var(--accent-terracotta);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.content-section.alt-bg {
    background-color: white;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-amber);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-mid);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.column-image {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
}

.column-image img {
    transition: transform 0.5s ease;
}

.column-image:hover img {
    transform: scale(1.05);
}

.column-content h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.column-content p {
    margin-bottom: 1.5rem;
}

.column-content ul {
    list-style: none;
    margin: 2rem 0;
}

.column-content li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.column-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-amber);
    font-weight: bold;
}

/* Region Cards */
.region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.region-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.region-card-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.region-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.region-card:hover .region-card-image img {
    transform: scale(1.1);
}

.region-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.region-overlay h3 {
    color: white;
    font-size: 2rem;
    margin: 0;
}

.region-card-content {
    padding: 2rem;
}

.region-card-content p {
    margin-bottom: 1.5rem;
    color: var(--text-mid);
}

.learn-more {
    color: var(--primary-sage);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 1rem;
}

/* Business Features Grid */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.business-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-amber);
}

.business-card:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.business-card h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.business-card .business-type {
    color: var(--accent-terracotta);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.business-card p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--neutral-cream);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

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

.footer-about h3,
.footer-links h4 {
    color: var(--accent-amber);
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(245, 241, 232, 0.8);
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(245, 241, 232, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-amber);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 241, 232, 0.2);
    text-align: center;
    color: rgba(245, 241, 232, 0.6);
}

/* Blog/Article Styles */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.article-image {
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    font-size: 0.875rem;
    color: var(--text-mid);
    margin-bottom: 1rem;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    color: var(--text-mid);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-sage);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .two-column,
    .region-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
}
