/* 
 * Fatma Nur Koçoğlu Landing Page Styles
 * Modern, Professional, Responsive
 */

:root {
    --transition: all 0.3s ease;
    --radius: 30px;
    --container-width: 1100px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Theme: Turquoise (Default) */
[data-theme="turquoise"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f0f9f9;
    --text-primary: #1a1a1a;
    --text-muted: #555555;
    --accent: #20b2aa;
    --accent-hover: #1b9b94;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Theme: Yellow + Black */
[data-theme="yellow"] {
    --bg-primary: #ffffff;
    --bg-secondary: #fffdf0;
    --text-primary: #000000;
    --text-muted: #333333;
    --accent: #ffcc00;
    --accent-hover: #e6b800;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Theme: Lilac + White */
[data-theme="lilac"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f4ff;
    --text-primary: #2a2235;
    --text-muted: #665c7a;
    --accent: #a288e3;
    --accent-hover: #8e74ce;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(162, 136, 227, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--accent), var(--bg-secondary));
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-tags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Hero Modifications from Image */
.hero-content {
    position: relative;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 40px;
    padding: 8px 0;
    position: relative;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    padding-bottom: 50px;
}

.edu-list {
    margin-top: 20px;
}

.edu-item {
    padding: 15px;
    border-left: 3px solid var(--accent);
    background: var(--bg-secondary);
    margin-bottom: 15px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    background: var(--card-bg);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Papers */
.paper-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.paper-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: bold;
    margin-bottom: 5px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius);
}

.stars {
    color: #ffc107;
    margin-top: 10px;
}

/* Certificates Gallery */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-card {
    background: #ffffff !important;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}


.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.cert-img-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.cert-card:hover .cert-img-wrapper {
    background: #fff;
    border-style: solid;
    border-color: var(--accent);
}

.cert-img-wrapper i {
    font-size: 3rem;
    color: var(--accent);
}

.cert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background: #20ba5a;
    color: #fff;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--accent);
}

.footer-copy {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .nav-links {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }

    .whatsapp-float span {
        display: none;
    }

    section {
        padding: 60px 0;
    }
}

/* Slider Section */
.slider-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.swiper {
    width: 100%;
    padding-bottom: 50px !important;
}

.swiper-slide {
    height: 350px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Hover Indicator */
.swiper-slide::after,
.cert-card.clickable::after {
    content: '\f00e';
    /* FontAwesome zoom-in icon code */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: rgba(32, 178, 170, 0.8);
    /* var(--accent) with opacity */
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.swiper-slide:hover::after,
.cert-card.clickable:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.swiper-slide:hover img,
.cert-card.clickable:hover img {
    transform: scale(1.05);
}



.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent) !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }
}