/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #370b6a;
    --secondary-purple: #4a1580;
    --dark-purple: #2d0854;
    --light-grey: #e8e8e8;
    --medium-grey: #d8d8d8;
    --dark-grey: #8a8a8a;
    --darker-grey: #666666;
    --white: #ffffff;
    --off-white: #f8f8f8;
    --accent-purple: #370b6a;
    --accent-green: #10b759;
    --text-dark: #333333;
    --text-purple: #370b6a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #e8e8e8;
}

/* Performance optimizations */
img, svg {
    max-width: 100%;
    height: auto;
}

/* Lazy loading support */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Header */
header {
    background: #e8e8e8;
    color: var(--text-purple);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #d0d0d0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-purple);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: "▶▶";
    color: var(--primary-purple);
    font-size: 1.2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    background-color: rgba(55, 11, 106, 0.08);
    color: var(--primary-purple);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #d8d8d8 0%, #e8e8e8 100%);
    color: var(--text-dark);
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 1rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(55, 11, 106, 0.03) 50%, transparent 70%);
    pointer-events: none;
}

/* Image Gallery */
.image-gallery {
    background: linear-gradient(to top, #d8d8d8 0%, #e8e8e8 50%, #ffffff 100%);
    padding: 1.5rem 1rem;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.gallery-item {
    text-align: center;
    transition: transform 0.3s;
    padding: 1rem;
    border-radius: 8px;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item svg,
.gallery-item img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: filter 0.3s;
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.gallery-item:hover svg,
.gallery-item:hover img {
    filter: drop-shadow(0 8px 16px rgba(55, 11, 106, 0.2));
}

.gallery-item p {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 12px rgba(55, 11, 106, 0.3);
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(55, 11, 106, 0.4);
    background: #4a1580;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

section {
    background-color: var(--white);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary-purple);
}

h2 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-left: 4px solid var(--primary-purple);
    padding-left: 0.75rem;
}

h3 {
    color: var(--primary-purple);
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

h4 {
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-dark);
}

strong {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-purple);
    border-top: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(55, 11, 106, 0.15);
    border-left-color: var(--primary-purple);
}

.feature-card h3 {
    color: var(--primary-purple);
    margin-top: 0;
    border-left: 3px solid var(--primary-purple);
    padding-left: 0.8rem;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 8px;
    border-left: 3px solid var(--primary-purple);
    border-top: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.faq-item:hover {
    border-left-width: 5px;
    border-left-color: var(--primary-purple);
    box-shadow: 0 2px 8px rgba(55, 11, 106, 0.12);
}

.faq-question {
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-answer {
    color: var(--text-dark);
    line-height: 1.7;
}

/* FAQ Accordion Styles */
.faq-accordion {
    margin-top: 2rem;
}

.faq-accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-left: 3px solid var(--primary-purple);
}

.faq-accordion-button {
    width: 100%;
    padding: 1rem;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-accordion-button:hover {
    background-color: rgba(55, 11, 106, 0.05);
}

.faq-accordion-button::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    transition: transform 0.3s;
}

.faq-accordion-button.active::after {
    content: "−";
    transform: rotate(0deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-accordion-content.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.faq-accordion-answer {
    padding: 0 1rem 1rem 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Lists */
ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

li::marker {
    color: var(--primary-purple);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #a0a0a0 0%, #8a8a8a 100%);
    color: var(--white);
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    border-top: 3px solid var(--primary-purple);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links li::marker {
    content: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.footer-links a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Kurumsal footer (Hakkımızda, S.S.S, KVKK, Gizlilik, Sorumluluk Reddi) */
.footer-legal {
    margin: 0.75rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.footer-legal ul li::marker {
    content: none;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-link:hover {
    background-color: var(--primary-purple);
    color: var(--white) !important;
}

.social-links-footer a:hover {
    background-color: var(--white);
    color: var(--primary-purple) !important;
}

.footer-highlight {
    color: var(--white);
    font-weight: 700;
}

.social-links-footer {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links-footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--white);
    border-radius: 6px;
    transition: all 0.3s;
}

.footer-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.footer-contact p {
    color: var(--white);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.footer-contact p:last-of-type {
    margin-bottom: 0;
    margin-top: 0.75rem;
}

.footer-contact a {
    color: var(--white);
    text-decoration: underline;
}

.footer-domain {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Page hero banner (subpages) */
.page-hero {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-purple);
}

.page-hero h1 {
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
}

.page-hero p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    header {
        position: relative;
    }
    
    nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        max-width: 300px;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-radius: 8px;
        margin-top: 0.5rem;
        margin-right: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #e0e0e0;
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    .header-container {
        position: relative;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-item svg {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
}
