/*
Theme Name: Talk Vibe
Theme URI: https://talkvibeenglish.com
Author: Senin Adın
Author URI: https://talkvibeenglish.com
Description: Talk Vibe için özel olarak hazırlanmış bir WordPress teması.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: talkvibe
*/

/* Google Font */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fb;
    color: #222;
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    color: #1e3c72;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(30,60,114,0.08);
    border-bottom: 1px solid #f0f0f0;
}
.logo {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}
.nav-links li a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links li a:hover {
    color: #ffb347;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e3c72;
    border-radius: 2px;
    display: block;
}

.hero {
    min-height: 70vh;
    background: linear-gradient(rgba(30,60,114,0.7), rgba(30,60,114,0.5)), url('https://images.unsplash.com/photo-1513258496099-48168024aec0?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}
.hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: rgba(30,60,114,0.55);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30,60,114,0.18);
    animation: fadeIn 1.2s;
}
.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.cta-btn {
    background: #ffb347;
    color: #1e3c72;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(255,179,71,0.15);
}
.cta-btn:hover {
    background: #fff;
    color: #ffb347;
    transform: translateY(-2px) scale(1.04);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}
.cta-btn.alt {
    background: #fff;
    color: #ffb347;
    border: 2px solid #ffb347;
    box-shadow: 0 2px 8px rgba(255,179,71,0.10);
}
.cta-btn.alt:hover {
    background: #ffb347;
    color: #fff;
    border-color: #ffb347;
}

section {
    padding: 4rem 2rem 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
section h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 1.2rem;
    text-align: center;
}
.about p {
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.profile-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(30,60,114,0.10);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    width: 220px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 1s;
}
.profile-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(30,60,114,0.18);
}
.profile-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid #ffb347;
    box-shadow: 0 2px 8px rgba(255,179,71,0.15);
}
.profile-card h3 {
    margin: 0.5rem 0 0.2rem 0;
    color: #1e3c72;
    font-size: 1.2rem;
}
.profile-card p {
    color: #555;
    font-size: 1rem;
}

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(30,60,114,0.13);
    background: #fff;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1e3c72;
}

/* Students grid */
.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    margin-top: 2.5rem;
    padding: 0 0.5rem;
}
.student-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(30,60,114,0.10);
    padding: 1.2rem 0.7rem 0.7rem 0.7rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    animation: fadeInUp 1s;
}
.student-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.7rem;
    border: 3px solid #ffb347;
    box-shadow: 0 2px 8px rgba(255,179,71,0.15);
    transition: border 0.2s, box-shadow 0.2s, transform 0.2s;
}
.student-card span {
    color: #1e3c72;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 0.2rem;
}
.student-card:hover {
    background: #fffbf3;
    transform: translateY(-8px) scale(1.07) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(255,179,71,0.18);
}
.student-card:hover img {
    border: 3px solid #1e3c72;
    box-shadow: 0 4px 16px rgba(30,60,114,0.18);
    transform: scale(1.08) rotate(3deg);
}

/* Contact section */
.contact-info {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,60,114,0.08);
    padding: 2rem 1.5rem;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-icon, .call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffb347;
    color: #1e3c72;
    padding: 0.7rem 1.3rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.08rem;
    text-decoration: none;
    margin: 0.2rem 0.3rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(255,179,71,0.13);
}
.contact-icon:hover, .call-btn:hover {
    background: #1e3c72;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

footer {
    background: #1e3c72;
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}
.social-icons {
    margin-bottom: 1rem;
}
.social-icons a {
    color: #ffb347;
    margin: 0 0.7rem;
    display: inline-block;
    transition: color 0.2s, transform 0.2s;
}
.social-icons a:hover {
    color: #fff;
    transform: scale(1.2);
}

.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}

section, .profile-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}

