/**
 * Aria Creative - Components CSS
 * Butonlar, Formlar, Kartlar, Alertler ve Ortak Bileşenler
 */

/* ===== Butonlar ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    touch-action: manipulation; /* Optimize touch interactions */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

/* Mobile Button Optimization */
@media (max-width: 768px) {
    .btn {
        padding: 0.875rem 1.25rem; /* Larger touch target */
        font-size: 0.9rem;
        min-height: 44px; /* Minimum touch target size (WCAG) */
    }
    
    .btn-block {
        width: 100%;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-gray-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn span {
    font-size: 1.2rem;
}

/* ===== Page Header ===== */
.page-header {
    background: transparent !important; /* Zero-Container Policy - Completely transparent */
    color: var(--color-white);
    padding: 3rem 0 1rem; /* Reduced padding - pb-4 pt-12 - Tightened layout */
    padding-top: 10rem; /* pt-40 - Push content down below absolute navbar */
    text-align: center;
    position: relative;
    overflow: visible; /* Allow glow to show through */
    /* Removed all borders, shadows, and background gradients */
    border: none !important;
    box-shadow: none !important;
    z-index: 10; /* Above volumetric lighting */
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em; /* tracking-tight */
    line-height: 1.1; /* leading-tight */
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    position: relative;
    z-index: 1;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7; /* leading-relaxed */
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    letter-spacing: -0.02em; /* tracking-tight - Premium look */
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.1; /* leading-tight - Tight for headings */
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7; /* leading-relaxed - Comfortable for paragraphs */
}

/* ===== Cards ===== */
.card {
    background: var(--color-black);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-dark);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-gray-dark);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--color-black);
    color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Alert Messages ===== */
.alert {
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-white);
}

.alert-error {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-gray);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding-top: 8rem; /* pt-32 - Slightly less padding on mobile */
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding-top: 6rem; /* pt-24 - Further reduced for small mobile */
    }
    
    .btn {
        width: 100%;
    }
}

