/*
 * PC Genç Custom Styles
 * Design System & UI Components
 * Version: 1.0
 */

/* ========================================
   COLOR SYSTEM
   ======================================== */
:root {
    /* Primary Blue Gradient */
    --primary-dark: #1e3a8a;
    --primary-medium: #2563eb;
    --primary-light: #3b82f6;
    --primary-lighter: #60a5fa;

    /* Accent Colors */
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;

    /* Text Colors */
    --text-dark: #1e3a8a;
    --text-primary: #333333;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;

    /* Background Colors */
    --bg-light: #f8f9fa;
    --bg-lighter: #f0f9ff;
    --bg-lightest: #e0f2fe;

    /* Spacing System */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-2xl: 40px;
    --spacing-3xl: 60px;
    --spacing-4xl: 80px;
    --spacing-5xl: 100px;

    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 15px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 15px 40px rgba(0,0,0,0.15);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-medium);
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
}

.body-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Mobile Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .lead-text {
        font-size: 1rem;
    }
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero-gradient-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: var(--spacing-5xl) 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.hero-stats-box {
    background: rgba(255,255,255,0.15);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    text-align: center;
}

.hero-stats-box .stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.hero-stats-box .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   SECTIONS
   ======================================== */
.section-padding {
    padding: var(--spacing-4xl) 0;
}

.section-bg-light {
    background: var(--bg-light);
}

.section-bg-gradient {
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-lightest) 100%);
}

/* ========================================
   CARDS
   ======================================== */
.card-primary {
    background: white;
    border-radius: var(--radius-xl);
    padding: 35px;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
    transition: all 0.3s ease;
}

.card-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary-custom {
    background: var(--primary-medium);
    color: white;
    padding: 12px 40px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    padding: 12px 40px;
    font-weight: 600;
    border: 2px solid white;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-dark);
}

.btn-lg-custom {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ========================================
   SERVICE CARDS (Homepage)
   ======================================== */
.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.breadcrumb-custom .breadcrumb-item {
    color: white;
    opacity: 0.8;
}

.breadcrumb-custom .breadcrumb-item a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    opacity: 1;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: white;
    opacity: 1;
}

/* ========================================
   PRICING BOXES
   ======================================== */
.pricing-box {
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-lightest) 100%);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
}

.price-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-medium);
    height: 100%;
}

.price-card h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.price-card .price {
    font-size: 2rem;
    color: var(--primary-medium);
    font-weight: bold;
    margin: 10px 0;
}

.price-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   CONTACT CARDS (Sidebar)
   ======================================== */
.contact-card-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    color: white;
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    padding: var(--spacing-md);
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.contact-item i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.contact-item a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

/* ========================================
   ICONS & BADGES
   ======================================== */
.icon-accent {
    color: var(--primary-medium);
}

.icon-success {
    color: var(--success-color);
}

.check-icon {
    color: var(--success-color);
    margin-right: 10px;
}

.badge-recommended {
    background: var(--primary-medium);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

/* ========================================
   LISTS
   ======================================== */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    padding: 8px 0;
    color: var(--text-secondary);
}

.custom-list li i {
    margin-right: 10px;
}

/* ========================================
   CTA SECTIONS
   ======================================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-card .rating {
    color: var(--warning-color);
    margin-bottom: var(--spacing-md);
}

.testimonial-card .author {
    display: flex;
    align-items: center;
}

.testimonial-card .avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: var(--spacing-md);
}

/* ========================================
   BRAND LOGOS
   ======================================== */
.brand-logo {
    padding: var(--spacing-lg);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.accordion-button {
    background: #f8f9fa;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: var(--radius-lg);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-lighter);
    color: var(--primary-dark);
}

.accordion-body {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   SIDEBAR WIDGETS
   ======================================== */
.sidebar-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.sidebar-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.shadow-custom-lg {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: var(--radius-xl);
}

.mb-custom {
    margin-bottom: var(--spacing-xl);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-gradient-primary {
        padding: var(--spacing-3xl) 0;
    }

    .section-padding {
        padding: var(--spacing-3xl) 0;
    }

    .card-primary {
        padding: 25px;
    }

    .service-card {
        padding: 25px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 30px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37,211,102,0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}
