/* Terms & Conditions Page Design System */
:root {
  --primary: #0A1128;
  --gold: #D4AF37;
  --gold-hover: #B5952F;
  --text-light: #F8F9FA;
  --bg-soft: #fcfcfc;
  --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.highlight-gold { color: var(--gold); font-style: italic; }

/* Hero Section */
.terms-hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.terms-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../image/terms_hero.png') center/cover no-repeat;
    z-index: 1;
    transform: scale(1.05);
    animation: panHero 20s linear infinite alternate;
}

@keyframes panHero {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.95));
    z-index: 2;
}

.hero-content-inner {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold-tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

/* Terms Content */
.terms-section {
    padding: 100px 0;
    background: var(--bg-soft);
}

.terms-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

/* Sidebar Navigation */
.terms-nav {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.terms-nav-box {
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.terms-nav-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.terms-nav-box ul {
    list-style: none;
    padding: 0;
}

.terms-nav-box ul li {
    margin-bottom: 12px;
}

.terms-nav-box ul li a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-nav-box ul li a i {
    font-size: 12px;
    color: var(--gold);
    opacity: 0;
    transition: var(--transition);
}

.terms-nav-box ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.terms-nav-box ul li a:hover i {
    opacity: 1;
}

/* Main Content Area */
.terms-card {
    background: #fff;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.terms-block {
    margin-bottom: 50px;
}

.terms-block:last-child {
    margin-bottom: 0;
}

.terms-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-block h2 span {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    opacity: 0.5;
}

.terms-block p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.terms-block ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.terms-block ul li {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

.terms-block ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 14px;
}

.highlight-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid var(--gold);
    margin: 30px 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--primary);
}

/* Responsive Refinements */
@media (max-width: 1024px) {
    .terms-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .terms-nav {
        display: none;
    }
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .container { 
        padding: 0 10px !important; 
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .terms-hero { height: auto; min-height: 250px; padding: 60px 0 30px; }
    .hero-content-inner { 
        padding: 0 10px; 
        width: 100%;
        box-sizing: border-box;
    }
    .gold-tag { font-size: 11px; letter-spacing: 2px; margin-bottom: 10px; }
    .hero-title { font-size: 26px; margin-bottom: 15px; }
    .hero-subtitle { font-size: 14px; line-height: 1.5; opacity: 0.9; }
    
    .terms-section { padding: 40px 0; width: 100%; overflow-x: hidden; }
    .terms-grid { width: 100%; margin: 0; }
    .terms-card { 
        padding: 25px 15px; 
        border-radius: 20px; 
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .terms-block { margin-bottom: 30px; }
    .terms-block h2 { 
        font-size: 20px; 
        margin-bottom: 15px; 
        gap: 10px; 
        flex-wrap: wrap;
    }
    .terms-block h2 span { font-size: 15px; }
    .terms-block p { 
        font-size: 14px; 
        line-height: 1.6; 
        margin-bottom: 15px; 
        word-wrap: break-word;
    }
    .terms-block ul li { font-size: 13px; line-height: 1.5; margin-bottom: 8px; padding-left: 20px; }
}