.about-vibe {
    background: linear-gradient(120deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 22px;
    box-shadow: 0 4px 24px rgba(252,182,159,0.13);
    margin: 3rem auto 2rem auto;
    padding: 2.5rem 1.5rem;
    max-width: 800px;
    text-align: center;
    animation: fadeIn 1.2s;
}
.about-vibe h2 {
    color: #1e3c72;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.about-vibe-content p {
    font-size: 1.18rem;
    color: #333;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 650px;
}
.about-vibe-content strong {
    color: #ff7e5f;
    font-weight: 700;
}

.about-vibe.modern-white {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 24px rgba(30,60,114,0.10);
    border: 1.5px solid #f3f3f3;
    margin: 3rem auto 2rem auto;
    padding: 2.7rem 2rem;
    max-width: 800px;
    text-align: center;
    animation: fadeIn 1.2s;
}
.about-vibe.modern-white h2 {
    color: #1e3c72;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 1.3rem;
    letter-spacing: 0.5px;
}
.about-vibe.modern-white .about-vibe-content p {
    font-size: 1.18rem;
    color: #222;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 650px;
}
.about-vibe.modern-white .about-vibe-content strong {
    color: #ff7e5f;
    font-weight: 700;
}

@media (max-width: 900px) {
    .card-container {
        gap: 1.2rem;
    }
    .profile-card {
        width: 180px;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

/* Blog list styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}
.post {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(30,60,114,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(30,60,114,0.12);
}
.post-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.post-body {
    padding: 1.2rem 1.2rem 1.6rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1 1 auto;
}
.post-title { margin: 0; font-size: 1.15rem; }
.post-title a { color: #1e3c72; text-decoration: none; font-weight:700; }
.post-title a:hover { color: #ff7e5f; }
.post-meta { color: #8b99ab; font-size: 0.9rem; margin: 0; }
.post-content { color: #444; line-height: 1.6; font-size: 1rem; }
.read-more {
    margin-top: auto;
    align-self: flex-start;
    background: transparent;
    color: #ff7e5f;
    text-decoration: none;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
}
.read-more:hover { text-decoration: underline; }

@media (max-width: 700px) {
    .post-thumb img { height: 160px; }
}

/* Blog page hero */
.blog-hero--wrap { background: linear-gradient(180deg, rgba(30,60,114,0.06), rgba(255,255,255,0)); padding: 2.2rem 0; }
.blog-hero-inner { max-width: 900px; margin: 0 auto; padding: 1.2rem; text-align: center; }
.blog-hero-inner h1 { font-size: 2rem; color: #1e3c72; margin-bottom: 0.4rem; }
.blog-hero-inner p { color: #5b6b7a; margin: 0; }

/* 2-column blog layout */
.blog-wrapper { max-width: 1100px; margin: 1.6rem auto 3rem; display: grid; grid-template-columns: 1fr 320px; gap: 2rem; padding: 0 1rem; }
.content-main { background: transparent; }
.sidebar { background: transparent; }
.widget { background: #fff; padding: 1rem; border-radius: 12px; box-shadow: 0 6px 18px rgba(30,60,114,0.04); margin-bottom: 1rem; }
.widget h3 { margin: 0 0 0.6rem 0; color: #1e3c72; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 0.35rem 0; border-bottom: 1px dashed #f0f0f0; }
.widget ul li a { color: #1e3c72; text-decoration: none; }

@media (max-width: 980px) {
    .blog-wrapper { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
}

/* Single-post like listing styles (from single.php) */
.single-post {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(30,60,114,0.06);
    padding: 1.6rem 1.4rem;
    margin-bottom: 1.6rem;
}
.single-post-header { padding-bottom: 0.6rem; border-bottom: 1px solid #f2f4f6; margin-bottom: 1rem; }
.single-post h2 { font-size: 1.6rem; color: #1e3c72; margin: 0 0 0.5rem 0; line-height: 1.25; }
.single-post h2 a { color: inherit; text-decoration: none; }
.single-post .post-meta { font-size: 0.95rem; color: #888; margin-bottom: 0.8rem; }
.post-thumbnail img { width:100%; height:auto; border-radius:12px; margin:0.8rem 0; box-shadow: 0 4px 12px rgba(30,60,114,0.08); }
.single-post .post-content { font-size: 1.02rem; line-height: 1.85; color: #333; }
.single-post .read-more { color: #ff7e5f; font-weight:700; text-decoration:none; }
.single-post .read-more:hover { text-decoration:underline; }

@media (max-width:700px) {
    .single-post { padding: 1rem; }
    .single-post h2 { font-size: 1.25rem; }
}

/* Apply single.php typography and content styles to blog listing */
.single-post .post-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}
.single-post .post-content p { margin-bottom: 1.5rem; }
.single-post .post-content h2 { font-size: 1.8rem; color: #1e3c72; margin-top: 2.5rem; margin-bottom: 1rem; }
.single-post .post-content h3 { font-size: 1.5rem; color: #1e3c72; margin-top: 2rem; margin-bottom: 0.8rem; }
.single-post .post-content ul,
.single-post .post-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.single-post .post-content li { margin-bottom: 0.5rem; }
.single-post .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(30,60,114,0.1);
}
.single-post .post-content blockquote {
    border-left: 4px solid #ffb347;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}
.single-post .post-content a { color: #1e3c72; text-decoration: underline; }
.single-post .post-content a:hover { color: #ffb347; }

.single-post .post-categories { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; }
.single-post .post-categories span { font-weight: 700; color: #1e3c72; margin-right: 0.5rem; }
.single-post .post-categories a { display: inline-block; background: #f0f0f0; color: #1e3c72; padding: 0.3rem 0.8rem; border-radius: 20px; text-decoration: none; font-size: 0.9rem; margin-right: 0.5rem; margin-bottom: 0.5rem; transition: background 0.2s, color 0.2s; }
.single-post .post-categories a:hover { background: #ffb347; color: #fff; }

/* Ensure headings and body match single.php globally for blog area */
.blog-wrapper, .blog-wrapper * { font-family: 'Montserrat', Arial, sans-serif; }

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 1rem 0;
        z-index: 9999;
        border-bottom: 1px solid #f0f0f0;
        box-shadow: 0 4px 16px rgba(30,60,114,0.08);
    }
    .nav-links.active {
        display: flex;
        background: #fff;
    }
    .nav-links li a {
        color: #1e3c72 !important;
        padding: 1rem 2rem;
        width: 100%;
        display: block;
        text-align: left;
    }
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    section {
        padding: 2.5rem 1rem 2rem 1rem;
    }
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .students-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    .contact-info {
        padding: 1.2rem 0.5rem;
    }
    .about-vibe {
        padding: 1.2rem 0.5rem;
        margin: 2rem 0.2rem 1.2rem 0.2rem;
    }
    .about-vibe h2 {
        font-size: 1.3rem;
    }
    .about-vibe-content p {
        font-size: 1rem;
    }
    .about-vibe.modern-white {
        padding: 1.3rem 0.7rem;
        margin: 2rem 0.2rem 1.2rem 0.2rem;
    }
    .about-vibe.modern-white h2 {
        font-size: 1.3rem;
    }
    .about-vibe.modern-white .about-vibe-content p {
        font-size: 1rem;
    }
}
@media (max-width: 500px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-content {
        padding: 1.5rem 0.5rem;
    }
    .profile-card {
        width: 95vw;
        max-width: 300px;
    }
    .logo-img {
        width: 34px;
        height: 34px;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    .student-card {
        padding: 0.7rem 0.2rem 0.5rem 0.2rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 0.7rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
