/* Base & Reset */
:root {
    --bg-color: #0B0F19; /* Deep dark blue/black */
    --surface-color: #111827; /* Slightly lighter for cards */
    --surface-hover: #1F2937;
    --primary-color: #FACC15; /* Vibrant Yellow */
    --primary-hover: #EAB308;
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --glass-bg: rgba(11, 15, 25, 0.8);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary-color);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-phone:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.8);
}

.btn-secondary {
    background: #25D366; /* WhatsApp Green */
    color: #fff;
}

.btn-secondary:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(to right, rgba(11,15,25,0.9), rgba(11,15,25,0.4)), url('https://images.unsplash.com/photo-1541625907409-9fc438e788eb?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.title {
    font-size: 4.5rem;
    margin-bottom: 25px;
}

.title span {
    color: var(--primary-color);
}

.description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.align-left {
    margin: 0 0 20px 0;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--surface-hover);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(250, 204, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary-color);
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper i {
    color: #000;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    background: var(--surface-color);
}

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

.info-list {
    list-style: none;
    margin-top: 40px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(250, 204, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.info-text span, .info-text a {
    color: var(--text-secondary);
    font-size: 1rem;
}

.info-text a:hover {
    color: var(--primary-color);
}

.contact-map {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Testimonials (Google Reviews) */
.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-flex;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.google-rating .stars i {
    color: #fbbc04;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.slider-container {
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
    padding: 10px 0; /* To prevent shadow clipping */
    /* On desktop, show exactly 3 cards */
}

.slider-track {
    display: flex;
    gap: 30px;
    /* Transition is managed by JS */
}

.review-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    /* Desktop: 3 visible cards, 2 gaps (2*30=60px). Width = (100% - 60px) / 3 */
    width: calc((100% - 60px) / 3);
    flex-shrink: 0;
    white-space: normal;
}

@media (max-width: 768px) {
    .slider-track {
        flex-direction: column;
    }
    .review-card {
        width: 100%;
    }
    .slider-container {
        /* Height will be managed by JS to show exactly 3 vertical cards */
        transition: height 0.3s ease;
    }
    .slider-btn {
        display: none; /* Hide side buttons on mobile */
    }
    .slider-controls-mobile {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
}

/* Base styles for desktop hide mobile controls */
.slider-controls-mobile {
    display: none;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-btn, .slider-btn-mobile {
    background: var(--surface-color);
    color: var(--primary-color);
    border: 1px solid rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn:hover, .slider-btn-mobile:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #0f9d58; /* Google green default */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.user-info {
    flex-grow: 1;
}

.user-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.review-stars i {
    color: #fbbc04;
    font-size: 0.9rem;
}

.google-icon {
    font-size: 1.5rem;
    color: #4285f4;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* Hizmet Alanları (Area Section) */
.area-section {
    background: var(--bg-color);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.area-card {
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0; height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:hover {
    transform: translateY(-8px);
    border-color: rgba(250, 204, 21, 0.25);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.area-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.area-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.area-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* SSS / FAQ Section */
.faq-section {
    background: var(--surface-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-color);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    gap: 15px;
}

.faq-question span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-item.open .faq-question span {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 25px 22px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.98rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Footer */
footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-logo i, .footer-logo span {
    color: var(--primary-color);
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-seo-text {
    font-size: 0.8rem;
    color: #4B5563;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
    .title { font-size: 3.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified mobile nav */
    
    .nav-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .logo {
        font-size: 1.3rem;
        gap: 8px;
        flex-wrap: nowrap;
        max-width: 100%;
        justify-content: center;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .nav-phone {
        font-size: 1.05rem;
        padding: 10px 25px;
        width: 100%;
        justify-content: center;
    }

    .title { font-size: 2.8rem; }
    .subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .section { padding: 60px 0; }
}
