:root {
    --primary: #3182ce;
    --accent: #3182ce;
    --text-primary: #1a202c;
    --text-secondary: #718096;
    --background: #ffffff;
    --surface: #f7fafc;
    --border: #e2e8f0;
    --success: #48bb78;
    --warning: #ed8936;
    --error: #f56565;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 140px;
}

.logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-img {
    height: 120px !important;
    min-height: 120px !important;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

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

.dropdown-item:hover {
    background: rgba(49, 130, 206, 0.05);
    color: var(--accent);
    padding-left: 25px;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Üyelik Barı */
.user-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
}

.user-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

.user-toggle i:first-child {
    font-size: 1.1rem;
}

.user-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-dropdown.active .user-toggle i:last-child {
    transform: rotate(180deg);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-menu-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.user-menu-email {
    font-size: 0.85rem;
    opacity: 0.9;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

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

.user-menu-item:hover {
    background: rgba(49, 130, 206, 0.05);
    color: var(--accent);
    padding-left: 25px;
}

.user-menu-item i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.user-menu-divider {
    height: 1px;
    background: #e9ecef;
    margin: 5px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 50px;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--surface);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-logo-img {
    height: 130px !important;
    min-height: 130px !important;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.newsletter {
    margin-top: 20px;
}

.newsletter h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        min-height: 110px;
        flex-wrap: wrap;
    }
    
    .logo-img {
        height: 90px !important;
        min-height: 90px !important;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .auth-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .user-name {
        max-width: 100px;
        font-size: 0.85rem;
    }
    
    .user-toggle {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .user-menu {
        min-width: 200px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo-img {
        height: 110px !important;
        min-height: 110px !important;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        min-height: 95px;
    }
    
    .logo-img {
        height: 60px !important;
        min-height: 60px !important;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features, .about, .contact {
        padding: 60px 0;
    }
    
    .user-name {
        display: none;
    }
    
    .user-toggle {
        padding: 6px 10px;
    }
}

/* Auth Dropdown Stilleri */
.auth-dropdown {
    display: flex;
    align-items: center;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
}

.user-dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
    color: white;
}

.user-dropdown-toggle i:first-child {
    font-size: 1.1rem;
}

.user-dropdown-toggle .user-name {
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .user-dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

.guest-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.guest-dropdown-toggle:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.guest-dropdown-toggle i:first-child {
    font-size: 1.1rem;
}

.guest-dropdown-toggle span {
    font-weight: 600;
    font-size: 0.9rem;
}

.guest-dropdown-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .guest-dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown-menu {
    min-width: 280px;
    right: 0;
    left: auto;
}

.dropdown-header {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info .user-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.user-info .user-email {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 0;
}

.logout-item {
    color: #dc3545 !important;
}

.logout-item:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

/* Guest Dropdown Menu */
.guest-dropdown-menu {
    min-width: 200px;
    right: 0;
    left: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .user-dropdown-toggle .user-name {
        display: none;
    }
    
    .user-dropdown-toggle {
        padding: 8px 12px;
    }
    
    .guest-dropdown-toggle span {
        display: none;
    }
    
    .guest-dropdown-toggle {
        padding: 8px 12px;
    }
    
    .user-dropdown-menu,
    .guest-dropdown-menu {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .user-dropdown-toggle,
    .guest-dropdown-toggle {
        padding: 6px 10px;
    }
    
    .user-dropdown-menu,
    .guest-dropdown-menu {
        min-width: 220px;
    }
}

/* Auth Dropdown Stilleri */
.auth-dropdown {
    display: flex;
    align-items: center;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
}

.user-dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
    color: white;
}

.user-dropdown-toggle i:first-child {
    font-size: 1.1rem;
}

.user-dropdown-toggle .user-name {
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .user-dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

.guest-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.guest-dropdown-toggle:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.guest-dropdown-toggle i:first-child {
    font-size: 1.1rem;
}

.guest-dropdown-toggle span {
    font-weight: 600;
    font-size: 0.9rem;
}

.guest-dropdown-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .guest-dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown-menu {
    min-width: 280px;
    right: 0;
    left: auto;
}

.dropdown-header {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info .user-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.user-info .user-email {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 0;
}

.logout-item {
    color: #dc3545 !important;
}

.logout-item:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

/* Guest Dropdown Menu */
.guest-dropdown-menu {
    min-width: 200px;
    right: 0;
    left: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .user-dropdown-toggle .user-name {
        display: none;
    }
    
    .user-dropdown-toggle {
        padding: 8px 12px;
    }
    
    .guest-dropdown-toggle span {
        display: none;
    }
    
    .guest-dropdown-toggle {
        padding: 8px 12px;
    }
    
    .user-dropdown-menu,
    .guest-dropdown-menu {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .user-dropdown-toggle,
    .guest-dropdown-toggle {
        padding: 6px 10px;
    }
    
    .user-dropdown-menu,
    .guest-dropdown-menu {
        min-width: 220px;
    }
}

/* Header Sabit Yapma */
.header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Body padding ekle - header yüksekliği kadar */
body {
    padding-top: 140px;
}

/* Responsive body padding */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 80px;
    }
}

/* Basit Dropdown Stilleri */
.user-dropdown-menu {
    min-width: 200px;
    right: 0;
    left: auto;
}

.user-dropdown-menu .dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown-menu .dropdown-item:hover {
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent);
}

.user-dropdown-menu .dropdown-item i {
    width: 16px;
    text-align: center;
}

.logout-item {
    color: #dc3545 !important;
}

.logout-item:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}
