/* styles.css */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

#header {
    background-color: var(--secondary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px; 
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #ff0000;
    text-align: center; 
}
#header-img {
    height: 60px;
}

#nav-bar {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.home-btn {
    font-size: 1rem;
    color: #fff;
}
main {
    padding-top: 80px;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1920x600') center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
}

section {
    padding: 60px 20px;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-size: 2rem;
}

.feature-section {
    background-color: var(--light-color);
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pricing {
    background-color: var(--light-color);
}

.plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan {
    flex: 1;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

/* Arka plan resmi için ortak stil */
.plan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4; /* %60 şeffaflık */
    z-index: -1;
    border-radius: 10px;
}

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

.plan.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

/* Her plan için özel arka plan resimleri */
.plan:nth-child(1)::before {
    background-image: url('./img/basic1.jpg');
}

.plan:nth-child(2)::before {
    background-image: url('./img/prof.jpg');
}

.plan:nth-child(3)::before {
    background-image: url('./img/premium.jpg');
}

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

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.plan ul {
    list-style: none;
    margin-bottom: 30px;
}

.plan ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

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

.newsletter {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 20px;
}

#form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#email {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    #header {
        flex-direction: column;
        padding: 15px;
    }
    
    #nav-bar {
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .features, .plans {
        flex-direction: column;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}