/* Font loaded asynchronously via preload in HTML */

:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --secondary: #B45309; /* Deep Gold/Wood */
    --accent: #B45309; /* Darkened for accessibility contrast */
    --bg-light: #FDFDFD;
    --bg-alt: #F3F4F6;
    --text-main: #111827;
    --text-muted: #4B5563;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

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

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

.btn-pulse {
    position: relative;
    z-index: 1;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: inherit;
    background-color: var(--primary);
    z-index: -1;
    animation: pulse-ripple 2s infinite;
    pointer-events: none;
}

@keyframes pulse-ripple {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.15, 1.4); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Top Banner */
.top-notice {
    background: var(--text-main);
    color: var(--accent);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.top-notice a { color: var(--white); text-decoration: underline; margin-left: 10px; }
.top-notice .close-notice { position: absolute; right: 15px; cursor: pointer; color: var(--white); }

/* Navbar */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-alt);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

header.header-scrolled {
    padding: 0.25rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

nav, .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.nav .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.nav-links .btn-primary {
    display: none; /* Desktop'ta gizli, sadece nav içindeki görünecek */
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: url('hero-bg.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--bg-alt);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

/* Features */
.features {
    background-color: var(--bg-alt);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Process Steps */
/* Process Section */
#nasil-calisiriz {
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

#nasil-calisiriz::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(209, 160, 84, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

/* Connecting lines for desktop */
@media (min-width: 1024px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 40%; left: 10%; right: 10%;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 10px, transparent 10px, transparent 20px);
        z-index: 0;
    }
}

.step-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(16, 185, 129, 0.1);
    z-index: 1;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-card i {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.step-card:hover i {
    background: var(--primary);
    color: var(--white);
    transform: rotate(10deg);
}

.step-number {
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    background: var(--text-main);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.25rem;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.step-card h3 { margin-top: 0.5rem; color: var(--text-main); font-weight: 700; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer {
    background: var(--text-main);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #9CA3AF;
}

/* Mobile Responsive */
/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    border-radius: 40px;
    margin: 40px 1.5rem;
}

.cta-section h2 { font-size: 3rem; margin-bottom: 2rem; color: #fff; }
.cta-section p { font-size: 1.25rem; margin-bottom: 3rem; opacity: 0.9; }

/* Portfolio Gallery */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Floating UI */
.whatsapp-float, .phone-float {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #fff;
}

.whatsapp-float { right: 30px; background-color: #25d366; }
.phone-float { left: 30px; background-color: var(--primary); display: none; }

.whatsapp-float:hover, .phone-float:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Mobile Sticky Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1002;
}

.mobile-action-bar a {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.m-btn-phone { background-color: var(--text-main); }
.m-btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }

/* Trust Strip */
.trust-strip {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-alt);
}

.trust-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .phone-float { display: flex; }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: 0.4s ease;
        display: flex;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active {
        left: 0;
    }
    .nav .btn-primary {
        display: none;
    }
    .nav-links .btn-primary {
        display: none; /* Gizli çünkü aşağıda sticky bar var */
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 140px 0 60px; }
    .cta-section h2 { font-size: 2rem; }
    
    /* Hide floaters, show sticky bar */
    .whatsapp-float, .phone-float { display: none !important; }
    .mobile-action-bar { display: flex; }
    
    /* Adjust body padding for sticky bar */
    body { padding-bottom: 60px; }
    
    header { top: 0 !important; } /* Simplify header on mobile */
    .top-notice { display: none; } /* Hide notice on mobile */
}

/* Google Reviews Section Enhancements */
.google-reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.google-rating-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid #E5E7EB;
}
.google-badge {
    width: 24px;
    height: 24px;
}
.google-stars {
    color: #FBBC05;
    letter-spacing: 2px;
}
.review-card {
    position: relative;
    border: 1px solid #E5E7EB;
}
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}
.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.review-source {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.8;
}
