﻿/* CSS Variables for Theme Colors */
:root {
    --primary-color: #A93226; /* Warm Burgundy/Red (Love/Wax seal vibe) */
    --primary-hover: #7B241C;
    --secondary-color: #2C3E50; /* Deep elegant blue/gray */
    --bg-color: #FDFBF7; /* Soft paper-like cream background */
    --white: #FFFFFF;
    --text-color: #333333;
    --light-gray: #F2F4F4;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

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

.btn-secondary:hover {
    background-color: #1A252F;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo span {
    color: var(--secondary-color);
}
.logo i {
    margin-right: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary-color);
    font-style: italic;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background-color: #f0e9df;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}


/* KATEGORİLER (Categories) */
.categories {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: block;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.cat-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.category-card:hover .cat-icon {
    transform: scale(1.1);
}

.category-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
}


/* How It Works */
.how-it-works {
    background-color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    background-color: var(--bg-color);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.footer-logo h3 span {
    color: var(--primary-color);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
}
.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
/* Editor Page Styles */
.editor-body {
    background-color: var(--light-gray);
}
.editor-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
    min-height: 80vh;
}
.editor-sidebar {
    width: 300px;
    background: var(--white);
    border-radius: 12px;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    align-self: flex-start;
}
.step-list {
    list-style: none;
}
.step-list .step {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}
.step-list .step:hover {
    background-color: var(--light-gray);
}
.step-list .step.active {
    border-left-color: var(--primary-color);
    background-color: #F9EBEA;
}
.step-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}
.step.active .step-icon {
    color: var(--primary-color);
}
.step-text h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}
.step-text p {
    font-size: 0.8rem;
    color: #777;
}

