/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav a {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #FF6200;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login {
    background: #5B5FC7;
    color: #fff;
}

.btn-login:hover {
    background: #4a4ea5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 95, 199, 0.3);
}

.btn-register {
    background: #FF6200;
    color: #fff;
}

.btn-register:hover {
    background: #e55800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
}

.btn-orange {
    background: #FF6200;
    color: #fff;
}

.btn-orange:hover {
    background: #e55800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 650px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    background: #FF6200;
    padding: 20px 35px;
    border-radius: 8px;
    display: inline-block;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-piyasalar,
.section-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-piyasalar:hover,
.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.section-piyasalar h2,
.section-card h2 {
    color: #FF6200;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.piyasa-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #FF6200;
    color: #fff;
}

.tab-btn:hover {
    background: #FF6200;
    color: #fff;
}

.piyasa-table {
    overflow-x: auto;
}

.piyasa-table table {
    width: 100%;
    border-collapse: collapse;
}

.piyasa-table th,
.piyasa-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.piyasa-table th {
    font-weight: 700;
    color: #666;
    font-size: 13px;
}

.piyasa-table td {
    font-size: 14px;
}

.positive {
    color: #22c55e;
    font-weight: 600;
}

.negative {
    color: #ef4444;
    font-weight: 600;
}

.section-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.news-list {
    margin-bottom: 25px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.news-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.news-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #FF6200;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #FF6200;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        padding: 15px 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 22px;
        padding: 12px 20px;
    }
}