/* ========================================
   GLOBAL RESET
======================================== */

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

/* ========================================
   BASE STYLES
======================================== */

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #f4f1e8;
    color: #222;
    line-height: 1.7;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2,
h3,
.brand-title {
    font-family: 'Cinzel', serif;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #10241c;
    margin-bottom: 12px;
}

.section-title p {
    color: #555;
    max-width: 720px;
    margin: auto;
}

/* ========================================
   HEADER / NAVIGATION
======================================== */

.site-header {
    background: rgba(16, 36, 28, 0.96);
    border-bottom: 3px solid #b59552;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #f2e6c9;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4b06a;
    margin-top: 3px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav ul li a {
    color: #f4f1e8;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav ul li a:hover {
    color: #d4b06a;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #d4b06a;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    background:
        linear-gradient(rgba(10, 20, 16, 0.65), rgba(10, 20, 16, 0.75)),
        url('../images/backgrounds/humber-landscape.jpg') center/cover no-repeat;

    min-height: 88vh;

    display: flex;
    align-items: center;

    color: white;
}

/* ========================================
   HERO LAYOUT
======================================== */

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-content {
    max-width: 760px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #f2e6c9;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: #f3f3f3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.45));
}

/* ========================================
   BUTTONS
======================================== */

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #b59552;
    color: #10241c;
}

.btn-primary:hover {
    background: #d4b06a;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #d4b06a;
    color: #10241c;
    background: rgba(255,255,255,0.75);
}

.btn-secondary:hover {
    background: #d4b06a;
    color: #10241c;
}

/* ========================================
   INTRO SECTION
======================================== */

.intro {
    padding: 90px 0;
}

/* ========================================
   CARD GRID
======================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-top: 4px solid #b59552;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: #10241c;
    font-size: 1.4rem;
}

/* ========================================
   LANDOWNERS SECTION
======================================== */

.landowners {
    padding: 90px 0;
    background: #10241c;
    color: white;
    overflow-x: hidden;
}

.landowners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.landowners h2 {
    font-size: 2.5rem;
    color: #f2e6c9;
    margin-bottom: 24px;
}

.heritage-list {
    margin-top: 20px;
    padding-left: 20px;
}

.heritage-list li {
    margin-bottom: 12px;
}

.quote-box {
    background: rgba(255,255,255,0.08);
    padding: 35px;
    border-left: 4px solid #b59552;
    border-radius: 6px;
    width: 100%;
    overflow-wrap: break-word;
}

.quote-box p {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

/* ========================================
   EVENTS SECTION
======================================== */

.events {
    padding: 90px 0;
}

.event-card {
    background: white;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border-left: 4px solid #b59552;
}

.event-card h3 {
    color: #10241c;
    margin-bottom: 8px;
}

.event-date {
    color: #b59552;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ========================================
   FOOTER
======================================== */

footer {
    background: #0a1712;
    color: #ddd;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #b59552;
}

footer p {
    margin-bottom: 10px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .brand {
        justify-content: center;
        gap: 10px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .main-nav ul li a {
        font-size: 0.9rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: auto;
    }

    .hero-logo {
        margin-top: 20px;
    }

    .hero-logo img {
        max-width: 300px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .landowners-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .hero {
        min-height: 75vh;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2,
    .landowners h2 {
        font-size: 2rem;
    }

    .card,
    .event-card,
    .quote-box {
        padding: 24px;
    }
}

/* ========================================
   GALLERY
======================================== */

.gallery-grid {
    columns: 3 280px;
    column-gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(184, 149, 74, 0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.gallery-item img {
    width: 100%;
    display: block;
    height: auto;
}

/* ========================================
   MOBILE GALLERY
======================================== */

@media (max-width: 768px) {

    .gallery-grid {
        columns: 1;
    }

}