:root {
    --primary: #c0392b;
    --primary-dark: #96281b;
    --primary-light: #e74c3c;
    --gold: #d4af37;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --gray: #f5f5f5;
    --text: #333333;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ NAVBAR ============ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.navbar-brand span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 9px 22px;
    border-radius: 50px;
    background: transparent;
    cursor: pointer;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    text-align: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 55px;
    flex-wrap: wrap;
}

.hero-stats .stat h3 {
    font-size: 2.2rem;
    color: var(--gold);
}

.hero-stats .stat p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
    line-height: 1.4;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-red {
    background: var(--primary);
    color: var(--white);
}

.btn-red:hover {
    background: var(--primary-dark);
}

.btn-green {
    background: #27ae60;
    color: var(--white);
}

.btn-green:hover {
    background: #219653;
}

.btn-blue {
    background: #3498db;
    color: var(--white);
}

.btn-blue:hover {
    background: #2980b9;
}

.btn-gray {
    background: #e8e8e8;
    color: var(--dark);
}

.btn-gray:hover {
    background: #d5d5d5;
}

.btn-yellow {
    background: #f1c40f;
    color: var(--dark);
}

.btn-yellow:hover {
    background: #d4ac0d;
}

.btn-orange {
    background: #e67e22;
    color: var(--white);
}

.btn-orange:hover {
    background: #ca6f1e;
}

.btn-gold {
    background: var(--gold);
    color: #1a1a2e;
}

.btn-gold:hover {
    background: #c9a227;
    color: #1a1a2e;
}

.btn-white-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 11px 24px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-white-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* ============ SECTIONS ============ */
.section {
    padding: 75px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section.bg-gray {
    background: var(--gray);
}

/* ============ FEATURES ============ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--dark);
}

/* ============ HOW IT WORKS ============ */
.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.step {
    text-align: center;
    padding: 28px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    margin-bottom: 8px;
    color: var(--dark);
}

/* ============ PRICING ============ */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 38px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border: 3px solid var(--gold);
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.price-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    margin: 18px 0;
}

.price-amount small {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.price-features {
    list-style: none;
    margin: 22px 0 26px;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.93rem;
}

.price-features li::before {
    content: '✓';
    color: #27ae60;
    margin-right: 10px;
    font-weight: bold;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial .quote {
    font-style: italic;
    margin-bottom: 18px;
    color: #555;
}

.testimonial .author {
    font-weight: 700;
    color: var(--primary);
}

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    max-width: 580px;
    margin: 0 auto 25px;
    opacity: 0.92;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 45px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}

.footer h4 {
    color: var(--gold);
    margin-bottom: 12px;
}

.footer p,
.footer a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 18px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* ============ FORMS ============ */
.form-container {
    max-width: 450px;
    margin: 50px auto;
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-container h2 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.98rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 10px;
    background: var(--gray);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.form-link {
    text-align: center;
    margin-top: 18px;
    color: #777;
    font-size: 0.93rem;
}

.form-link a {
    color: var(--primary);
    font-weight: 600;
}

.form-error {
    background: #fdecea;
    color: var(--primary-dark);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 18px;
    border-left: 4px solid var(--primary);
    font-size: 0.93rem;
}

.form-success {
    background: #e8f8e8;
    color: #1e8449;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 18px;
    border-left: 4px solid #27ae60;
    font-size: 0.93rem;
}

/* ============ LOGIN TABS ============ */
.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: var(--gray);
    padding: 5px;
    border-radius: 10px;
}

.login-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    transition: all 0.3s;
    border: none;
    background: none;
    font-size: 0.92rem;
    display: inline-block;
}

.login-tab.active {
    background: var(--primary);
    color: var(--white);
}

/* ============ DASHBOARD ============ */
.dash-layout {
    display: flex;
}

.dash-sidebar {
    width: 260px;
    background: var(--dark);
    color: var(--white);
    padding: 25px 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 90;
}

