/* ============================================
   KK Hukuk Danışmanlık - Index Page Styles
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    --home-primary-color: #1a1a1a;
    --home-primary-dark: #0d0d0d;
    --home-primary-light: #2d2d2d;
    --home-accent-color: #d4af37;
    --home-accent-dark: #b8941f;
    --home-text-dark: #1a1a1a;
    --home-text-gray: #4a4a4a;
    --home-text-light: #6b6b6b;
    --home-bg-white: #ffffff;
    --home-bg-light: #f8f9fa;
    --home-bg-gray: #f0f2f5;
    --home-border-color: #e0e0e0;
    --home-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --home-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --home-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Hero Section Styles ========== */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
    padding: 120px 20px 60px;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.01) 2px,
            rgba(0, 0, 0, 0.01) 4px
        );
    pointer-events: none;
}

.home-hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.home-hero-content {
    text-align: center;
    color: var(--home-text-dark);
    animation: fadeInUp 1s ease-out;
}

.home-hero-logo-wrapper {
    margin-bottom: 40px;
    display: inline-block;
}

.home-hero-logo {
    height: 150px;
    width: auto;
    max-width: 100%;
    opacity: 1;
    transition: var(--home-transition);
    display: block;
    filter: none;
}

.home-hero-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.home-hero-title {
    margin: 0 0 24px 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-hero-title-main {
    display: block;
    color: var(--home-text-dark);
    margin-bottom: 8px;
}

.home-hero-title-sub {
    display: block;
    color: var(--home-accent-color);
    font-weight: 400;
    font-size: 0.85em;
}

.home-hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--home-text-gray);
    font-weight: 300;
}

.home-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--home-transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

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

.home-btn-primary:hover {
    background-color: var(--home-accent-dark);
    border-color: var(--home-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.home-btn-secondary {
    background-color: transparent;
    color: var(--home-text-dark);
    border-color: var(--home-text-dark);
}

.home-btn-secondary:hover {
    background-color: var(--home-text-dark);
    color: var(--home-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.home-btn-large {
    padding: 16px 40px;
    font-size: 0.9375rem;
}

.home-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--home-text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.home-hero-scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--home-text-light);
    position: relative;
}

.home-hero-scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--home-text-light);
    border-bottom: 2px solid var(--home-text-light);
    transform: rotate(45deg);
}

/* ========== Section Header Styles ========== */
.home-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.home-section-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--home-accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.home-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--home-text-dark);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.home-section-description {
    font-size: 1.125rem;
    color: var(--home-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== Services Section Styles ========== */
.home-services {
    padding: 100px 20px;
    background-color: var(--home-bg-white);
}

.home-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.home-service-card {
    background: var(--home-bg-white);
    border: 1px solid var(--home-border-color);
    border-radius: 12px;
    padding: 40px 32px;
    transition: var(--home-transition);
    position: relative;
    overflow: hidden;
}

.home-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--home-primary-color), var(--home-accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.home-service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--home-primary-color);
    transition: var(--home-transition);
}

.home-service-card:hover .home-service-icon {
    background: linear-gradient(135deg, var(--home-primary-color), var(--home-accent-color));
    color: var(--home-bg-white);
    transform: scale(1.1) rotate(5deg);
}

.home-service-icon svg {
    width: 32px;
    height: 32px;
}

.home-service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--home-text-dark);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.home-service-description {
    font-size: 1rem;
    color: var(--home-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ========== About Section Styles ========== */
.home-about {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--home-bg-white) 0%, var(--home-bg-light) 100%);
}

.home-about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-about-content {
    max-width: 900px;
    margin: 0 auto;
}

.home-about-text {
    text-align: center;
}

.home-about-description {
    margin: 32px 0 48px;
    text-align: left;
}

.home-about-description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--home-text-gray);
    margin: 0 0 20px 0;
}

.home-about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.home-about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--home-bg-white);
    border-radius: 8px;
    box-shadow: var(--home-shadow-sm);
    transition: var(--home-transition);
}

.home-about-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow-md);
}

.home-about-feature svg {
    width: 20px;
    height: 20px;
    color: var(--home-accent-color);
    flex-shrink: 0;
}

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

/* ========== Stats Section Styles ========== */
.home-stats {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

.home-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.home-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.home-stat-item {
    text-align: center;
    color: var(--home-bg-white);
}

.home-stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    color: var(--home-accent-color);
}

.home-stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== CTA Section Styles ========== */
.home-cta {
    padding: 100px 20px;
    background: var(--home-bg-light);
}

.home-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.home-cta-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--home-bg-white);
    border-radius: 16px;
    box-shadow: var(--home-shadow-md);
}

.home-cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--home-text-dark);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.home-cta-description {
    font-size: 1.125rem;
    color: var(--home-text-light);
    margin: 0 0 32px 0;
    line-height: 1.7;
}

/* ========== 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);
    }
}

/* ========== Responsive Styles ========== */
@media (max-width: 768px) {
    .home-hero {
        min-height: 90vh;
        padding: 100px 20px 40px;
    }

    .home-hero-logo {
        height: 120px;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-btn {
        width: 100%;
    }

    .home-services {
        padding: 60px 20px;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-about {
        padding: 60px 20px;
    }

    .home-about-features {
        grid-template-columns: 1fr;
    }

    .home-stats {
        padding: 60px 20px;
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .home-cta {
        padding: 60px 20px;
    }

    .home-cta-content {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .home-hero-logo {
        height: 100px;
    }

    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        padding: 32px 24px;
    }
}
