/*
Tema Adı: Vokabul Tema
Tema URI: https://www.vokabul.com
Yazar: Serkan Gümüş
Yazar URI: https://www.serkangumus.com
Açıklama: Vokabul landing page için özel WordPress teması.
Versiyon: 1.0
Lisans: GNU General Public License v2 or later
Lisans URI: http://www.gnu.gnu.org/licenses/gpl-2.0.html
Etiketler: landing page, oyun, eğitim, dil öğrenimi
Metin Alanı: vokabul-tema
*/

/* --- vokabul_landing (5).html dosyasından kopyalanan CSS buraya gelecek --- */

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

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

.hero {
    background-image: url('./assets/images/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%),url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.floating-tiles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-tile {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: bold;
    color: white;
    font-size: 14px;
    animation: float 6s ease-in-out infinite;
}

.floating-tile-image {
    position: absolute;
    /* background: rgba(255, 255, 255, 0.1); */
    /* border: 2px solid rgba(255, 255, 255, 0.2); */
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: bold;
    color: white;
    font-size: 14px;
    animation: float 5s ease-in-out infinite;
}

.floating-cat {
    top: 60%; left: 65%; animation-delay: 5s;
    width: 50px;
}

.floating-cat > img {
    width: 200px;
}



.floating-tile-red {            
    background: rgba(255, 0, 0, 0.3);            
    color: white;
}

.floating-tile-red-light {            
    background: rgba(255, 162, 162, 0.3);            
    color: white;
}

.floating-tile-blue {            
    background: rgba(28, 4, 243, 0.3);            
    color: white;
}

.floating-tile-blue-light {            
    background: rgba(162, 210, 255, 0.3);            
    color: white;
}

.floating-tile-yellow {            
    background: rgba(255, 243, 162, 0.3);            
    color: white;
}

.floating-tile-green {            
    background: rgba(162, 255, 180, 0.3);            
    color: white;
}

.floating-tile-purple {            
    background: rgba(200, 162, 255, 0.3);            
    color: white;
}

.floating-tile-orange {            
    background: rgba(255, 200, 162, 0.3);            
    color: white;
}

.floating-tile-pink {            
    background: rgba(255, 162, 220, 0.3);            
    color: white;
}

.floating-tile-cyan {            
    background: rgba(162, 255, 255, 0.3);            
    color: white;
}

.floating-tile-lime {            
    background: rgba(200, 255, 162, 0.3);            
    color: white;
}

.floating-tile-coral {            
    background: rgba(255, 180, 162, 0.3);            
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideDown 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
    animation: slideUp 1s ease-out 0.5s both;
}

.cta-button, .order-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: slideUp 1s ease-out 1s both;
}

.order-button {
	 background: linear-gradient(45deg, #3498db, #1abc9c); 
	box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4); 
    animation: slideUp 1s ease-out 1s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #667eea;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.rule-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.rule-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.word-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.word-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
}

.word-tile {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.word-tile:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.gameplay-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gameplay-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gameplay-description h3 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 20px;
}

.gameplay-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.brand-showcase {
    text-align: center;
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
}

.brand-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.brand-text {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: bold;
    margin-bottom: 15px;
}

.brand-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.example-sentence {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.example-sentence:hover {
    transform: translateY(-3px);
}

.scoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.score-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
}

.score-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.social-icons {
    margin: 30px 0;
}

.social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    line-height: 50px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.galery {
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.galery > div {
    /* border: solid 1px red; */
}

.galery-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-button {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-3px);
}

.contact-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-button:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .section h2 {
        font-size: 2rem;
    }

    .gameplay-showcase {
        display: grid;
        grid-template-columns: 1fr ;
        gap: 40px;
        align-items: center;
        margin-bottom: 50px;
        padding: 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .galery {
        display: grid;
        grid-template-columns: 1fr ;
        gap: 40px;
        align-items: center;
        margin-bottom: 50px;
        padding: 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .floating-cat {
        top: 70%; left: 60%; animation-delay: 5s;        
    }

    .floating-cat > img {
        width: 140px;
    }
}

@media (min-width: 900px) { 
    .galery {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 40px;
        align-items: center;
        margin-bottom: 50px;
        padding: 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

/* Navbar stilleri */
header {
    margin: 0;
}
.navbar {
    background-color: #0e1a38;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    z-index: 1000;
}

.navbar .nav-links {
    /* Varsayılan olarak masaüstünde flex kalmalı */
    display: flex; 
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.navbar .nav-links li:hover {
    background-color: #667eea;
    display: block;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #1fb6ff;
}

.navbar .nav-links li a .fa-solid,
.navbar .nav-links li a .fas {
    margin-right: 0.5rem; /* İkon ile metin arasına boşluk */
    font-size: 1rem; /* İkon boyutu */
    color:red;
}

/* Mobil Menü Geçiş Düğmesi (Hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* Menü açıkken hamburger ikonunun animasyonu */
.menu-toggle.is-active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.is-active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.is-active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    /* main-navigation, yani <nav> etiketini gizle ve aktif olduğunda göster */
    .navbar .main-navigation {
        display: none; 
        /* flex-direction: column; -- Bu satır burada gereksiz, aşağıdaki .nav-links'e taşıdık */
        width: 100%;
        text-align: center;
        background-color: #0e1a38;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .navbar .main-navigation.active {
        display: flex; 
        /* flex-direction: column; -- Bu satır da gereksiz, aşağıdaki .nav-links'e taşıdık */
    }

    /* Asıl menü listesini (ul.nav-links) mobil görünümde dikey yap */
    .navbar .main-navigation .nav-links {
        display: flex; /* Flexbox kullanmaya devam et, sadece yönünü değiştir */
        flex-direction: column; /* Mobil menü elemanlarını alt alta sırala */
        width: 100%; /* Tüm genişliği kapla */
    }

    .navbar .nav-links li {
        margin: 0.5rem 0; /* Dikey boşluk */
    }

    .menu-toggle {
        display: block;
    }

    body {
        padding-top: 0px;
    }

    .small-hide {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .section h2 {
        font-size: 2rem;
    }

    .gameplay-showcase {
        display: grid;
        grid-template-columns: 1fr ;
        gap: 40px;
        align-items: center;
        margin-bottom: 50px;
        padding: 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .galery {
        display: grid;
        grid-template-columns: 1fr ;
        gap: 40px;
        align-items: center;
        margin-bottom: 50px;
        padding: 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

@media (min-width: 900px) { 
    .galery {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 40px;
        align-items: center;
        margin-bottom: 50px;
        padding: 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}
