/* New Home Page Layout Styles */

:root {
    --primary-red: #e63946;
    --dark-red: #c1121f;
    --glass-bg: rgba(241, 5, 5, 0);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body.home-layout {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Custom Header for Home */
.home-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.home-header.sticky {
    top: 0;
    left: 50%;

    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.home-header.sticky .home-nav a {
    color: #150101;
}

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

.home-nav {
    display: flex;
    gap: 20px;
}

.home-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: opacity 0.3s;
}

.home-nav a:hover {
    opacity: 0.8;
}

.home-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-free {
    background-color: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-free:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
}

.btn-login-red {
    background-color: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-login-red:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
}

/* Full Page Slider */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main-slider {
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-item.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.slide-content-box h2 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.slide-content-box p {
    color: #ffffff;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Red accents */
.red-accent {
    color: #ff0000; /* Parlak kırmızı */
    font-weight: 700;
}

.interest-tag {
    background-color: var(--primary-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .home-header {
        padding: 5px 15px;
        top: 10px;
        width: 95%;
        border-radius: 20px;
    }

    .home-nav {
        display: none; /* Hide middle menu on mobile */
    }

    .home-logo img {
        height: 25px;
    }

    .home-actions {
        gap: 5px;
    }

    .btn-free, .btn-login-red {
        padding: 8px 12px;
        font-size: 12px;
    }

    .slide-content-box h2 {
        font-size: 1.8rem;
    }

    .slide-content-box p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Mobile Slider Images - If you had specific mobile assets, you would use them here */
    /* .slide-item { background-image: url(/mobile-bg.jpg); } */
}

/* Simple Slider Animation */
@keyframes slideIn {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.slide-item.active {
    animation: slideIn 5s ease-out forwards;
}

/* Slider Navigation Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(230, 57, 70, 0.8); /* primary-red with opacity */
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--primary-red);
    transform: scale(1.3);
    border-color: white;
}

/* Sections shared styles */
.container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #fff;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: #fdfdfd;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

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

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

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: #fff;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.billing-option {
    font-weight: 600;
    color: #999;
    cursor: pointer;
}

.billing-option.active {
    color: var(--primary-red);
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider.round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider.round:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-red);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.pricing-card.featured {
    border: 2px solid var(--primary-red);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--primary-red);
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #333;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 30px;
}

.pricing-price span {
    font-size: 1rem;
    color: #999;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-red);
    font-weight: bold;
    flex-shrink: 0;
}

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

/* Footer */
.home-footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-info p {
    color: #999;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.footer-links a {
    display: block;
    color: #999;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

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

.footer-contact p {
    color: #999;
    margin-bottom: 12px;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
