/* ==========================================
   ARKEL HUKUK - Modern Web Design
   ========================================== */

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2B2859;
    --secondary-color: #d4af37;
    --accent-color: #3d3566;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #2B2859 0%, #3d3566 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 44px;
}

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

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

ul {
    list-style: none;
}

section {
    overflow: hidden;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: var(--light-bg);
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(135deg, #3d3566 0%, #2B2859 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-item:hover {
    color: var(--secondary-color);
}

.top-bar-item i {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(43, 40, 89, 0.75) 0%, rgba(43, 40, 89, 0.65) 50%, rgba(43, 40, 89, 0.4) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 2px solid rgba(199, 146, 70, 0.3);
    padding: 12px 0;
}

.navbar.scrolled {
    top: 0;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, rgba(43, 40, 89, 0.98) 0%, rgba(43, 40, 89, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid rgba(199, 146, 70, 0.4);
}

.btn-contact-header {
    background: linear-gradient(135deg, var(--secondary-color), #c4a137);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-contact-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5), 0 3px 12px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

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

.logo a:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 80px;
    width: 210px;
    object-fit: contain;
    transition: var(--transition);
}

.logo a:hover img {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.nav-menu > ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.dropdown-menu ul {
    display: block;
}

.nav-menu a {
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 252, 0.98));
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 2px solid rgba(199, 146, 70, 0.2);
    padding: 15px 0;
    min-width: 250px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    width: 100%;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.08);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2B2859 0%, #3d3566 100%);
    background-image: 
        linear-gradient(135deg, rgba(43, 40, 89, 0.85) 0%, rgba(61, 53, 102, 0.88) 100%),
        url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&h=1080&fit=crop&q=80');
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
    margin-top: 124px;
    overflow: hidden;
    animation: heroZoom 10s ease-in-out infinite alternate, heroFloat 8s ease-in-out infinite;
}

.hero-label {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 70% 50%, rgba(199, 146, 70, 0.18) 0%, transparent 60%);
    animation: pulseGlow 6s ease-in-out infinite, rotateSlow 20s linear infinite;
    pointer-events: none;
    transform-origin: center center;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1) rotateX(0deg) rotateY(0deg);
    }
    25% {
        opacity: 0.7;
        transform: scale(1.15) rotateX(5deg) rotateY(5deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3) rotateX(0deg) rotateY(10deg);
    }
    75% {
        opacity: 0.7;
        transform: scale(1.15) rotateX(-5deg) rotateY(5deg);
    }
}

