/* --- Core Variable System --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-main: #E4E1D8;
    --bg-card: #F0EFEB;
    --text-main: #000000;
    --text-muted: #444444;
    --gold: #A67C00;
    --gold-dim: rgba(166, 124, 0, 0.15);
    --border-color: rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --container: 1100px;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-main);
}

.gold-text {
    color: var(--gold);
}

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

a {
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold);
}

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

/* --- Navigation --- */
header {
    width: 100%;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(228, 225, 216, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2vw;
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
}
.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.nav-links a.active, .nav-links a:hover {
    color: var(--gold);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--bg-main);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.btn:hover {
    background-color: transparent;
    color: var(--gold);
    box-shadow: 0 0 20px var(--gold-dim);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline:hover {
    background-color: var(--gold);
    color: var(--bg-main);
}

/* --- Section Utilities --- */
.page-section {
    padding: 6rem 0;
    min-height: 80vh;
}
.section-title {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* --- Custom Layouts --- */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85vh;
}
.hero-wrapper h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    max-width: 900px;
}
.hero-wrapper p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 4rem;
}
.btn-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
}
.video-box {
    width: 100%;
    max-width: 900px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--gold-dim);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}
.about-image::after {
    content: "";
    display: block;
    padding-bottom: 125%;
}
.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.5s ease;
}
.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}
.secondary-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.sec-img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* --- Skills Layout --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    transition: 0.3s ease;
}
.skill-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--gold-dim);
}
.skill-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* --- Dark Check List --- */
.check-list {
    list-style: none;
    margin-top: 3rem;
}
.check-list li {
    font-size: 1.2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    color: var(--text-muted);
}
.check-list li::before {
    content: "✦";
    color: var(--gold);
    margin-right: 1.5rem;
    font-size: 1.5rem;
}

/* --- Footer --- */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    text-align: center;
}
.footer-logo {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.footer-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .nav-links { gap: 1.5rem; display: none; /* Make a mobile menu in a real scenario, keeping it hidden or block for now */ }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; margin-top: 1rem; }
    header .nav-container { flex-direction: column; }
    .hero-wrapper h1 { font-size: 3.5rem; }
    .about-grid, .skills-grid { grid-template-columns: 1fr; }
    .btn-group { flex-direction: column; }
}
