:root {
    --primary: #1a3a52;
    --primary-light: #2c5aa0;
    --secondary: #f39c12;
    --accent: #3498db;
    --success: #27ae60;
    --error: #e74c3c;
    --bg: #f8f9fa;
    --card: #ffffff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #ecf0f1;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body { 
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; 
    background-color: var(--bg); 
    color: var(--text); 
    line-height: 1.6; 
}

/* Header & Navigation */
.header { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); 
    color: white; 
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
    justify-content: space-between;
}

.header-content i { 
    font-size: 36px; 
    background: rgba(255, 255, 255, 0.15); 
    padding: 12px; 
    border-radius: 10px; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: white;
}

.logo i {
    font-size: 24px;
    background: rgba(255,255,255,0.15);
    padding: 8px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link { 
    color: rgba(255,255,255,0.9); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
}

.nav-link i {
    font-size: 16px;
    padding: 0;
    background: transparent;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.nav-link.active {
    color: white;
    background: var(--secondary);
    border-bottom: none;
    padding-bottom: 8px;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.9) 0%, rgba(44, 90, 160, 0.9) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: slideDown 0.8s ease;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: slideUp 0.8s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Main Content */
.main-content { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 40px; 
    align-items: start; 
    padding: 40px 0; 
}

/* Services Section */
.services-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 46px; /* 30px + 16px = 46px, yaklaşık 1cm boşluk */
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--secondary);
    font-size: 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--card);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.service-card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* Form Section */
.form-container { 
    background: var(--card); 
    border-radius: 12px; 
    padding: 36px; 
    box-shadow: var(--shadow-md); 
    border: 1px solid var(--border);
}

.form-title {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-title i {
    color: var(--secondary);
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group { 
    margin-bottom: 20px; 
    display: flex; 
    flex-direction: column; 
}

.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group label { 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: var(--primary); 
    font-size: 14px; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

.form-group label i {
    color: var(--secondary);
    font-size: 16px;
}

.form-group input, 
.form-group select, 
.form-group textarea { 
    padding: 12px 16px; 
    border: 1px solid var(--border); 
    border-radius: 8px; 
    font-family: inherit; 
    font-size: 14px; 
    transition: all 0.3s ease; 
    background-color: #fafbfc;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus { 
    outline: none; 
    border-color: var(--primary-light); 
    background-color: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); 
    color: white; 
    border: none; 
    padding: 14px 28px; 
    font-size: 16px; 
    font-weight: 600; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    width: 100%; 
    justify-content: center; 
    margin-top: 10px; 
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i { 
    font-size: 18px; 
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.info-card { 
    background: var(--card); 
    border-radius: 12px; 
    padding: 24px; 
    margin-bottom: 20px; 
    box-shadow: var(--shadow); 
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-card i { 
    font-size: 32px; 
    color: var(--secondary); 
    margin-bottom: 12px;
    display: block;
}

.info-card h3 { 
    color: var(--primary); 
    margin-bottom: 8px; 
    font-size: 16px;
}

.info-card p { 
    color: var(--text-light); 
    font-size: 14px; 
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 0;
    margin-top: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
}

.testimonial-stars {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 16px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author::before {
    content: '—';
    margin-right: 8px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Footer */
.footer { 
    background: var(--primary); 
    color: white; 
    padding: 40px 0; 
    margin-top: 60px; 
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success i,
.alert-error i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content { 
        grid-template-columns: 1fr; 
    }
    
    .sidebar {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 100px;
    }

    .header-content {
        flex-direction: column;
        gap: 4px;
        padding: 4px 0;
    }
    
    .nav-menu {
        flex-direction: row;
        gap: 4px;
        width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 0 2px;
    }

    .nav-link {
        font-size: 10px;
        padding: 6px 2px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
    
    .nav-link i {
        font-size: 16px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .main-content {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .form-container {
        padding: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Loading & Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-30 {
    margin-bottom: 30px;
}

.opacity-80 {
    opacity: 0.8;
}

/* Hero Button */
.btn-hero {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    background-color: #e67e22;
}

/* Shrink Header Styles */
.header {
    transition: all 0.3s ease;
}

.header.shrink {
    padding: 10px 0;
    background: rgba(26, 58, 82, 0.95);
}

.header.shrink .logo {
    font-size: 20px;
}

.header.shrink .logo i {
    font-size: 24px;
    padding: 6px;
}

/* Mobile specific shrink behavior */
@media (max-width: 768px) {
    .header.shrink .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 10px;
        gap: 10px;
    }

    .header.shrink .nav-menu {
        flex-direction: row;
        gap: 15px;
        width: auto;
        margin: 0;
    }

    .header.shrink .nav-link span {
        display: none;
    }
    
    .header.shrink .nav-link i {
        font-size: 20px;
        margin: 0;
    }
    
    .header.shrink .logo span {
        display: none;
    }
    
    .header.shrink .logo i {
        margin: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.back-to-top i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
