/* ============================================
   RithiaValo — Global Styles
   Common CSS shared across all pages
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary-color: #ff4655;
    --primary-hover: #ff2b3d;
    --primary-glow: 0 0 15px rgba(255, 70, 85, 0.3);

    --bg-color: #0a0a0a;
    --card-bg: linear-gradient(145deg, #1c1c1c, #0e0e0e);

    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --border-accent: 1px solid rgba(255, 70, 85, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* --- Base Styles --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- Header & Nav --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-area img {
    height: 40px;
    width: auto;
}

.logo-area span {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

/* --- Dropdown --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    min-width: 180px;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    z-index: 1001;
    border: var(--glass-border);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-content a {
    padding: 10px 20px;
    display: block;
    color: #ccc;
    text-transform: none;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- Footer --- */
.footer {
    background-color: #0a0a0a;
    padding: 4rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-column h4 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-column a {
    display: block;
    color: #888;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

/* --- Mobile Menu --- */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1002;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Scroll Reveal Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

[data-animate].animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: disable for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    [data-animate],
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   SHARED DESIGN SYSTEM — Premium Page Classes
   Used across all pages for consistent styling
   ============================================ */

/* --- Page Hero --- */
.page-hero {
    position: relative;
    padding: 120px 2rem 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.95)),
        url("../img/arkaplan.png") center/cover no-repeat;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 70, 85, 0.05), transparent 60%);
    z-index: 0;
}

.page-hero * {
    position: relative;
    z-index: 1;
}

.page-hero .badge {
    display: inline-block;
    background: rgba(255, 70, 85, 0.15);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 70, 85, 0.2);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 1.2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.page-hero h1 span {
    background: linear-gradient(135deg, var(--primary-color), #ff6b7a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 1.5rem 60px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    color: #888;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* --- Content Section --- */
.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .content-section {
        padding: 3rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* --- Enhanced Trust Grid --- */
.trust-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 70, 85, 0.3);
}

.trust-card .trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    background: rgba(255, 70, 85, 0.1);
    color: var(--primary-color);
}

.trust-card h4 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.trust-card p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .trust-grid-new {
        grid-template-columns: 1fr;
    }
}

/* --- Detail Container (Package/Service Pages) --- */
.detail-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: white;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.detail-desc {
    text-align: center;
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.7;
}

.detail-card {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 70, 85, 0.3);
}

.detail-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

/* --- Feature List --- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.feature-list li {
    color: #ccc;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- CTA Buttons --- */
.cta-btn-large {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s;
    text-align: center;
}

.cta-btn-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 70, 85, 0.4);
    color: white;
}

/* --- Price Area --- */
.price-area {
    margin-top: auto;
    text-align: center;
}

.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* --- Enhanced Testimonials --- */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    max-width: 320px;
    font-size: 0.95rem;
    color: #ddd;
    text-align: left;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card strong {
    color: white;
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* --- Scroll Reveal Animation (Global) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Shared Scroll Observer Script Snippet (add to pages) --- */