@keyframes rotateSlow {
    0% {
        transform: rotate(0deg) translateY(0);
    }
    25% {
        transform: rotate(90deg) translateY(-20px);
    }
    50% {
        transform: rotate(180deg) translateY(0);
    }
    75% {
        transform: rotate(270deg) translateY(20px);
    }
    100% {
        transform: rotate(360deg) translateY(0);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons .btn {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #c29d2d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

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

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

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

.btn-white:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ==================== STATS SECTION ==================== */
.stats {
    background: var(--white);
    padding: 80px 0;
    margin-top: -80px;
    position: relative;
    z-index: 3;
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2,
.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ==================== SERVICES SECTION ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #c29d2d);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-link:hover {
    gap: 15px;
}

/* ==================== ABOUT PREVIEW ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.2;
}

.about-content {
    padding: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.check-list i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: var(--gradient);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ==================== BLOG SECTION ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.read-more:hover {
    gap: 15px;
}

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

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

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

.footer-logo img {
    height: 65px;
    width: 180px;
    object-fit: contain;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info i {
    color: var(--secondary-color);
    min-width: 20px;
}

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

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Parallax Effect - Smooth Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
    .hero {
        animation: heroZoom 20s ease-in-out infinite alternate;
    }
}

@keyframes heroZoom {
    0% {
        background-size: 100%;
    }
    50% {
        background-size: 130%;
    }
    100% {
        background-size: 100%;
    }
}

@keyframes heroFloat {
    0% {
        background-position: 50% 45%;
    }
    25% {
        background-position: 45% 50%;
    }
    50% {
        background-position: 50% 55%;
    }
    75% {
        background-position: 55% 50%;
    }
    100% {
        background-position: 50% 45%;
    }
}

/* Hero Particles Animation */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(199, 146, 70, 0.2) 50%, transparent 100%);
    animation: float 16s ease-in-out infinite, shimmerEffect 6s ease-in-out infinite;
    box-shadow: 0 0 100px rgba(212, 175, 55, 0.5), inset 0 0 50px rgba(255, 255, 255, 0.2);
    filter: blur(35px);
    transform-style: preserve-3d;
}

.hero-particles::before {
    width: 380px;
    height: 380px;
    top: 10%;
    left: 5%;
    animation-duration: 18s, 7s;
    animation-delay: 0s;
}

.hero-particles::after {
    width: 480px;
    height: 480px;
    bottom: 12%;
    right: 5%;
    animation-duration: 20s, 8s;
    animation-delay: -4s;
}

@keyframes float {
    0% {
        transform: translate(0, -30px) scale(1) rotate(0deg) rotateY(0deg);
        opacity: 0.25;
    }
    20% {
        transform: translate(60px, -80px) scale(1.2) rotate(72deg) rotateY(10deg);
        opacity: 0.45;
    }
    40% {
        transform: translate(-30px, 20px) scale(0.85) rotate(144deg) rotateY(-10deg);
        opacity: 0.3;
    }
    60% {
        transform: translate(40px, 80px) scale(1.15) rotate(216deg) rotateY(10deg);
        opacity: 0.4;
    }
    80% {
        transform: translate(-50px, -20px) scale(0.95) rotate(288deg) rotateY(-10deg);
        opacity: 0.35;
    }
    100% {
        transform: translate(0, -30px) scale(1) rotate(360deg) rotateY(0deg);
        opacity: 0.25;
    }
}

@keyframes shimmerEffect {
    0% {
        filter: brightness(1) blur(30px) hue-rotate(0deg);
    }
    25% {
        filter: brightness(1.6) blur(45px) hue-rotate(15deg);
    }
    50% {
        filter: brightness(0.9) blur(35px) hue-rotate(-10deg);
    }
    75% {
        filter: brightness(1.4) blur(40px) hue-rotate(10deg);
    }
    100% {
        filter: brightness(1) blur(30px) hue-rotate(0deg);
    }
}

/* AOS Animation Fallback */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    
    .top-bar {
        display: none;
    }
    
    .navbar {
        top: 0;
        padding: 10px 0;
    }
    
    .nav-wrapper {
        padding: 8px 0;
    }
    
    .logo img {
        height: 58px;
        width: 155px;
    }
    
    .btn-contact-header {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
        padding: 30px;
        box-shadow: var(--shadow);
    }
    
    .hero {
        margin-top: 80px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 150px 0 100px;
        background-attachment: scroll;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-particles::before,
    .hero-particles::after {
        width: 200px;
        height: 200px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-header h2,
    .about-content h2 {
        font-size: 2rem;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 52px;
        width: 140px;
    }
    
    .footer-logo img {
        height: 58px;
        width: 155px;
    }
    
    .hero-label {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        bottom: 90px;
        right: 20px;
    }
    
    body.blog-detail-page .whatsapp-float {
        bottom: 170px;
    }
}

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

/* Blog detay sayfalarında WhatsApp butonunu daha yukarı al */
body.blog-detail-page .whatsapp-float {
    bottom: 180px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 25px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    color: #fff;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip for WhatsApp button */
.whatsapp-float::before {
    content: "Bize WhatsApp'tan Ulaşın";
    position: absolute;
    right: 70px;
    background-color: #2B2859;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 80px;
        right: 15px;
    }
    
    body.blog-detail-page .whatsapp-float {
        bottom: 160px;
    }
    
    .whatsapp-float::before {
        display: none;
    }
}

