/* CSS Variables - Design System */
:root {
    --background: hsl(0, 0%, 4%);
    --foreground: hsl(45, 100%, 98%);
    --card: hsl(0, 0%, 8%);
    --primary: hsl(45, 85%, 55%);
    --primary-dark: hsl(40, 80%, 45%);
    --secondary: hsl(240, 10%, 15%);
    --muted: hsl(0, 0%, 90%);
    --border: hsl(240, 10%, 15%);
    
    --gradient-hero: linear-gradient(180deg, hsl(0, 0%, 4%) 0%, hsl(240, 20%, 8%) 50%, hsl(260, 30%, 10%) 100%);
    --gradient-overlay: linear-gradient(180deg, transparent 0%, hsl(0, 0%, 4%, 0.8) 100%);
    
    --shadow-gold: 0 0 30px hsl(45, 85%, 55%, 0.3);
    --shadow-gold-lg: 0 0 60px hsl(45, 85%, 55%, 0.4);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
}

/* Navigation */
.navbar {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, hsl(40, 80%, 45%) 0%, hsl(45, 85%, 55%) 50%, hsl(45, 100%, 65%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn-hero {
    background: var(--primary);
    color: var(--background);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 0.375rem;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-gold-lg);
    transform: translateY(-2px);
}

.btn-outline-hero {
    background: transparent;
    color: var(--primary);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    padding: 0.5rem 2rem;
    border-radius: 0.375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-hero:hover {
    background: var(--primary);
    color: var(--background);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../image/hero-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.9rem);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    background: linear-gradient(135deg, hsl(40, 80%, 45%) 0%, hsl(45, 85%, 55%) 50%, hsl(45, 100%, 65%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* Section Titles */
.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    background: linear-gradient(135deg, hsl(40, 80%, 45%) 0%, hsl(45, 85%, 55%) 50%, hsl(45, 100%, 65%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 6rem;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 1rem auto;
}

/* About Section */
.about-section {
    background-color: var(--background);
}

.about-card {
    background-color: var(--card);
    border: 1px solid rgba(214, 175, 55, 0.5);
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.text-gold {
    color: var(--primary);
}

/* Features Section */
.features-section {
    background-color: rgba(38, 35, 40, 0.2);
}

.feature-card {
    background-color: var(--card);
    border: 1px solid rgba(214, 175, 55, 0.5);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    stroke-width: 1.5;
}

.feature-card:hover .feature-icon {
    animation: glow 3s ease-in-out infinite;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature-title {
    font-size: 1.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.feature-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* News Section */
.news-section {
    background-color: var(--background);
}

.news-card {
    background-color: var(--card);
    border: 1px solid rgba(214, 175, 55, 0.5);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: rgba(214, 175, 55, 0.3);
}

.news-date {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.news-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.news-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: 1rem;
    display: inline-block;
}

.news-link:hover {
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: rgba(38, 35, 40, 0.3);
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, hsl(40, 80%, 45%) 0%, hsl(45, 85%, 55%) 50%, hsl(45, 100%, 65%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px hsl(45, 85%, 55%, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 40px hsl(45, 85%, 55%, 0.5));
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .navbar-collapse {
        background-color: rgba(10, 10, 10, 0.95);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Cards */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
}

.card-body {
    color: var(--foreground);
}

/* Phase Card Styles */
.phases-section {
    background: linear-gradient(180deg, var(--background) 0%, rgba(38, 35, 40, 0.2) 100%);
}

.phase-card {
    background-color: var(--card);
    border: 1px solid rgba(214, 175, 55, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary);
}

.phase-number {
    display: inline-block;
    background: linear-gradient(135deg, hsl(40, 80%, 45%), hsl(45, 85%, 55%));
    color: var(--background);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.phase-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.phase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-list li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.phase-list li:before {
    content: "▸";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    border-left: 2px solid var(--primary);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.7);
}

.side-menu.active {
    right: 0;
}

.side-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.side-menu-close:hover {
    transform: rotate(90deg);
    color: var(--primary-dark);
}

.side-menu-close i {
    width: 32px;
    height: 32px;
}

.side-menu-content {
    padding: 120px 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.side-menu-item {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    text-decoration: none;
    letter-spacing: 3px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(214, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.side-menu-item:hover {
    color: var(--foreground);
    padding-left: 20px;
    border-bottom-color: var(--primary);
}

.side-menu-item::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 2rem;
}

.side-menu-item:hover::before {
    left: 0;
    opacity: 1;
}

@media (max-width: 768px) {
    .side-menu {
        width: 100%;
        right: -100%;
    }
    
    .side-menu-content {
        padding: 100px 30px;
    }
}
