:root {
    --gold: #c5a059;
    --gold-gradient: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --bg-white: #ffffff;
    --text-dark: #4a4a4a;
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Gold Bars */
.gold-bar-top {
    height: 15px;
    background: var(--gold-gradient);
    width: 100%;
    margin-bottom: 2rem;
}

.gold-bar-bottom {
    height: 15px;
    background: var(--gold-gradient);
    width: 100%;
    margin-top: 4rem;
}

/* Header */
header {
    text-align: center;
    padding-bottom: 3rem;
}

.main-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.sub-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: var(--gold);
    margin-bottom: 2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links li {
    border: 1px solid var(--gold);
    padding: 0.5rem 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Gold Frames Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.gold-frame-outer {
    padding: 10px;
    background: var(--gold-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gold-frame-inner {
    background: white;
    width: 100%;
    height: 100%;
    padding: 20px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content-box {
    padding: 2rem 0;
}

.content-box h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.icon {
    font-size: 2.5rem;
}

/* Portrait Card */
.portrait {
    height: 450px;
}

.portrait .gold-frame-inner {
    padding: 5px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Secondary Row */
.grid-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto;
}

.action-card {
    height: 150px;
}

.action-link {
    font-family: var(--font-serif);
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.image-overlay-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.overlay-text {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
}

/* Footer */
footer {
    text-align: center;
    padding-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-dark);
    text-decoration: none;
}

.copyright {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #999;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .grid-links {
        grid-template-columns: 1fr;
    }

    .portrait {
        height: 400px;
        order: -1;
    }
}