/* 
   Ejderha Kalkanı - Metin2 Fantasy / Medieval Theme
*/

:root {
    --bg-dark: #120a06; /* Very dark brown/black */
    --bg-card: rgba(30, 20, 15, 0.85);
    
    --text-main: #e8dcc4; /* Light parchment text */
    --text-muted: #b89c74; /* Darker gold/brown text */
    
    --accent-gold: #cba863;
    --accent-gold-hover: #e8c784;
    --accent-red: #8b0000;
    --accent-dark: #2a1610;

    --parchment-bg: #e6d3a7;
    --parchment-border: #8b6d43;
    --parchment-text: #2a1a0f;

    --border-gold: 1px solid var(--accent-gold);
    --shadow-gold: 0 0 20px rgba(203, 168, 99, 0.2);

    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Marcellus', serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at center, #1f110a 0%, #0a0502 100%);
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w-100 {
    width: 100%;
}

.header-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 1rem auto 1.5rem;
}

/* Background Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-gold {
    background: linear-gradient(to bottom, #d6b56b, #b38b3b);
    color: #1a0f0a;
    border: 1px solid #ffe9a6;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.3), 0 5px 15px rgba(0,0,0,0.5);
}

.btn-gold:hover {
    background: linear-gradient(to bottom, #e8c784, #cba863);
    transform: translateY(-2px);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5), 0 5px 20px rgba(203, 168, 99, 0.4);
}

.btn-dark {
    background: linear-gradient(to bottom, #3a2218, #1a0f0a);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-dark:hover {
    background: linear-gradient(to bottom, #4a2c1f, #2a1610);
    color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(18, 10, 6, 0.95);
    border-bottom: 1px solid var(--accent-gold);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-main);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.highlight {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    position: relative;
    text-transform: uppercase;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 2rem 4rem;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(139, 0, 0, 0.2);
    color: var(--accent-gold);
    border: 1px solid var(--accent-red);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    box-shadow: inset 0 0 10px rgba(139,0,0,0.5);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(203, 168, 99, 0.3);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fantasy-shield {
    position: relative;
    width: 350px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-image {
    width: 100%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(203,168,99,0.4));
}

.shield-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(203,168,99,0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Sections Common */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Parchment Cards */
.parchment {
    background: radial-gradient(circle at center, var(--parchment-bg) 0%, #c4aa76 100%);
    border: 2px solid var(--parchment-border);
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.1);
    color: var(--parchment-text);
    position: relative;
}

.parchment::before {
    content: '';
    position: absolute;
    top: 4px; left: 4px; right: 4px; bottom: 4px;
    border: 1px dashed rgba(139, 109, 67, 0.4);
    pointer-events: none;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.9), inset 0 0 30px rgba(255,255,255,0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #4a2c1f;
    border-bottom: 1px solid rgba(139, 109, 67, 0.3);
    padding-bottom: 0.5rem;
}

.feature-card p {
    font-size: 1rem;
    color: #3a2218;
}

/* Pricing */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    flex: 1 1 300px;
    max-width: 350px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
}

.price-card.popular {
    transform: scale(1.05);
    border-color: #8b0000;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.3), inset 0 0 20px rgba(0,0,0,0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #8b0000, #4a0000);
    color: var(--accent-gold);
    padding: 0.4rem 1.5rem;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.plan-name {
    font-size: 1.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #4a2c1f;
    margin-bottom: 1rem;
}

.price-card.popular .plan-name {
    color: #8b0000;
}

.plan-price {
    font-size: 2.8rem;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    color: #1a0f0a;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.plan-price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #5a3c2f;
}

.plan-desc {
    color: #3a2218;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
    border-bottom: 1px solid rgba(139, 109, 67, 0.3);
    padding-bottom: 1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #2a1a0f;
    font-weight: 600;
}

/* Custom Package Form */
.custom-package-container {
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.success-message {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #064e3b;
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 3rem;
}

.form-label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #4a2c1f;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(139, 109, 67, 0.3);
    padding-bottom: 0.5rem;
}

.custom-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-family: 'Marcellus', serif;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(139, 109, 67, 0.5);
    border-radius: 4px;
    color: #2a1a0f;
    transition: var(--transition);
}

.custom-input:focus {
    outline: none;
    border-color: #8b0000;
    background: rgba(255,255,255,0.6);
}

.search-box-container {
    margin-bottom: 1.5rem;
}

.search-input {
    font-style: italic;
    background: rgba(255,255,255,0.6);
}

/* Feature Scroll Container */
.feature-scroll-container {
    height: 400px;
    overflow-y: auto;
    border: 2px solid rgba(139, 109, 67, 0.5);
    border-radius: 4px;
    background: rgba(0,0,0,0.05);
    padding: 1rem;
}

/* Custom Scrollbar for container */
.feature-scroll-container::-webkit-scrollbar {
    width: 10px;
}
.feature-scroll-container::-webkit-scrollbar-track {
    background: rgba(139, 109, 67, 0.2); 
}
.feature-scroll-container::-webkit-scrollbar-thumb {
    background: #8b6d43; 
    border-radius: 5px;
}
.feature-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #4a2c1f; 
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-card {
    flex: 1;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid rgba(139, 109, 67, 0.5);
    border-radius: 6px;
    transition: var(--transition);
    background: rgba(255,255,255,0.2);
}

.radio-card input[type="radio"]:checked + .radio-content {
    border-color: #8b0000;
    background: rgba(139, 0, 0, 0.1);
    box-shadow: inset 0 0 10px rgba(139,0,0,0.2);
}

.radio-content strong {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #2a1a0f;
    margin-bottom: 0.5rem;
}

.radio-content span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b0000;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-card {
    cursor: pointer;
    display: block;
}

.checkbox-card input[type="checkbox"] {
    display: none;
}

.checkbox-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(139, 109, 67, 0.3);
    border-radius: 6px;
    transition: var(--transition);
    background: rgba(255,255,255,0.4);
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-content {
    border-color: #4a2c1f;
    background: rgba(74, 44, 31, 0.15);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.chk-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-right: 15px;
}

.chk-info strong {
    font-size: 1.1rem;
    color: #1a0f0a;
}

.chk-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #8b0000;
    font-weight: bold;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.chk-info small {
    color: #4a2c1f;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.chk-price {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #8b0000;
    white-space: nowrap;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(139, 109, 67, 0.3);
}

.total-price-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.total-price-display span {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #4a2c1f;
    display: block;
    margin-bottom: 0.5rem;
}

.total-price-display h3 {
    font-size: 3.5rem;
    color: #8b0000;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}

/* Footer */
.footer {
    border-top: 1px solid var(--accent-gold);
    background: #0a0502;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 400px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer-contact a {
    display: block;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-contact a:hover {
    color: var(--accent-gold-hover);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(203, 168, 99, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .price-card.popular {
        transform: scale(1);
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }

    .checkbox-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .nav-links, .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .custom-package-container {
        padding: 2rem 1.5rem;
    }

    .total-price-display h3 {
        font-size: 2.5rem;
    }
}
