/* ==============================================
   Hero Section - Modern & Animated
   ============================================== */
:root {
    --accent-color: #8b7355;
    --accent-dark: #6d5a43;
    --text-secondary: #4a5568;
    --background-color: #f8f9fa;
}

.homepage-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 1.5rem 0;
    color: var(--primary-color);
    background: #f8f9fa; /* Solid light background */
    perspective: 1000px;
    z-index: 1;
}

/* Particles.js Container */
.particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
    background: transparent;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2;
    pointer-events: none;
}

/* Hero Content */
.homepage-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 1.5rem 1rem;
    background: transparent;
    margin-top: 0;
}

/* Hero Text Styling */
.homepage-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    z-index: 5;
}

.homepage-hero-description {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 5;
}

.homepage-hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
    position: relative;
    z-index: 5;
}

/* CTA Buttons */
.cta-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.25rem 0;
}

.homepage-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    margin: 0.25rem;
}

/* Primary CTA Button */
.homepage-cta:not(.secondary) {
    background-color: var(--accent-color);
    color: white !important;
    border: 2px solid var(--accent-color);
}

.homepage-cta:not(.secondary):hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* Secondary CTA Button */
.homepage-cta.secondary {
    background-color: transparent;
    color: var(--accent-color) !important;
    border: 2px solid var(--accent-color);
}

.homepage-cta.secondary:hover {
    background-color: rgba(139, 115, 85, 0.1);
    transform: translateY(-2px);
}

/* Fix z-index for all hero content */
.homepage-hero > .container {
    position: relative;
    z-index: 10;
}

/* Hero Shape - Simplified */
.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
}

.hero-shape svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-shape svg path {
    fill: #ffffff;
    opacity: 0.9;
}

/* Content Styling */
.homepage-hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: transform 0.3s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .homepage-hero {
        min-height: auto;
        padding: 8rem 0 6rem;
    }
    
    .homepage-hero-title {
        font-size: 2.5rem;
    }
    
    .homepage-hero-description {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .homepage-hero {
        padding: 4rem 0 2rem;
        min-height: auto;
    }
    
    .homepage-hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .homepage-hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .homepage-cta {
        width: 100%;
        max-width: 280px;
        padding: 0.7rem 1.5rem;
        margin: 0.15rem 0;
    }
    
    .trust-badges .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .trust-item {
        margin: 0.25rem 0 !important;
    }
}

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

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
}

.homepage-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.homepage-hero-description {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.homepage-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white !important;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.homepage-cta.secondary {
    background-color: transparent;
    color: var(--accent-color) !important;
    border: 2px solid var(--accent-color);
    box-shadow: none;
}

.homepage-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
    background-color: var(--accent-dark);
}

.homepage-cta.secondary:hover {
    background-color: var(--accent-color);
    color: white !important;
    border-color: var(--accent-color);
}

.trust-badges {
    margin-top: 2.5rem;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.scroll-wheel {
    width: 6px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 10px;
    animation: scrollAnim 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.scroll-down-link:hover .scroll-text {
    color: var(--accent-dark);
}

@keyframes scrollAnim {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .homepage-hero {
        min-height: 90vh;
        padding: 5rem 0;
    }
    
    .particles-js {
        display: none;
    }
    
    .homepage-hero-title {
        font-size: 2.5rem;
    }
    
    .homepage-hero-description {
        font-size: 1.2rem;
    }
    
    .cta-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .homepage-cta {
        width: 100%;
        max-width: 300px;
        margin: 0.25rem 0;
    }
}

@media (max-width: 575.98px) {
    .homepage-hero {
        padding: 4rem 0;
    }
    
    .homepage-hero-title {
        font-size: 2rem;
    }
    
    .homepage-hero-description {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .trust-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Uzmanlık Alanları */
.homepage-expertise {
    padding: 3rem 0;
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2.25rem;
    line-height: 1.2;
}

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

.expertise-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--background-warm);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
    background: var(--background-color);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #ffffff;
    background: var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.expertise-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: inherit;
    line-height: 1.3;
}

.expertise-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9375rem;
    font-weight: 400;
    min-height: 4.5em;
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    position: relative;
    padding-bottom: 2px;
    font-weight: 600;
}

.expertise-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-medium);
}

.expertise-link i {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.expertise-link:hover {
    color: var(--accent-dark);
}

.expertise-link:hover::after {
    width: 100%;
    background-color: var(--accent-dark);
}

.expertise-link:hover i {
    transform: translateX(4px);
}

/* Hover effect for the card */
.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

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

/* Hover states */
.expertise-card:hover .expertise-icon {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Neden Biz Section */
.why-choose-us {
    background-color: var(--background-warm);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.05) 0%, rgba(139, 115, 85, 0.02) 100%);
    z-index: 0;
    border-radius: 30% 0 0 30%;
    transform: translateX(30%);
}

.section-badge {
    display: inline-block;
    background-color: rgba(139, 115, 85, 0.1);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-img-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-img-container:hover img {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.experience-badge .display-4 {
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-overlay {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 2rem;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    min-width: 140px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.feature-card {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 0.75rem;
}

.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.feature-icon-wrapper {
    flex-shrink: 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(139, 115, 85, 0.1);
    color: var(--accent-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--accent-color);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.text-accent {
    color: var(--accent-color) !important;
}

.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (max-width: 991.98px) {
    .why-choose-us::before {
        width: 100%;
        border-radius: 0;
        transform: none;
        opacity: 0.5;
    }
    
    .experience-badge {
        top: 1rem;
        left: 1rem;
        padding: 1rem;
    }
    
    .stats-overlay {
        position: static;
        padding: 1rem 0 0;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: calc(50% - 0.5rem);
        padding: 0.75rem;
    }
}

/* Responsive Ayarlar */
@media (max-width: 767.98px) {
    .homepage-hero {
        text-align: center;
        padding: 3rem 0;
    }
    
    .homepage-hero-title {
        font-size: 2rem;
    }
    
    .homepage-hero-description {
        font-size: 1.1rem;
    }
}
