/*
Theme Name: Aslan Karot Pro
Theme URI: https://Arslankarot.com
Author: Aslan Karot
Author URI: https://Arslankarot.com
Description: Profesyonel karot hizmetleri için modern ve kurumsal WordPress teması
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Arslan-karot
*/

/* ==== GOOGLE FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ==== ROOT VARIABLES ==== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --dark-color: #1a1a2e;
    --light-color: #f4f4f4;
    --accent-color: #ffa41b;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-small: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-large: 0 20px 60px rgba(0,0,0,0.3);
}

/* ==== GENEL STİLLER ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==== ANIMASYONLAR ==== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==== HEADER ==== */
header {
    background: var(--white);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-small);
    animation: fadeIn 0.5s ease;
}

.top-bar {
    background: var(--gradient-1);
    color: white;
    padding: 10px 0;
    font-size: 0.9em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info {
    display: flex;
    gap: 30px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-info i {
    color: var(--accent-color);
}

.header-main {
    padding: 15px 0;
    background: white;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    animation: pulse 2s infinite;
}

.logo h1 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.logo span {
    color: var(--primary-color);
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

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

nav a:hover::after {
    width: 80%;
}

.cta-button {
    background: var(--gradient-1);
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-small);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.cta-button::after {
    display: none;
}

/* ==== HERO SEKSİYONU ==== */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
                url('//www.arslankarot.com.tr/wp-content/uploads/2025/10/ArslanKarot-Arka-plan.jpg') center/cover;
    color: white;
    padding: 180px 20px 120px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s ease;
}

.hero h2 {
    font-size: 3.5em;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero h2 span {
    color: var(--accent-color);
    display: block;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.95;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.4s;
    box-shadow: var(--shadow-medium);
}

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

.btn-primary:hover {
    background: #ff8c00;
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
    animation: float 6s ease-in-out infinite;
}

/* ==== STATS BAR ==== */
.stats-bar {
    background: white;
    padding: 50px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-medium);
    border-radius: 20px;
    margin-left: 40px;
    margin-right: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item:hover .stat-number {
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.1em;
    font-weight: 500;
    color: #666;
}

.stat-item:hover .stat-label {
    color: white;
}

/* ==== HAKKIMIZDA ==== */
.about {
    padding: 120px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInUp 0.8s ease;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.section-title {
    font-size: 3em;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2em;
    color: #666;
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    font-weight: 700;
}

.about-badge .big-number {
    font-size: 3em;
    display: block;
    line-height: 1;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-small);
    transition: all 0.3s;
}

.about-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

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

.about-feature-text {
    font-weight: 600;
    color: var(--dark-color);
}

/* ==== HİZMETLER ==== */
.services {
    padding: 120px 20px;
    background: white;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-small);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: all 0.4s;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    margin-bottom: 25px;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.6em;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05em;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.service-link:hover {
    gap: 15px;
    color: var(--secondary-color);
}

/* ==== NEDEN BİZ ==== */
.why-us {
    padding: 120px 20px;
    background: var(--gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.why-us .section-subtitle {
    color: var(--accent-color);
}

.why-us .section-title {
    color: white;
}

.why-us .section-title::after {
    background: var(--accent-color);
}

.why-us .section-description {
    color: rgba(255,255,255,0.9);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.feature {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s;
}

.feature:hover {
    background: white;
    color: var(--dark-color);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

.feature h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature:hover h3 {
    color: var(--primary-color);
}

.feature p {
    opacity: 0.9;
    font-size: 1.05em;
    line-height: 1.6;
}

.feature:hover p {
    color: #666;
}

/* ==== GALERİ ==== */
.gallery {
    padding: 120px 20px;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.4s;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.gallery-overlay p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* ==== İLETİŞİM ==== */
.contact {
    padding: 120px 20px;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info-grid {
    display: grid;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    background: var(--gradient-1);
    color: white;
    border-left-color: var(--accent-color);
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    color: white;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: var(--accent-color);
    color: var(--dark-color);
}

.contact-details h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item:hover h3 {
    color: white;
}

.contact-details p {
    font-size: 1.1em;
    color: #666;
}

.contact-item:hover .contact-details p {
    color: rgba(255,255,255,0.9);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item:hover .contact-details a {
    color: var(--accent-color);
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 100%;
    min-height: 400px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

/* ==== FOOTER ==== */
footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-about p {
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

/* ==== SCROLL TO TOP ==== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: var(--shadow-medium);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

/* Scroll buton mobilde konumlandırma */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }
}

/* ==== RESPONSİVE ==== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* MOBİLDE HEADER KÜÇÜLT VE SABİTLE */
    header {
        position: fixed !important;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .top-bar {
        padding: 5px 0;
        font-size: 0.75em;
    }

    .top-bar .container {
        justify-content: center;
        padding: 0 10px;
    }

    .top-bar-info {
        flex-direction: row;
        gap: 15px;
        font-size: 0.9em;
    }

    .header-main {
        padding: 8px 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }

    .logo h1 {
        font-size: 1.1em;
    }

    .logo p {
        font-size: 0.65em;
    }

    nav ul {
        display: none; /* Menü mobilde gizli */
    }

    .hero {
        padding: 40px 20px;
        margin-top: 100px !important; /* Header için boşluk */
    }

    .hero h2 {
        font-size: 1.8em;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .section-subtitle {
        font-size: 0.85em;
    }

    .section-description {
        font-size: 1em;
    }

    .stats-bar {
        margin-left: 20px;
        margin-right: 20px;
        padding: 30px 15px;
    }

    .stats-grid,
    .services-grid,
    .features,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card,
    .feature {
        padding: 30px 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }
}

/* ==== LOADING ANIMATION ==== */
.fade-in {
    animation: fadeInUp 0.8s ease;
}
.logo .custom-logo-link { display: flex; align-items: center; } .logo .custom-logo { max-height: 60px; width: auto; }

/* ==== WHATSAPP BUTTON ==== */
.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.btn-whatsapp:hover {
    background: #128C7E !important;
    transform: translateY(-5px) scale(1.05);
}

.btn-whatsapp i {
    font-size: 1.3em;
}