/* Editor Main Content */
.editor-main {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}
.step-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.step-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Toolbar & Textarea */
.editor-toolbar {
    background: var(--light-gray);
    padding: 10px;
    border-radius: 8px 8px 0 0;
    display: flex;
    gap: 10px;
    border: 1px solid #ddd;
    border-bottom: none;
}
.editor-toolbar button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
}
.editor-toolbar button:hover {
    background: #ddd;
}
.editor-toolbar .divider {
    width: 1px;
    background: #ccc;
    margin: 0 5px;
}
.letter-textarea {
    width: 100%;
    min-height: 500px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    resize: vertical;
    outline: none;
    background-color: #FEF9E7;
    background-image: repeating-linear-gradient(transparent, transparent 31px, #E5E7E9 31px, #E5E7E9 32px);
    line-height: 32px;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.upload-box {
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    padding: 30px 15px;
    transition: all 0.3s;
}
.upload-box:hover {
    border-color: var(--primary-color);
    background: #F9EBEA;
}
.upload-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.upload-box h4 { margin-bottom: 5px; }
.upload-box p { font-size: 0.85rem; color: #777; margin-bottom: 15px; }

/* Extras Grid */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.extra-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
.extra-item:hover {
    border-color: var(--primary-color);
}
.extra-item input[type="checkbox"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.extra-item label {
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    width: 100%;
}
.extra-item label i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

.step-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
/* Ekstra stiller (�nceki stilleri ezmeden yeni �zellikleri ekler) */
.pb-0 { padding-bottom: 0 !important; }
.bg-light { background-color: #F8F9F9; }
.text-primary { color: var(--primary-color); }
.mt-3 { margin-top: 20px; }

/* AI Section */
.ai-section {
    padding: 100px 0;
    background-color: var(--white);
}
.ai-row {
    display: flex;
    align-items: center;
    gap: 50px;
}
.badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}
.ai-text { flex: 1; }
.ai-text h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.3; }
.ai-text p { font-size: 1.1rem; color: #555; margin-bottom: 20px; }
.ai-image { flex: 1; text-align: center; }

.check-list { list-style: none; margin-bottom: 20px; }
.check-list li { margin-bottom: 10px; font-size: 1.05rem; }

/* Feature Detailed */
.features-detailed {
    padding: 80px 0;
}
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-img { flex: 1; }
.rounded-img {
    width: 100%;
    border-radius: 12px;
}
.shadow-lg {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.feature-text { flex: 1; }
.feature-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
.feature-text p { font-size: 1.1rem; color: #555; }

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.testimonial-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #444;
}
.testimonial-card h4 {
    color: var(--primary-color);
}
.stars {
    color: #F1C40F;
    margin-bottom: 15px;
}

/* Editor AI Update */
.ai-helper-box {
    background: #E8F8F5;
    border: 1px solid #1ABC9C;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}
.ai-helper-box h3 {
    color: #117A65;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}
.ai-input-group {
    display: flex;
    gap: 10px;
}
.ai-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #A3E4D7;
    border-radius: 5px;
    outline: none;
    font-family: inherit;
}
.ai-loader {
    display: none;
    font-size: 0.95rem;
    color: #117A65;
    margin-top: 10px;
    font-style: italic;
}

/* Auth & Forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}
.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 500px;
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-header p {
    color: #666;
    margin-top: 10px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: var(--primary-color);
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}
.form-options label {
    cursor: pointer;
}
.form-options input[type="checkbox"] {
    margin-right: 5px;
}
.form-options a {
    color: var(--primary-color);
}
.btn-block {
    display: block;
    width: 100%;
}
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
}
.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}
.col-6 {
    flex: 0 0 48%;
}

/* Dashboard & Bakiye */
.dashboard-container {
    display: flex;
    gap: 30px;
    margin: 40px auto;
    min-height: 70vh;
}
.dashboard-sidebar {
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    align-self: flex-start;
}
.dashboard-nav {
    list-style: none;
}
.dashboard-nav li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--text-color);
    font-weight: 500;
    border-left: 4px solid transparent;
}
.dashboard-nav li a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: #777;
}
.dashboard-nav li.active a, .dashboard-nav li a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}
.dashboard-nav li.active a {
    border-left-color: var(--primary-color);
}
.dashboard-nav li.active a i {
    color: var(--primary-color);
}
.dashboard-main {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.dashboard-main h2 {
    margin-bottom: 10px;
}
.dashboard-main > p {
    color: #666;
    margin-bottom: 30px;
}
.balance-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.balance-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}
.balance-card:hover {
    border-color: var(--primary-color);
}
.balance-card.active {
    border-color: var(--primary-color);
    background: #F9EBEA;
}
.balance-card .amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.balance-card p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    height: 40px;
}
.badge-pop {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #E74C3C;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}
.custom-amount .amount {
    font-size: 1.2rem;
    height: 38px;
    line-height: 1.2;
}

/* Payment Form */
.payment-section {
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.credit-card-form {
    max-width: 500px;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

/* Editor Zarf / Ka��t Design Grid */
.design-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.design-item {
    cursor: pointer;
    text-align: center;
}
.design-item input[type="radio"] {
    display: none;
}
.design-preview {
    width: 100%;
    height: 180px;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s;
}
.design-item input[type="radio"]:checked + .design-preview {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(169, 50, 38, 0.2);
}
.design-item input[type="radio"]:checked ~ span {
    font-weight: bold;
    color: var(--primary-color);
}


/* U�AN ZARF AN�MASYONU CSS */
#animation-overlay {
    font-family: 'Poppins', sans-serif;
}
.animation-stage {
    position: relative;
    width: 350px;
    height: 220px;
    perspective: 1000px;
    margin-top: 50px;
}
.anim-envelope {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: transform 1.5s ease-in-out, opacity 1s;
}
/* Zarf Renkleri */
.anim-envelope.kraft { background: #D4AC0D; }
.anim-envelope.bordo { background: #7B241C; }

/* Zarf Kapa�� (Flap) */
.anim-flap {
    position: absolute; top: 0; left: 0;
    width: 0; height: 0;
    border-left: 175px solid transparent;
    border-right: 175px solid transparent;
    border-top: 130px solid #d0d0d0;
    transform-origin: top;
    z-index: 4;
    transition: transform 0.6s ease-in-out;
}
.anim-envelope.kraft .anim-flap { border-top-color: #C09B0B; }
.anim-envelope.bordo .anim-flap { border-top-color: #641E16; }

/* Zarf �n Cebi (Pocket) */
.anim-pocket {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 0;
    border-left: 175px solid #ececec;
    border-right: 175px solid #ececec;
    border-bottom: 120px solid #e6e6e6;
    z-index: 3;
}
.anim-envelope.kraft .anim-pocket { border-left-color: #E2B911; border-right-color: #E2B911; border-bottom-color:#D8B110; }
.anim-envelope.bordo .anim-pocket { border-left-color: #922B21; border-right-color: #922B21; border-bottom-color:#84271E; }

/* Mektup Ka��d� */
.anim-paper {
    position: absolute;
    bottom: 150px; /* D��ar�da ba�lar */
    left: 10%; width: 80%; height: 280px;
    background: #fff;
    z-index: 2;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    transition: transform 1s ease-in-out;
}
/* Ka��t Desenleri */
.anim-paper.cizgili { background-image: repeating-linear-gradient(transparent, transparent 20px, #ccc 20px, #ccc 21px); }
.anim-paper.kalpli { background: #fadbd8; }
.anim-paper.cicekli { background: #fae5d3; }

.anim-text-line {
    width: 100%; height: 6px; background: #555; margin-bottom: 15px; border-radius:3px; opacity:0.6;
}

/* Animasyon Tetikleyicileri (JS ile eklenecek) */
.animate-fold .anim-paper {
    transform: translateY(220px); /* Zarf�n i�ine girer */
}
.animate-close .anim-flap {
    transform: rotateX(180deg); /* Kapak kapan�r */
}
.animate-fly .anim-envelope {
    transform: translate(600px, -600px) scale(0.3) rotate(20deg); /* U�up gider */
    opacity: 0;
}

/* YEN� MARKA LOGO TASARIMI (MektupVar.com) */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

.logo {
    font-family: 'Dancing Script', cursive !important;
    font-size: 2.6rem !important;
    background: -webkit-linear-gradient(45deg, #A93226, #D35400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}
.logo i {
    -webkit-text-fill-color: #A93226; 
    margin-right: 5px;
    font-size: 2.2rem;
}
.logo span {
    font-weight: 700;
}
.auth-header .logo {
    font-size: 3.2rem !important;
}

/* --- DAHA PREMIUM LOGO TASARIMI (OVERRIDE) --- */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@800&display=swap');

.logo {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.2rem !important;
    color: #2c3e50 !important;
    text-transform: uppercase;
    letter-spacing: -2px;
    background: none !important;
    -webkit-text-fill-color: #2c3e50 !important;
    text-shadow: none !important;
    align-items: center !important;
}

.logo i {
    color: #E74C3C !important;
    -webkit-text-fill-color: #E74C3C !important;
    font-size: 2.6rem !important;
    transform: rotate(-12deg);
    margin-right: 15px;
    filter: drop-shadow(3px 5px 5px rgba(231,76,60,0.4));
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(0deg) scale(1.1);
}

.logo span {
    font-family: 'Great Vibes', cursive !important;
    text-transform: none;
    font-size: 3.8rem !important;
    margin-left: 5px;
    background: -webkit-linear-gradient(45deg, #C0392B, #F39C12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
    font-weight: 400 !important;
    position: relative;
    top: 5px; /* Hizalamay� d�zeltmek i�in */
}

.auth-header .logo {
    font-size: 2.8rem !important;
    justify-content: center;
}
.auth-header .logo span {
    font-size: 4.5rem !important;
}

/* --- KULLANICININ BE�END��� ESK� LOGO (DANCING SCRIPT) GER� GET�RME --- */
.logo {
    font-family: 'Dancing Script', cursive !important;
    font-size: 2.8rem !important;
    background: -webkit-linear-gradient(45deg, #A93226, #D35400) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1) !important;
    letter-spacing: 1px !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.logo i {
    -webkit-text-fill-color: #A93226 !important; 
    margin-right: 8px !important;
    font-size: 2.4rem !important;
    transform: none !important;
    filter: none !important;
}

.logo span {
    font-family: 'Dancing Script', cursive !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    background: none !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
    top: 0 !important;
    margin-left: 0 !important;
}

/* EN �ST SOL K��EYE YAPI�TIRMA AYARLARI */
.navbar {
    padding: 10px 20px !important; 
}
.nav-container {
    max-width: 98% !important; /* Logoyu tam k��eye iter */
}


/* --- PEMBE / S�YAH MEKTUPVAR KES�N RENKLER --- */
.logo {
    background: none !important;
    -webkit-text-fill-color: #FF1493 !important; /* Tatl� ve Canl� bir Pembe */
    color: #FF1493 !important;
    text-shadow: none !important;
}
.logo i {
    -webkit-text-fill-color: #FF1493 !important; /* �kon da pembe olsun uyumlu dursun */
}
.logo span {
    -webkit-text-fill-color: #111111 !important; /* Siyah renk (Var k�sm�) */
    color: #111111 !important;
}

/* --- PREMIUM SOFT BEJ & PEMBE TEMA --- */
:root {
    --primary-color: #222222 !important; /* Premium Siyah/F�me */
    --primary-hover: #FF1493 !important; /* Logodaki canl� pembe (Dikkat �ekici) */
    --secondary-color: #D6C4B4 !important; /* Soft Bej / Kahve */
    --background-color: #FDFBF7 !important; /* K�r�k beyaz / Bej arkaplan */
    --light-gray: #F6EFE9 !important; /* Kart arkaplanlar� i�in s�cak bej */
    --text-color: #333333 !important; 
}

body {
    background-color: var(--background-color) !important;
    color: var(--text-color) !important;
}

/* Ana B�l�m (Hero) - Vintage & Bej Esteti�i */
.hero {
    background: linear-gradient(to right, rgba(253, 251, 247, 0.95), rgba(246, 239, 233, 0.8)), 
                url('https://images.unsplash.com/photo-1455390582262-044cdead27d8?q=80&w=1920&auto=format&fit=crop') center/cover !important;
    color: #222 !important;
    border-bottom: 1px solid #EBE3DB;
}
.hero h1 {
    color: #111 !important;
}
.hero p {
    color: #555 !important;
    font-size: 1.2rem;
}

/* Butonlar - Vurgulu Pembe & Premium Siyah */
.btn-primary {
    background-color: #FF1493 !important;
    border-color: #FF1493 !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3) !important;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #222 !important;
    border-color: #222 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}
.btn-outline {
    border-color: #222 !important;
    color: #222 !important;
}
.btn-outline:hover {
    background-color: #222 !important;
    color: white !important;
}

/* Kartlar ve �konlar */
.category-card, .auth-card, .dashboard-main, .dashboard-sidebar {
    background-color: #FFFFFF !important;
    border: 1px solid #F0E6DD !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
}
.category-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.1) !important;
    border-color: #FF1493 !important;
}
.cat-icon {
    background-color: #F6EFE9 !important;
    color: #222 !important;
    border: 1px solid #EBE3DB;
}
.category-card:hover .cat-icon {
    background-color: #FF1493 !important;
    color: white !important;
}

/* Ba�l�klar */
.section-title h2 {
    color: #111 !important;
}
.section-title p {
    color: #888 !important;
}

/* Hediye B�l�m� Arkaplan� */
.gifts-section {
    background-color: #F6EFE9 !important;
}

/* Navbar */
.navbar {
    background: rgba(253, 251, 247, 0.95) !important;
    border-bottom: 1px solid #F0E6DD !important;
}


/* --- RAK�PLER� KISKANDIRACAK YEN� VINTAGE/S�NEMAT�K HERO TASARIMI --- */
.hero {
    /* Rakipteki gibi eskitilmi� harita/mektup hissiyat� i�in karanl�k ve gizemli bir overlay */
    background: linear-gradient(rgba(20, 15, 10, 0.7), rgba(10, 5, 5, 0.8)), 
                url('https://images.unsplash.com/photo-1455390582262-044cdead27d8?q=80&w=1920&auto=format&fit=crop') center/cover !important;
    padding: 160px 0 !important; /* Ekran� tam kaplamas� i�in b�y�tt�k */
    border-bottom: 4px solid #FF1493 !important; /* Alt k�sma ��k bir pembe �erit */
}

.hero h1 {
    color: #FFFFFF !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 4rem !important;
    text-shadow: 3px 5px 15px rgba(0,0,0,0.8) !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
}

.hero h1 span {
    color: #D6C4B4 !important; /* Rakipteki alt�n/bej vurgu hissi */
    font-style: italic !important;
}

.hero p {
    color: #F0F0F0 !important;
    font-size: 1.3rem !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8) !important;
    max-width: 750px !important;
    margin: 25px auto 40px !important;
    line-height: 1.6 !important;
}

/* Butonlar� da bu karanl�k ve asil temaya uyarlayal�m */
.hero-buttons .btn-outline {
    border-color: rgba(255,255,255,0.7) !important;
    color: #FFF !important;
    background: rgba(0,0,0,0.3) !important;
}
.hero-buttons .btn-outline:hover {
    background: #FFF !important;
    color: #111 !important;
}

/* --- FOOTER D�ZELTMELER� --- */
footer {
    background-color: #111111 !important; /* Koyu siyah arka plan */
    color: #dddddd !important; /* A��k gri rahat okunan metinler */
    border-top: 4px solid #FF1493 !important; /* Pembe �erit */
    padding: 60px 0 20px 0 !important;
}
footer h3, footer h4 {
    color: #ffffff !important;
}
.footer-logo h3 {
    font-size: 2.5rem !important;
}
.footer-links a {
    color: #bbbbbb !important;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #FF1493 !important;
}
.footer-contact p {
    color: #bbbbbb !important;
}
.footer-bottom {
    border-top: 1px solid #333333 !important;
    color: #777777 !important;
    margin-top: 40px !important;
    padding-top: 20px !important;
}

/* NAVBAR SIKI�IKLI�INI ��ZME EKLENT�S� */
.nav-links {
    gap: 15px !important; /* Aral��� daralt */
}
.nav-links a {
    font-size: 0.95rem !important;
    white-space: nowrap !important;
}
.auth-buttons {
    gap: 10px !important;
}
.auth-buttons .btn {
    padding: 8px 16px !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
}

/* VINTAGE G�RSEL VE %90 K���LTME YAMASI */
body {
    zoom: 0.8 !important; /* Ekran� %90 oran�nda k���lt�r */
}

/* Rakipteki gibi eskitilmi� harita/mektup hissiyat� i�in karanl�k overlay ve G�VENL� G�RSEL */
.hero {
    background: linear-gradient(rgba(20, 15, 10, 0.6), rgba(10, 5, 5, 0.8)), 
                url('https://images.unsplash.com/photo-1579227114347-15d08fc37cae?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat !important;
}

/* --- NAVBAR T�M L�NKLER� BUTON YAPMA VE H�ZALAMA YAMASI --- */
.nav-links {
    display: flex !important;
    align-items: center !important; /* Hepsi dikeyde tam ortalan�r (simetrik) */
    gap: 12px !important;
    margin: 0 !important;
}

.nav-links li {
    display: flex !important;
    align-items: center !important;
}

.nav-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 20px !important; /* ��i ferah buton bo�luklar� */
    font-size: 1.05rem !important; /* Yaz�lar belirginle�tirildi ve b�y�t�ld� */
    font-weight: 500 !important;
    color: #333333 !important;
    background-color: transparent !important;
    border: 1.5px solid #dcdcdc !important; /* Buton �er�evesi */
    border-radius: 30px !important; /* Hap (pill) �eklinde tam yuvarlak k��eler */
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    height: 44px !important; /* Hepsinin y�ksekli�i milimetrik olarak ayn� oldu */
    line-height: 1 !important;
}

.nav-links a:hover {
    border-color: #FF1493 !important;
    color: #FF1493 !important;
    background-color: rgba(255, 20, 147, 0.05) !important;
}
/* DOLAR G�RSEL� HATASI D�ZELTMES� - YEN� VE DO�RU MEKTUP/VINTAGE G�RSEL� */
.hero {
    background: linear-gradient(rgba(20, 15, 10, 0.7), rgba(10, 5, 5, 0.8)), 
                url('https://images.unsplash.com/photo-1583907659441-2673d321ebfb?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat !important;
}
/* GARANT�L� VINTAGE G�RSEL - Y�KLENME SORUNU ��Z�LD� */
.hero {
    background: linear-gradient(rgba(20, 15, 10, 0.7), rgba(10, 5, 5, 0.8)), 
                url('https://images.pexels.com/photos/2131972/pexels-photo-2131972.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat !important;
}
/* YAPAY ZEKA �LE �ZEL �RET�LM�� L�KS HAR�TA/MEKTUP G�RSEL� (YEREL) */
.hero {
    background: linear-gradient(rgba(10, 5, 0, 0.65), rgba(10, 5, 5, 0.75)), 
                url('../img/hero-bg.jpg') center/cover no-repeat !important;
}
/* KATEGOR� KART BA�LIKLARINI PEMBE YAPMA */
.category-card h3 {
    color: #FF1493 !important;
    font-weight: 700 !important;
}
/* SOFT VE AYDINLIK HERO TASARIMI (YEN� G�RSEL ���N) */
.hero {
    /* Karanl�k filtreyi kald�r�p, g�rseli daha net ve ayd�nl�k b�rak�yoruz */
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6)), 
                url('../img/hero-bg.jpg') center/cover no-repeat !important;
}

/* Arka plan ayd�nl�k oldu�u i�in yaz�lar� koyu ve ��k bir renge �ekiyoruz */
.hero h1 {
    color: #222222 !important;
    text-shadow: 1px 2px 4px rgba(255,255,255,0.8) !important;
}
.hero h1 span {
    color: #FF1493 !important; /* Vurguyu alt�n yerine kendi pembemiz yap�yoruz */
}
.hero p {
    color: #444444 !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}

/* BA�LIK RENG�N� AYNI TONDA KOYULA�TIRMA */
.section-title {
    color: #7A604A !important; /* Bej/kahve tonunu bozmadan �ok daha koyu ve okunakl� hali */
    font-weight: 700 !important;
}
h1, h2 {
    color: #7A604A !important;
}

/* HERO BA�LI�INI KORUMA */
.hero h1 {
    color: #222222 !important;
}
.hero h1 span {
    color: #FF1493 !important;
}

/* YAZILARI SOLA ALIP, ZARFI SA�A/A�I�A �IKARMA YAMASI */
.hero {
    text-align: left !important;
    /* G�rseli biraz daha sa�a kayd�r�yoruz ki zarf tam a���a ��ks�n */
    background-position: 80% center !important; 
}

.hero .hero-text {
    margin-left: 5% !important;
    margin-right: auto !important;
    max-width: 600px !important; /* Yaz�lar t�m ekran� kaplamas�n, solda dursun */
}

.hero .hero-buttons {
    justify-content: flex-start !important; /* Butonlar� da sola day�yoruz */
    padding-left: 5px !important;
}

/* Mobilde ortal� kals�n ki bozulmas�n */
@media (max-width: 768px) {
    .hero {
        text-align: center !important;
        background-position: center !important;
    }
    .hero .hero-text {
        margin: 0 auto !important;
    }
    .hero .hero-buttons {
        justify-content: center !important;
    }
}

/* G�RSELE CANLILIK KATMA (YIKILAN BEYAZ F�LTREY� KALDIRMA) */
.hero {
    /* G�rselin �zerindeki soluk beyaz perdeyi tamamen kald�rd�k. 
       Sadece sol tarafta, yaz�lar�n daha rahat okunmas� i�in hafif bir bej ge�i� (gradient) var. 
       Sa� taraftaki zarf ve pembe m�h�r art�k %100 kendi canl� ve parlak renginde g�r�necek! */
    background: linear-gradient(to right, rgba(253, 251, 247, 0.95) 0%, rgba(253, 251, 247, 0.7) 35%, rgba(253, 251, 247, 0) 70%), 
                url('../img/hero-bg.jpg') 80% center/cover no-repeat !important;
}

/* T�M SOLUK BA�LIKLARI KOYULA�TIRMA (GENEL YAMA) */
h1, h2, h3, h4, h5, h6 {
    color: #7A604A !important; /* Soluk bej yerine tok kahve */
}

/* �ST�SNALAR: Hero ve Kategori Kartlar� */
.hero h1 {
    color: #222222 !important;
}
.hero h1 span {
    color: #FF1493 !important;
}
.category-card h3 {
    color: #FF1493 !important;
}
footer h3, footer h4 {
    color: #ffffff !important;
}

/* NASIL �ALI�IR KARTLARI - �KONLAR VE BA�LIKLAR (KOYULA�TIRMA) */
.step-card h3 {
    color: #7A604A !important;
}
.step-card .step-icon {
    color: #7A604A !important;
}
.step-icon i {
    color: #7A604A !important;
}

/* FOOTER (EN ALT KISIM) AYDINLIK BEJ TASARIMA GE��� */
footer {
    background-color: #EFE6DD !important; /* �ok ��k ve soft bir bej */
    color: #222222 !important; /* Siyah/f�me okunakl� yaz�lar */
    border-top: 4px solid #FF1493 !important;
}
footer h3, footer h4, .footer-logo h3 {
    color: #111111 !important;
}
.footer-links a, .footer-contact p {
    color: #444444 !important;
}
.footer-links a:hover {
    color: #FF1493 !important;
}
.footer-bottom {
    border-top: 1px solid #D6C4B4 !important;
    color: #555555 !important;
}

/* FOOTER SLOGANINDAK� 'MektupVar' YAZISINI K���LTME */
.footer-logo p span {
    font-size: 1.25rem !important; /* 1.6rem'den daha kibar bir boyuta �ekildi */
}

/* HERO YAZILARINI KES�NL�KLE SOLA YASLAMA VE G�RSEL� NETLE�T�RME */
.hero {
    /* O "�ok a��k/soluk" duran beyaz perdeyi tamamen kald�rd�k! Foto�raf en net ve ham haliyle duruyor. */
    background: url('../img/hero-bg.jpg') right center/cover no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding-left: 5% !important;
}

.hero-text {
    text-align: left !important;
    margin: 0 !important; /* Ortalamay� tamamen devre d��� b�rakt�k */
    max-width: 500px !important; /* Yaz�lar�n sa�a do�ru uzan�p zarf� kapatmas�n� kesin engelliyoruz */
}

.hero h1, .hero p {
    text-align: left !important;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.7) !important; /* Yaz�lar�n arkas�na zarif, belli belirsiz bir beyaz parlama koyduk okunakl� olsun diye */
}

.hero-buttons {
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .hero {
        background-position: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
    }
    .hero-text {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .hero h1, .hero p {
        text-align: center !important;
    }
    .hero-buttons {
        justify-content: center !important;
    }
}
/* KOYU VE SA�A DAYALI G�RSEL ���N YAZI RENG� G�NCELLEMES� */
.hero {
    background: url('../img/hero-bg.jpg') center/cover no-repeat !important;
}

.hero h1 {
    color: #ffffff !important; /* Karanl�k ah�ap �zerine beyaz ba�l�k */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8) !important;
}
.hero h1 span {
    color: #FF1493 !important;
}
.hero p {
    color: #eeeeee !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
}

/* YAZILARI ZARFTAN UZAKLA�TIRIP SOLA YASLAMA (SADECE B�LG�SAYARDA) */
@media (min-width: 769px) {
    .hero .container {
        max-width: 95% !important; /* ��eri�in daha sola gidebilmesi i�in geni�li�i art�rd�k */
    }
    .hero-text {
        position: relative !important;
        left: -5% !important; /* Yaz� blo�unu direkt sola do�ru �ektik */
    }
}
/* AYDINLIK G�RSELE �ZEL YAZI RENG� G�NCELLEMES� */
.hero h1 {
    color: #222222 !important; /* A��k ah�ap �zerinde koyu siyah yaz� */
    text-shadow: 1px 1px 3px rgba(255,255,255,0.7) !important;
}
.hero h1 span {
    color: #FF1493 !important;
}
.hero p {
    color: #444444 !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}


/* EDITOR SAYFASI GÜZELLEŞTİRME VE BÜYÜTME (BEAUTIFY EDITOR) */

/* Sol Menü (Sidebar) */
.step-text h4 {
    font-size: 1.15rem !important; /* Adım başlıklarını büyüttük */
    font-weight: 600 !important;
    margin-bottom: 5px !important;
}
.step-text p {
    font-size: 0.95rem !important; /* Adım açıklamalarını büyüttük */
    color: #666 !important;
}

/* Ana Başlık ve Açıklama */
.step-content h2 {
    font-size: 2.2rem !important;
    color: #7A604A !important;
    margin-bottom: 10px !important;
}
.step-desc {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin-bottom: 25px !important;
}

/* Yapay Zeka Kutusu */
.ai-helper-box {
    padding: 25px !important;
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.15) !important;
    border-radius: 12px !important;
    margin-bottom: 30px !important;
}
.ai-helper-box h3 {
    font-size: 1.5rem !important;
}
.ai-helper-box p {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    color: #444 !important;
    margin-bottom: 20px !important;
}
.ai-input-group input {
    font-size: 1.1rem !important;
    padding: 15px 20px !important;
    border-radius: 30px 0 0 30px !important;
}
.ai-input-group button {
    font-size: 1.1rem !important;
    padding: 15px 30px !important;
    border-radius: 0 30px 30px 0 !important;
    font-weight: 600 !important;
}

/* Mektup Yazma Alanı (Kağıt) */
.letter-textarea {
    font-size: 1.25rem !important; /* Yazılar daha okunaklı */
    line-height: 2 !important; /* Satır aralıkları ferah */
    padding: 30px !important;
    color: #222 !important;
}

/* TEMİZ VE PROFESYONEL LOGO (ANA SAYFA ÜST MENÜ İLE AYNI) */
.logo {
    font-family: 'Playfair Display', serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #FF1493 !important; /* Canlı pembe */
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    background: none !important;
    -webkit-text-fill-color: #FF1493 !important;
    text-shadow: none !important;
    letter-spacing: 0 !important;
}

.logo i {
    margin-right: 8px !important;
    color: #FF1493 !important;
    -webkit-text-fill-color: #FF1493 !important;
    font-size: 1.8rem !important;
    transform: none !important;
}

.logo span {
    font-family: 'Playfair Display', serif !important;
    color: #222222 !important; /* Koyu füme / siyah */
    -webkit-text-fill-color: #222222 !important;
    font-weight: 800 !important;
    margin-left: 2px !important;
    font-size: 2rem !important;
    background: none !important;
}

.auth-header .logo {
    justify-content: center !important;
    font-size: 2.8rem !important;
    margin-bottom: 25px !important;
}
.auth-header .logo i {
    font-size: 2.5rem !important;
}
.auth-header .logo span {
    font-size: 2.8rem !important;
}

/* EDITOR SAYFASINI TAM EKRAN (FULL-WIDTH) YAPMA VE ZOOM İPTALİ */
body.editor-body {
    zoom: 1 !important; /* %80 küçültmeyi bu sayfada iptal et, normal (büyük) boyuta döndür */
}

/* Üst Menüyü de tam ekran yap */
body.editor-body header {
    padding: 0 40px !important;
}
body.editor-body header .container {
    max-width: 100% !important;
    width: 100% !important;
}

/* Ana Taşıyıcıyı (Container) ekrana yay */
.editor-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 30px 0 !important;
    padding: 0 50px !important;
    gap: 50px !important;
}

/* Sol Menüyü Sola Sabitleme ve Genişletme */
.editor-sidebar {
    width: 350px !important;
    position: sticky !important;
    top: 30px !important;
    height: fit-content !important;
    align-self: flex-start !important; /* flex container içinde sticky çalışması için gerekli */
}

/* Mektup Yazma / İçerik Alanı (Kalan Tüm Ekranı Kaplasın) */
.editor-main {
    flex: 1 !important;
    min-width: 0 !important; /* İçeriğin taşmasını engeller */
}

/* YENİ ANİMASYON TASARIMI */
.anim-container {
    position: relative;
    width: 400px;
    height: 500px; /* Kağıdın üstte duracağı alan dahil */
    display: flex;
    justify-content: center;
    overflow: hidden; /* Kağıt aşağı kayınca zarfın dışından taşmasın (isteğe bağlı ama zarf resmi tam kaplıyorsa arkasında kalır) */
}

.anim-envelope-front {
    position: absolute;
    bottom: 0;
    width: 400px;
    z-index: 10;
    transition: transform 1.5s ease-in-out, opacity 1s;
}

.anim-paper-real {
    position: absolute;
    bottom: 250px; /* Zarfın üstünde başlar */
    width: 320px;
    height: 350px;
    background: #fff;
    z-index: 5; /* Zarfın arkasında kalacak */
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 1.5s ease-in-out;
    border: 1px solid #eee;
}

/* Animasyon Sınıfları */
.animate-fold .anim-paper-real {
    transform: translateY(220px) scale(0.85) !important; /* Kağıt aşağı kayar ve hafif küçülür (içine girme hissi) */
    opacity: 0.8;
}
.animate-close .anim-paper-real { 
    transform: translateY(260px) scale(0.8) !important;
    opacity: 0 !important; /* Tamamen zarfın içinde kaybolur */
}
.animate-fly .anim-envelope-front,
.animate-fly .anim-paper-real {
    transform: translate(800px, -800px) scale(0.1) rotate(45deg) !important;
    opacity: 0 !important;
    transition: transform 1.2s cubic-bezier(0.6, -0.28, 0.735, 0.045), opacity 1s ease-in !important;
}

/* FINAL HERO TEXT ALIGNMENT FIX */
@media (min-width: 769px) {
    .hero {
        padding-left: 0 !important;
        justify-content: center !important;
    }
    .hero-container {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    .hero-text-fixed {
        margin: 0 !important;
        padding-left: 0 !important;
        max-width: 50% !important;
        text-align: left !important;
        position: relative !important;
        left: 0 !important;
    }
}

.design-card.selected .design-preview {
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(169, 50, 38, 0.2);
}
.design-card.selected .design-name {
    font-weight: bold;
    color: var(--primary-color);
}

body { zoom: 0.8 !important; }

body.editor-body { zoom: 0.75 !important; }

/* MOBILE FIXES */
@media (max-width: 768px) {
    html, body {
        zoom: 1 !important;
        transform: none !important;
        width: 100% !important;
        overflow-x: hidden;
    }
    .editor-container {
        flex-direction: column !important;
        padding: 10px !important;
    }
    .editor-sidebar {
        width: 100% !important;
        position: relative !important;
        height: auto !important;
    }
    .editor-main {
        width: 100% !important;
    }
    .hero {
        padding: 20px 10px !important;
    }
    .nav-container {
        flex-direction: column;
    }
    .gift-slider-container {
        width: 100%;
        overflow-x: auto;
    }
}

/* ULTIMATE MOBILE FIX (INDEX) */
@media (max-width: 768px) {
    /* Navbar Fixes */
    .nav-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 10px !important;
    }
    nav ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important;
        padding: 5px 0 !important;
    }
    nav ul li {
        margin: 0 !important;
    }
    nav ul li a {
        font-size: 13px !important;
        padding: 4px 8px !important;
    }
    .auth-buttons {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    .auth-buttons a {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }
    
    /* Hero Section Fixes */
    .hero {
        padding: 30px 15px !important;
        min-height: auto !important;
    }
    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word !important;
        hyphens: auto;
    }
    .hero p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        padding: 10px 0 !important;
    }
    .hero-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .hero-buttons a {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Global fixes to prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100% !important;
    }
}

/* CRITICAL NAVBAR FIX FOR OVERLAP ON MOBILE */
@media (max-width: 768px) {
    .navbar {
        height: auto !important;
        position: relative !important;
    }
    .nav-container {
        height: auto !important;
        min-height: auto !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 15px 10px !important;
    }
    nav ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    nav ul li {
        margin: 0 !important;
    }
    nav ul li a {
        font-size: 14px !important;
        padding: 6px 12px !important;
        border: 1px solid #ddd;
        border-radius: 20px;
        background: #fff;
    }
    .auth-buttons {
        margin-top: 5px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        align-items: center !important;
    }
    .auth-buttons a {
        width: 90% !important;
        text-align: center !important;
    }
}

/* HAMBURGER MENU CSS */
.mobile-menu-btn {
    display: none;
    font-size: 28px;
    color: #FF1493;
    cursor: pointer;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-container {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    /* Hide menus by default on mobile */
    .navbar nav, .navbar .auth-buttons {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* When active class is added by JS */
    .navbar nav.active, .navbar .auth-buttons.active {
        display: flex !important;
    }
    
    .navbar nav ul {
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
        margin: 15px 0 !important;
    }
    
    .navbar nav ul li {
        width: 100% !important;
        text-align: center !important;
    }
    
    .navbar nav ul li a {
        display: inline-block;
        width: 80%;
        padding: 10px !important;
        font-size: 16px !important;
    }
    
    .navbar .auth-buttons {
        margin-top: 10px !important;
        padding-bottom: 15px !important;
    }
    
    .navbar .auth-buttons a {
        font-size: 16px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
}
