html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    margin: 0;
    background: #f9f7f4;
    color: #4a4a4a;
}

/* Top utility bar */
.top-bar {
    background: linear-gradient(90deg, #6b8e7e 0%, #8b7355 100%);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 12px 200px;
    text-align: center;
    border-bottom: 3px solid #a89a8f;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar a {
    color: #fff9f0;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.top-bar a:hover {
    transform: scale(1.05);
}

/* Header + Navigation */
header {
    background: #ffffff;
    border-bottom: 2px solid #e8e4df;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    margin: 0;
    padding: 24px 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #4a4a4a;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #4a4a4a 0%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    color: #8b7355;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 28px;
}

nav a {
    color: #6b8e7e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #6b8e7e, #a89a8f);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav a:hover {
    color: #8b7355;
}

nav a:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f1eb 100%);
    color: #4a4a4a;
    padding: 60px 200px 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 142, 126, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 80"><defs><linearGradient id="floral" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23d4a8a8;stop-opacity:0.3"/><stop offset="50%" style="stop-color:%236b8e7e;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%23c8b89c;stop-opacity:0.3"/></linearGradient></defs><path d="M0,40 Q300,20 600,40 T1200,40" stroke="url(%23floral)" stroke-width="2" fill="none"/></svg>');
    background-repeat: repeat-x;
}

.hero-inner {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin: 0 0 18px;
    color: #4a4a4a;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 24px;
    color: #6a6a6a;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary {
    background: linear-gradient(135deg, #a89a8f 0%, #8b7355 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(168, 154, 143, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(168, 154, 143, 0.4);
}

.btn-ghost {
    background: transparent;
    color: #6b8e7e;
    border: 2px solid #6b8e7e;
    font-weight: 700;
}

.btn-ghost:hover {
    background: #6b8e7e;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(107, 142, 126, 0.3);
}

.hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f4 100%);
    color: #4a4a4a;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    border: 1px solid #e8e4df;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6b8e7e, #a89a8f, #8b7355);
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-card h3 {
    margin-top: 0;
    color: #6b8e7e;
    font-size: 1.05rem;
}

/* Image containers */
.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    height: 100%;
    min-height: 400px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.card-image {
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #e8e4df 0%, #f5f1eb 100%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.article-image {
    float: left;
    width: 45%;
    margin: 0 24px 24px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.article-image:hover img {
    transform: scale(1.05);
}

/* Main layout */
main {
    margin: 30px 0 60px;
    padding: 0 200px;
}

/* Feature cards */
.section-title {
    font-size: 2.2rem;
    margin: 40px 0 12px;
    color: #8b7355;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a89a8f, transparent);
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    top: -18px;
}

.section-title::after {
    bottom: -18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.card {
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e4df;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6b8e7e, #a89a8f, #8b7355);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: left;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 100px 100px 0;
    border-color: transparent rgba(107, 142, 126, 0.05) transparent transparent;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #4a4a4a;
    font-weight: 700;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: #8b7355;
}

.card p {
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6a6a6a;
}

.card a {
    color: #a89a8f;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.card a:hover {
    color: #8b7355;
    gap: 12px;
}

/* Content + sidebar layout */
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr);
    gap: 28px;
}

.content-layout h2 {
    margin-top: 0;
    margin-bottom: 24px;
    color: #8b7355;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.content-layout article p {
    color: #6a6a6a;
    line-height: 1.8;
    font-size: 0.95rem;
}

.sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f4 100%);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    border: 1px solid #e8e4df;
    transition: all 0.4s ease;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a89a8f, transparent);
}

.sidebar:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.sidebar h3 {
    margin-top: 0;
    font-size: 0.95rem;
    color: #6b8e7e;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sidebar p {
    color: #6a6a6a;
    line-height: 1.6;
}

/* Forms */
form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #4a4a4a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

form input,
form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 2px solid #e0dbd2;
    font: inherit;
    background: #faf8f5;
    transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #a89a8f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(168, 154, 143, 0.1);
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #6b8e7e 0%, #5a7d6d 100%);
    color: #ede9e2;
    padding: 60px 200px 20px;
    margin-top: 60px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-inner {
    margin: 0;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.footer-title {
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 0.8px;
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.footer-inner a {
    color: #d4c5a9;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-inner a:hover {
    color: #fff9f0;
    text-decoration: underline;
}

.footer-bottom {
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
    color: #ede9e2;
}

/* Responsive */
@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        min-height: 300px;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        float: none;
        width: 100%;
        margin: 0 0 24px 0;
    }

    .top-bar {
        text-align: center;
    }

    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    nav ul {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
