/**
 * Özel Sayfa Stilleri
 * Ana Sayfa, Ürünler, Hakkında, İletişim
 * 
 * @package Karadag_Tema
 */

/* ============================================
   HERO SECTION - Ana Sayfa
   ============================================ */

.hero-section {
    background: #ffffff;
    padding: 120px 0 100px;
    text-align: center;
    width: 100%;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-align: center;
    width: 100%;
}

.hero-title .highlight {
    background: linear-gradient(120deg, #6dc04b 0%, #82cc62 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 0.2em;
    border-radius: 12px;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #6dc04b 0%, #5aa93d 100%);
    border: none;
    color: #ffffff;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 192, 75, 0.4);
    background: linear-gradient(135deg, #5aa93d 0%, #4a8f32 100%);
}

.hero-buttons .btn-secondary {
    background: #ffffff;
    color: #333e48;
    border: 2px solid #333e48;
}

.hero-buttons .btn-secondary:hover {
    background: #333e48;
    color: #ffffff;
    border-color: #333e48;
    transform: translateY(-2px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 100px 0;
    background: #fafbfc;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6dc04b 0%, #5aa93d 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(109, 192, 75, 0.1) 0%, rgba(109, 192, 75, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(109, 192, 75, 0.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-preview {
    padding: 80px 0;
    background: var(--background-light);
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.6;
}

.product-footer {
    margin-top: auto;
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #333e48 0%, #1a2228 100%);
    text-align: center;
    color: #ffffff;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(109, 192, 75, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(109, 192, 75, 0.05) 0%, transparent 50%);
    opacity: 0.5;
}

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

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-large {
    background: linear-gradient(135deg, #6dc04b 0%, #5aa93d 100%);
    color: #ffffff;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-large:hover {
    background: linear-gradient(135deg, #5aa93d 0%, #4a8f32 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(109, 192, 75, 0.4);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-color) 100%);
    color: var(--background-color);
    padding: 80px 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    width: 100%;
}

.page-header-section .page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header-section .page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
    padding: 80px 0;
    width: 100%;
    background: var(--background-color);
}

.about-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.values-section {
    padding: 80px 0;
    background: var(--background-light);
    width: 100%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-content {
    padding: 80px 0;
    width: 100%;
    background: var(--background-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.info-content a:hover {
    color: var(--primary-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-section,
    .features-section,
    .products-preview,
    .cta-section,
    .page-header-section,
    .about-content,
    .values-section,
    .contact-content {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-header-section .page-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .features-section,
    .products-preview,
    .cta-section,
    .page-header-section,
    .about-content,
    .values-section,
    .contact-content {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination-wrapper {
    margin-top: 3rem;
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    padding: 0.5rem 1rem;
    background: var(--background-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.pagination-wrapper .page-numbers a:hover,
.pagination-wrapper .page-numbers .current {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
