:root {
    /* "Dynasty Dark" Palette */
    --bg-body: #080808;
    --bg-surface: #141414;
    --bg-surface-glass: rgba(20, 20, 20, 0.85);
    /* Darker, more solid */

    /* Traditional Accents */
    --imperial-gold: #C5A059;
    /* Metallic Gold */
    --imperial-red: #8A1C1C;
    /* Deep Oxblood Red */
    --jade-dark: #2F4F4F;
    /* Subtle Jade */

    --text-main: #FDFBF7;
    /* Warm Rice Paper White */
    --text-muted: #A8A29E;

    --border-gold: 1px solid rgba(197, 160, 89, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Elegant, Traditional */
    --font-body: 'Inter', sans-serif;
    /* Modern, Readable */

    --container-width: 1200px;
    --radius-lg: 8px;
    /* Sharper corners for a more structural/traditional look */
    --radius-md: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(138, 28, 28, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 0% 100%, rgba(197, 160, 89, 0.05) 0%, transparent 20%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 120px 0;
}

/* Traditional Pattern Overlay (Subtle) */
.pattern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C5A059' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-main);
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #C5A059 0%, #E5C578 50%, #C5A059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(197, 160, 89, 0.2);
    margin-bottom: 30px;
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--imperial-gold);
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Elegant Components */
.glass-panel {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    /* Gold Border */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.ornamental-border {
    position: relative;
}

.ornamental-border::before,
.ornamental-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--imperial-gold);
    transition: all 0.5s ease;
}

.ornamental-border::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.ornamental-border::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.ornamental-border:hover::before {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.ornamental-border:hover::after {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.4s;
    border: 1px solid var(--imperial-gold);
}

.btn-primary {
    background: var(--imperial-gold);
    color: #1a1a1a;
    font-weight: 700;
}

.btn-primary:hover {
    background: #E5C578;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--imperial-gold);
}

.btn-outline:hover {
    background: rgba(197, 160, 89, 0.1);
    color: #fff;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seal {
    width: 36px;
    height: 36px;
    border: 2px solid var(--imperial-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--imperial-gold);
    font-family: var(--font-heading);
    font-weight: 700;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 50px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--imperial-gold);
    transition: 0.3s;
    transform: translateX(-50%);
}

.main-nav a:hover {
    color: var(--imperial-gold);
}

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

/* Hero */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: flex-start;
    /* Corrected to Top */
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 95px;
    /* Minimal clearance below 90px header */
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1) sepia(0.2);
    /* Slight warm tone */
}

.hero-content {
    max-width: 900px;
    padding: 40px;
    /* Reduced to shrink box height */
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 160, 89, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
}

.hero-decoration {
    font-family: var(--font-heading);
    color: var(--imperial-red);
    font-size: 1.5rem;
    /* Larger */
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    /* Bold */
}

/* Bento Grid */
.bento-section {
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 450px);
    gap: 30px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid rgba(197, 160, 89, 0.1);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.5s;
}

.bento-card:hover {
    border-color: var(--imperial-gold);
    transform: translateY(-5px);
}

.span-2 {
    grid-column: span 2;
}

.row-2 {
    grid-row: span 2;
}

.bento-img {
    position: absolute;
    inset: 0;
    transition: 0.7s;
}

.bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.bento-card:hover .bento-img img {
    opacity: 0.4;
    transform: scale(1.05);
}

.bento-text {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.bento-text h3 {
    color: var(--imperial-gold);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.bento-divider {
    width: 40px;
    height: 2px;
    background: var(--imperial-red);
    margin-bottom: 15px;
}

/* Footer */
footer {
    border-top: 1px solid var(--imperial-gold);
    padding: 80px 0;
    text-align: center;
    background: #050505;
}

.chop-stamp {
    width: 60px;
    height: 60px;
    background: var(--imperial-red);
    color: #fff;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(138, 28, 28, 0.4);
}

@media(max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .bento-grid {
        display: flex;
        flex-direction: column;
    }

    .main-header {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
    }
}

/* Contact Form Styles (Dynasty Theme) */
.contact-form {
    margin-top: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    color: var(--imperial-gold);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-align: left;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(197, 160, 89, 0.2);
    /* Gold border */
    color: var(--text-main);
    padding: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--imperial-gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}