:root {
    --bg-main: #fcfbf9;
    --bg-dark: #fcfbfa;
    --text-main: #333333;
    --text-light: #555555;
    --accent-gold: #C5A059;
    --accent-gold-hover: #e0b462;
    --accent-red: #942b2e;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
}

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

/* Typography Base */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Utility Header */
.utility-bar {
    background-color: #fcfbfa;
    border-bottom: 1px solid #eaeaea;
    padding: 5px 0;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.utility-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.utility-container a {
    color: #666;
}

.utility-container a:hover {
    color: var(--accent-gold);
}

/* Main Header */
.main-header {
    background-color: #fcfbfa;
    padding: 30px 20px;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #eedba5 0%, #cbaa6a 100%);
    margin-right: -15px;
    opacity: 0.8;
}

.logo-text {
    font-size: 2.7rem;
    color: #443f33;
    letter-spacing: 6px;
    text-transform: uppercase;
    z-index: 1;
}

/* Navigation Bar */
.main-nav {
    background-color: #f6f4ed;
    width: 100%;
    border-top: 1px solid #e5dfd3;
    border-bottom: 1px solid #e5dfd3;
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px 40px;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav li a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4a4a4a;
    font-weight: 500;
}

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

.profile-icon {
    margin-left: auto;
    color: #666;
}

/* Hero Grid */
.hero-grid {
    display: flex;
    width: 100%;
    height: 480px;
}

.hero-card {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-card:hover {
    cursor: pointer;
}

.hero-card:hover .hero-card-overlay {
    background-color: rgba(0,0,0,0.85);
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background-color: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.hero-card-overlay h2 {
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Middle Background Pattern Wrapper */
.middle-section-bg {
    width: 100%;
    background-color: #f8f6f0;
    position: relative;
    padding: 120px 0;
}

.middle-section-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/images/pattern-flower.svg');
    background-repeat: repeat;
    -webkit-mask-image: radial-gradient(circle at center, transparent 25%, black 100%);
    mask-image: radial-gradient(circle at center, transparent 25%, black 100%);
    opacity: 0.08;
    pointer-events: none;
}

/* Main Content Area */
.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 20px;
}

.content-left {
    flex: 2;
}

.content-left .content-image {
    width: 100%;
    margin-bottom: 30px;
}

.text-block p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.accent-link {
    color: #a33b3b;
}

.accent-link:hover {
    text-decoration: underline;
}

.btn-more {
    display: inline-block;
    background-color: #666;
    color: white;
    padding: 8px 25px;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-more:hover {
    background-color: var(--accent-gold);
}

.content-right {
    flex: 1;
    background-color: transparent;
    border-left: 1px solid #d4cbb3;
    padding-left: 60px;
}

.sidebar-title {
    font-size: 1.4rem;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.program-title {
    color: var(--accent-red);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.program-subtitle {
    color: #888;
    font-style: italic;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.program-details, .program-date {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.learn-more-link {
    display: inline-block;
    color: var(--accent-red);
    text-decoration: underline;
    margin-bottom: 25px;
}

.sidebar-image {
    width: 100%;
    margin-bottom: 20px;
}

.sidebar-caption {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

/* Bottom Actions Grid */
.bottom-card-grid {
    background-color: #e2cfa2;
    background-image: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(226,207,162,1) 50%, rgba(255,255,255,0.8) 100%);
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 50px 20px;
    gap: 30px;
}

.bottom-card {
    flex: 1;
    text-align: center;
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

.bottom-card:hover .card-img-wrapper {
    filter: brightness(1.05);
}

.badge-now-available {
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.bottom-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.bottom-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.btn-ghost {
    display: inline-block;
    border: 1px solid #555;
    padding: 8px 15px;
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
    background: transparent;
}

.btn-ghost:hover {
    background-color: #555;
    color: white;
}

/* Footer */
.main-footer {
    background-color: #eceee9;
    padding: 60px 40px;
    text-align: center;
    margin-top: 50px;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-gold);
    margin: 0 auto 10px;
    opacity: 0.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #555;
    letter-spacing: 2px;
}

.footer-subtitle {
    font-style: italic;
    color: #39527a;
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.footer-column {
    text-align: center;
}

.footer-column h5 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li a {
    font-size: 0.85rem;
    color: #39527a;
    line-height: 1.8;
}

.footer-column li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
}

/* Internal Page Structural Blocks */
.page-hero {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.55);
}

.page-hero h1 {
    position: relative;
    color: white;
    font-size: 3.5rem;
    letter-spacing: 3px;
    z-index: 1;
    text-transform: uppercase;
    text-align: center;
    padding: 0 20px;
}

.block-light {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.block-dark {
    background-color: #2c2a27;
    color: #f6f4ed;
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.block-dark h2, .block-dark h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.block-dark p {
    color: #dedbd3;
}

.container-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.feature-item {
    border-top: 2px solid var(--accent-gold);
    padding-top: 20px;
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-red);
}

.btn-hero {
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-hero:hover {
    background-color: #7a1c1e;
    color: white;
}

@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    .hero-grid {
        flex-direction: column;
        height: auto;
    }
    .hero-card {
        height: 250px;
    }
    .bottom-card-grid {
        flex-direction: column;
    }
}
