/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Logo Styles */
.logo-container {
    display: inline-block;
}

.logo-image {
    height: 40px;
    width: auto;
}

.footer-logo .logo-image {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.footer-logo .logo-text {
    color: white;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 30px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: auto;
}

/* Mobil menü z-index sorunu çözümü */
.navbar-collapse {
    z-index: 10000 !important;
}

.navbar-collapse.show {
    z-index: 10000 !important;
}

.navbar-nav {
    z-index: 10000 !important;
}

/* Dropdown menüler için */
.dropdown-menu {
    z-index: 10001 !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 15px;
    padding: 1rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 100px 0 60px 0;
    margin-top: 100px;
    position: relative;
    overflow: visible !important;
    min-height: 50vh;
    display: flex;
    align-items: center;
    z-index: 1 !important;
    transform: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-features {
    font-size: 0.95rem;
}

.hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

/* Hero Image Styles */
.hero-image {
    position: relative;
    z-index: 10000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: translateY(-10px);
}

/* Ensure hero section is always visible during scroll */
.hero-section {
    will-change: auto !important;
    transform: none !important;
    backface-visibility: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

/* Force hero content visibility */
.hero-content,
.hero-image {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: relative !important;
    transform: none !important;
}

/* Feature Cards */
.features-grid {
    background: white;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Key Benefits Section */
.key-benefits {
    background: var(--light-color);
}

.benefits-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.benefits-list .benefit-item {
    margin-bottom: 1.5rem;
}

.benefit-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
}

/* Pricing Section */
.pricing-section {
    background: white;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    background: #343a40;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1rem 0.75rem;
}

.pricing-title {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.pricing-body {
    flex: 1;
    padding: 1rem 0.75rem;
}

.pricing-footer {
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    padding: 1rem 0.75rem;
}

/* Kontör Amount Display */
.kontor-amount-large {
    text-align: center;
}

.kontor-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.kontor-text {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Price Labels and Values */
.price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.price-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.unit-price {
    margin-bottom: 1rem;
}

.package-price {
    margin-top: 1rem;
}

.price-divider {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 1rem 0;
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 1rem;
    }
    
    .kontor-number {
        font-size: 1.5rem;
    }
    
    .price-value {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        margin-bottom: 1rem;
    }
    
    .kontor-number {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 0.9rem;
    }
    
    .pricing-title {
        font-size: 0.8rem;
    }
}



/* Testimonials Section */
.testimonials-section {
    background: white;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.6;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.author-info h6 {
    color: var(--dark-color);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-features {
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-info .contact-item {
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Footer */
.footer {
    background: var(--dark-color);
}

.footer-brand h5 {
    color: white;
    font-weight: 600;
}

.footer h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .kontor-card {
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .hero-main-image {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}



/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hover Effects */
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.pricing-card:hover .popular-badge {
    background: #0056b3;
}

.kontor-card:hover .kontor-price {
    color: #0056b3;
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230d6efd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-custom {
    border: 2px solid var(--primary-color);
}



/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Footer Contact Info Styles */
.contact-info p {
    font-size: 0.875rem;
}

/* Captcha Styles */
.captcha-container {
    position: relative;
}

.captcha-container label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.captcha-container .form-control {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.captcha-container .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#captchaQuestion {
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    margin-left: 0.5rem;
}

#refreshCaptcha {
    border: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

#refreshCaptcha:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(180deg);
}

/* Responsive Captcha */
@media (max-width: 768px) {
    .captcha-container {
        margin-bottom: 1rem;
    }
    
    #captchaQuestion {
        display: block;
        margin: 0.5rem 0 0 0;
    }
}