/* 
* IPTVPlayer.tv - Ana CSS Dosyası
* Gelişmiş IPTV Oynatıcı Uygulaması için Web Sitesi
*/

/* ===== GENEL STILLER ===== */
:root {
    --primary-color: #2c6bed;
    --secondary-color: #34c759;
    --dark-color: #1a1a2e;
    --light-color: #f5f5f7;
    --gray-color: #6c757d;
    --border-color: #e1e1e1;
    --gradient-primary: linear-gradient(135deg, #2c6bed 0%, #1e56c9 100%);
    --gradient-secondary: linear-gradient(135deg, #34c759 0%, #28a745 100%);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(44, 107, 237, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(44, 107, 237, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(44, 107, 237, 0.1);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(52, 199, 89, 0.1);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 20px;
}

.hero-platforms {
    display: flex;
    flex-direction: column;
    margin-left: 40px;
}

.hero-platforms ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-platforms li {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.hero-platforms li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.hero-platforms img {
    width: 28px;
    height: 28px;
    margin-right: 15px;
}

.hero-platforms span {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== FEATURES SECTION ===== */
.features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 107, 237, 0.1);
    border-radius: 50%;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background-color: #f9f9f9;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step p {
    color: var(--gray-color);
}

/* ===== DEVICES SECTION ===== */
.devices {
    background-color: #fff;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.device {
    padding: 20px;
    transition: var(--transition);
}

.device:hover {
    transform: translateY(-10px);
}

.device img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.device h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.device p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ===== COMPARISON SECTION ===== */
.comparison {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.comparison-content {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    margin-top: 40px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background-color: #f5f5f7;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 15px 20px;
    border-bottom: 2px solid #e0e0e0;
}

.comparison-table th:first-child {
    width: 25%;
}

.comparison-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: #333;
}

.comparison-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: #f9f9f9;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 0;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* ===== DOWNLOAD SECTION ===== */
.download-preview {
    background-color: #fff;
}

.download-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.download-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.download-card.popular {
    border: 2px solid var(--secondary-color);
}

.popular-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.download-header {
    text-align: center;
    margin-bottom: 20px;
}

.download-header img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.download-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.download-features ul {
    margin-bottom: 25px;
}

.download-features ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray-color);
}

.download-features ul li:last-child {
    border-bottom: none;
}

.download-footer {
    text-align: center;
}

.download-footer .btn {
    margin: 5px;
}

.download-more {
    text-align: center;
    margin-top: 40px;
}

/* ===== FAQ SECTION ===== */
.faq-preview {
    background-color: #f9f9f9;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--gray-color);
    display: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-more {
    text-align: center;
    margin-top: 30px;
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

.cta .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta .btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1a1a1a;
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer p {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-about {
    margin-bottom: 20px;
}

.footer-info {
    margin-bottom: 20px;
}


.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.8;
}

.app-stores {
    display: flex;
    gap: 15px;
}

.app-stores img {
    height: 40px;
}

/* ===== APP SCREENSHOTS SECTION ===== */
.app-screenshots {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.screenshots-grid {
    margin-top: 40px;
}

.screenshot-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.screenshot-item {
    flex: 0 0 48%;
    text-align: center;
    margin-bottom: 20px;
}

.screenshot-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.screenshot-item p {
    margin-top: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .screenshot-item {
        flex: 0 0 100%;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .steps {
        flex-direction: column;
    }

    .testimonial {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        transition: var(--transition);
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .testimonial {
        flex: 0 0 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .app-stores {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .feature-card,
    .step,
    .download-card {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon img {
        width: 30px;
        height: 30px;
    }

    .feature-card h3,
    .step h3,
    .download-header h3 {
        font-size: 1.2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}