.dash-sidebar .user-info {
    padding: 0 25px 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 18px;
}

.dash-sidebar .user-info .name {
    font-weight: 700;
    font-size: 1.05rem;
}

.dash-sidebar .user-info .type {
    font-size: 0.85rem;
    color: var(--gold);
}

.dash-menu {
    list-style: none;
}

.dash-menu li a {
    display: block;
    padding: 12px 25px;
    color: #aaa;
    transition: all 0.3s;
    font-size: 0.93rem;
}

.dash-menu li a:hover,
.dash-menu li a.active {
    background: var(--primary);
    color: var(--white);
}

.dash-menu li a.logout {
    color: #e74c3c;
}

.dash-menu li a.logout:hover {
    background: #e74c3c;
    color: var(--white);
}

.dash-content {
    flex: 1;
    margin-left: 260px;
    padding: 35px 40px;
    max-width: calc(100% - 260px);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.dash-header h1 {
    color: var(--dark);
    font-size: 1.7rem;
}

.dash-toggle {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 95;
    background: var(--white);
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: var(--shadow);
    display: none;
}

/* ============ CARDS ============ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
    margin-bottom: 35px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.card .card-title {
    color: #777;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.card .card-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dark);
}

.card .card-label {
    color: #999;
    font-size: 0.85rem;
}

/* ============ TABLE ============ */
.table-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    overflow-x: auto;
}

.table-container h3 {
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    font-size: 1.05rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 13px 18px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.89rem;
}

.table th {
    background: var(--gray);
    color: var(--dark);
    font-weight: 700;
    white-space: nowrap;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: #fafafa;
}

/* ============ BADGES ============ */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-success {
    background: #e8f8e8;
    color: #27ae60;
}

.badge-warning {
    background: #fff8e1;
    color: #b8860b;
}

.badge-danger {
    background: #fdecea;
    color: #c0392b;
}

.badge-info {
    background: #e8f4fd;
    color: #2980b9;
}

.badge-purple {
    background: #f0e8fd;
    color: #8e44ad;
}

/* ============ GUEST PAGE ============ */
.guest-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
    padding: 55px 20px;
}

.guest-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.guest-hero p {
    opacity: 0.92;
}

.guest-form {
    max-width: 600px;
    margin: -25px auto 60px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 35px;
    position: relative;
}

/* ============ LIVE VIEW ============ */
.live-body {
    background: #000;
}

.live-view {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    color: var(--white);
    overflow: hidden;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.live-header {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 5;
}

.live-header h1 {
    font-size: 2.4rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.live-header p {
    opacity: 0.75;
}

.slideshow {
    position: absolute;
    inset: 0;
}

/* Slayt modu - içerik tam ekran */
.mode-slideshow #slideshow {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline modu - kaydırılabilir akış */
.mode-timeline {
    overflow-y: auto;
}

.empty-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    padding: 40px;
}

.slide.active {
    opacity: 1;
}

.slide img {
    max-height: 58vh;
    max-width: 78%;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
    object-fit: cover;
}

.slide h2 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.slide p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
}

.live-timer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 22px;
    margin: 22px 0;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.timeline-card img {
    border-radius: 10px;
    max-height: 320px;
    object-fit: cover;
    margin-bottom: 12px;
    width: 100%;
}

.timeline-card h3 {
    color: var(--gold);
    margin-bottom: 4px;
}

.timeline-card p {
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .dash-sidebar {
        left: -280px;
        transition: left 0.3s;
    }

    .dash-sidebar.open {
        left: 0;
    }

    .dash-content {
        margin-left: 0;
        max-width: 100%;
        padding: 60px 18px 25px;
    }

    .dash-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s;
        box-shadow: var(--shadow);
        z-index: 95;
    }

    .nav-links.open {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .pricing {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 55px 0;
    }
}

@media print {
    .navbar,
    .btn,
    .dash-sidebar,
    .dash-toggle {
        display: none !important;
    }
}