/*
 * Velvet Noir Theme - Terms of Service CSS
 */

/* 1. Hero Section */
.terms-hero {
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

.terms-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Vignette effect */
    background: radial-gradient(circle, rgba(10,10,10,0.5) 0%, rgba(5,5,5,0.95) 100%);
    z-index: 1;
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    color: var(--vn-white);
}

.terms-hero .eyebrow {
    font-size: 0.85rem;
    color: #c4a77d; /* Champagne Gold */
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.terms-hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.terms-hero .subtitle {
    font-size: 1.05rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. Page Layout */
.terms-page-wrap {
    background-color: var(--vn-black);
    padding: 60px 0 0;
    color: #d0d0d0;
}

.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .terms-container {
        grid-template-columns: 1fr;
    }
}

/* 3. Accordion (Left Column) */
.terms-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.term-item {
    background-color: #121212;
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
}

.term-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.term-header:hover {
    background-color: #1a1a1a;
}

.term-title {
    font-size: 1rem;
    font-weight: 500;
    color: #f0f0f0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.term-icon {
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.term-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.term-content-inner {
    padding: 0 30px 25px;
    color: #a8a8a8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active state for accordion */
.term-item.active .term-icon {
    transform: rotate(180deg);
}

.term-item.active .term-content {
    /* Set by JS to actual scrollHeight, but we can provide a fallback max-height if needed */
    max-height: 2000px; 
}

/* 4. Sidebar (Right Column) */
.terms-sidebar {
    position: sticky;
    top: 40px;
}

.help-box {
    border: 1px solid #333;
    padding: 40px 30px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.help-box h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.help-box .help-sub {
    text-align: center;
    color: #a8a8a8;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.help-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.help-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #c4a77d;
}

.help-details h4 {
    color: #f0f0f0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 500;
}

.help-details p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.help-details a {
    color: #a8a8a8;
    text-decoration: none;
    transition: color 0.3s;
}

.help-details a:hover {
    color: #c4a77d;
}

.help-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--vn-burgundy);
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    border-radius: 2px;
    transition: background-color 0.3s;
    margin-top: 40px;
}

.help-btn:hover {
    background-color: #ff4d6d;
}

.sidebar-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* 5. Features Bar (Bottom) */
.features-bar {
    background-color: var(--vn-cream-dark); /* Light beige from theme */
    padding: 40px 0;
    margin-top: 80px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    flex-shrink: 0;
    color: var(--vn-burgundy);
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--vn-black);
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}
