@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Raleway:wght@400;700&display=swap');

:root {
    --honey-gold: #D4A017;
    --leaf-green: #558B2F;
    --off-white: #FCF9F0;
    --hive-charcoal: #333;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--off-white);
    margin: 0;
    color: var(--hive-charcoal);
}

/* Header Pattern */
.site-header {
    background: linear-gradient(rgba(252, 249, 240, 0.9), rgba(252, 249, 240, 0.9)), url('assets/bees5.png');
    padding: 20px 0;
    text-align: center;
    border-bottom: 4px solid var(--honey-gold);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--honey-gold);
    margin: 10px 0;
    font-style: italic;
}

/* Nav */
nav a {
    text-decoration: none;
    color: var(--hive-charcoal);
    margin: 0 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 450px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 15px 15px;
}

/* Contact Overlap Card */
.contact-card {
    background: white;
    max-width: 900px;
    margin: -60px auto 40px;
    padding: 40px;
    position: relative;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.emergency-box {
    border-left: 4px solid #D32F2F;
    padding-left: 20px;
}

.btn-action {
    background: var(--honey-gold);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

.credentials-bar {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 4px solid var(--honey-gold);
}

@media (max-width: 768px) {
    .credentials-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .cred-text {
        border-left: none !important;
        padding-left: 0 !important;
        text-align: center !important;
    }
}

/* --- Project Grouping (Start/During/Finish) --- */
.project-group {
    background: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 15px;
    border-top: 5px solid var(--honey-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Force 3 columns */
    gap: 20px;
}

/* --- General Gallery (Swarms, Apiary, etc) --- */
.general-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* --- Common Items --- */
.gallery-item {
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.step-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--honey-gold);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 5;
}

.gallery-caption {
    padding: 10px 5px;
    font-size: 0.9rem;
    text-align: center;
    color: #555;
}

/* Mobile: Stack everything */
@media (max-width: 800px) {
    .step-row, .general-gallery-grid {
        grid-template-columns: 1fr;
    }
}