/* Base Styles */
:root {
    --primary: #FF6B00; /* Turuncu - Ana Renk */
    --secondary: #00BFFF; /* Mavi - İkincil Renk */
    --light: #f8f9fa; /* Açık Arka Plan */
    --dark: #343a40; /* Koyu Metin */
    --gray: #e9ecef; /* Gri Arka Plan */
    --text-light: #6c757d; /* Açık Metin */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

nav h1 {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background-image: url('../images/svg/hero-bg.svg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero button {
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hero button:hover {
    background-color: #e55a00;
    transform: translateY(-3px);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 1rem auto;
}

/* Game Categories */
.game-categories {
    padding: 4rem 2rem;
    background-color: var(--light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.category-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--gray);
    border-radius: 15px;
    transition: var(--transition);
}

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

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.category-aksiyon .category-icon {
    background-color: var(--primary);
}

.category-macera .category-icon {
    background-color: var(--secondary);
}

.category-bulmaca .category-icon {
    background-color: #4CAF50;
}

.category-strateji .category-icon {
    background-color: #9C27B0;
}

/* Featured Games */
.featured-games {
    padding: 4rem 2rem;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.game-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.game-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.game-macera-adası .game-image {
    background-image: url('../images/svg/game1.svg');
}

.game-zümrüdüanka .game-image {
    background-image: url('../images/svg/game2.svg');
}

.game-korsanlar .game-image {
    background-image: url('../images/svg/game3.svg');
}

.game-rating {
    background-color: var(--primary);
    color: white;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin: -1rem 0 0 1rem;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.game-content {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.game-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.play-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.play-btn:hover {
    background-color: #009acd;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
    padding: 5rem 2rem;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.rating {
    color: #FFD700;
}

/* Company Stats Section */
.company-stats {
    padding: 5rem 2rem;
}

.stats-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.2rem;
}

/* Vision & Mission Section */
.vision-mission {
    background-color: var(--gray);
    padding: 5rem 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Team Section */
.team-section {
    padding: 5rem 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.member-role {
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    margin-top: 2rem;
}

.contact-form {
    background-color: var(--light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-textarea {
    resize: vertical;
}

.form-submit {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.contact-info-container {
    margin-top: 2rem;
}

.contact-card {
    background-color: var(--light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

.info-title {
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-link {
    color: var(--secondary);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

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

.facebook {
    background-color: #1877F2;
}

.twitter {
    background-color: #1DA1F2;
}

.youtube {
    background-color: #FF0000;
}

.instagram {
    background-color: #E4405F;
}

.business-hours-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.avatar-1 {
    background-color: #FF6B00;
}

.avatar-2 {
    background-color: #00BFFF;
}

.author-info h4 {
    margin: 0;
}

.rating {
    color: #FFD700;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
}

/* News Section */
.news-section {
    padding: 4rem 2rem;
    background-color: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background-color: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
}

.news-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.news-1 .news-icon {
    background-color: #FF6B00;
}

.news-2 .news-icon {
    background-color: #00BFFF;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 0.5rem;
}

.news-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-column h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

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

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #e55a00;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links li {
        margin: 0 0.5rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

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

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

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

    .game-cards, .category-grid, .testimonial-slider, .news-grid, .footer-content {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
    }

    .news-icon {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-card, .category-card, .testimonial-card, .news-item {
    animation: fadeIn 0.5s ease forwards;
}

.game-card:nth-child(2), .category-card:nth-child(2), .testimonial-card:nth-child(2), .news-item:nth-child(2) {
    animation-delay: 0.2s;
}

.game-card:nth-child(3), .category-card:nth-child(3) {
    animation-delay: 0.4s;
}

.game-card:nth-child(4), .category-card:nth-child(4) {
    animation-delay: 0.6s;
}

.game-card, .category-card, .testimonial-card, .news-item {
    opacity: 0;
}