* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #1AC8ED;
    --dark-bg: #0A0E27;
    --card-bg: #1a2847;
    --text-light: #E8E8E8;
    --text-muted: #A0A0A0;
    --success-color: #00D4AA;
}

/* Açık Tema */
body.light-theme {
    --primary-color: #FF5722;
    --secondary-color: #1976D2;
    --accent-color: #00BCD4;
    --dark-bg: #F5F5F5;
    --card-bg: #FFFFFF;
    --text-light: #212121;
    --text-muted: #616161;
    --success-color: #4CAF50;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    transition: all 0.5s ease;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.6) 0%, rgba(26, 40, 71, 0.6) 50%, rgba(13, 26, 56, 0.6) 100%);
    backdrop-filter: blur(5px);
    z-index: -1;
}

body.light-theme .background-animation::before {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.8) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(240, 240, 240, 0.8) 100%);
    backdrop-filter: blur(8px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* Header & Logo */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 20px 40px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

body.light-theme .header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    display: block;
}

.center-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.center-text .logo-text {
    margin: 0;
}

.center-text::after {
    content: 'Ağır Vasıta Yedek Parça';
    font-size: 10px;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-highlight {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
    background: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logo:hover i {
    transform: scale(1.2);
}

/* Tema Toggle Butonu */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(26, 200, 237, 0.2));
    color: var(--accent-color);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    transform: scale(1.15) rotate(20deg);
    box-shadow: 0 10px 30px rgba(26, 200, 237, 0.4);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(26, 200, 237, 0.3));
}

.theme-btn:active {
    transform: scale(0.95);
}

body.light-theme .theme-btn {
    border-color: #1976D2;
    color: #1976D2;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(0, 188, 212, 0.1));
}

body.light-theme .theme-btn:hover {
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(0, 188, 212, 0.2));
}

/* Main Container */
.container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    position: relative;
}

.contact-section {
    width: 100%;
    max-width: 900px;
}

.content-wrapper {
    background: rgba(26, 40, 71, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(26, 200, 237, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.8s ease-out;
    overflow-y: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: calc(100vw - 40px);
}

body.light-theme .content-wrapper {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(0, 188, 212, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.content-wrapper::-webkit-scrollbar {
    width: 6px;
}

.content-wrapper::-webkit-scrollbar-track {
    background: rgba(26, 200, 237, 0.1);
    border-radius: 10px;
}

.content-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B35, #1AC8ED);
    border-radius: 10px;
}

.content-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1AC8ED, #FF6B35);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Content */
.header-content {
    text-align: center;
    margin-bottom: 30px;
    display: none;
}

/* Contact Content Wrapper */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
}

/* Contact Content */
.intro-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 300;
    display: none;
}

.contact-grid {
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
    width: 100%;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(26, 200, 237, 0.1));
    border: 1px solid rgba(26, 200, 237, 0.3);
    border-radius: 15px;
    padding: 12px 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex: 1 1 calc(25% - 18px);
    min-width: 80px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(26, 200, 237, 0.2));
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 200, 237, 0.2);
}

body.light-theme .contact-card {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.08), rgba(0, 188, 212, 0.08));
    border: 1px solid rgba(0, 188, 212, 0.2);
}

body.light-theme .contact-card:hover {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(0, 188, 212, 0.15));
    border-color: #00BCD4;
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.15);
}

.icon-wrapper {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover .icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(26, 200, 237, 0.4);
}

.contact-card h3 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 400;
}

/* Çalışma Saatleri */
.working-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.hours-group {
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(26, 200, 237, 0.1));
    transition: all 0.3s ease;
}

.contact-card:hover .hours-group {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(26, 200, 237, 0.2));
}

.hours-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.hours-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 200, 237, 0.3), transparent);
    margin: 4px 0;
}

body.light-theme .hours-group {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.08), rgba(0, 188, 212, 0.08));
}

body.light-theme .contact-card:hover .hours-group {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(0, 188, 212, 0.15));
}

/* Social Section - Header Tarzı */
.social-section {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(26, 200, 237, 0.08));
    border: 1px solid rgba(26, 200, 237, 0.3);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.social-section:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(26, 200, 237, 0.12));
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(26, 200, 237, 0.2);
}

.social-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-section h3::before {
    content: '🔗';
    font-size: 18px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(26, 200, 237, 0.15));
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.4s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(26, 200, 237, 0.4);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877F2, #0A66C2);
    border-color: #1877F2;
}

.social-link.twitter:hover {
    background: linear-gradient(135deg, #1DA1F2, #1a8cd8);
    border-color: #1DA1F2;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #E4405F, #FD1D1D);
    border-color: #E4405F;
}

.social-link.linkedin:hover {
    background: linear-gradient(135deg, #0077B5, #004085);
    border-color: #0077B5;
}

/* Açık tema için sosyal section */
body.light-theme .social-section {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.08), rgba(0, 188, 212, 0.08));
    border: 1px solid rgba(0, 188, 212, 0.2);
}

body.light-theme .social-section:hover {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(0, 188, 212, 0.15));
    border-color: #00BCD4;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.15);
}

body.light-theme .social-link {
    border-color: #00BCD4;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(0, 188, 212, 0.1));
}

/* Footer */
.footer {
    position: fixed;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 8px 20px;
    color: var(--text-muted);
    font-size: 11px;
    border-top: none;
    background: transparent;
    z-index: 100;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-card {
        flex: 1 1 180px;
        max-width: 220px;
    }
    
    .social-section {
        flex: 1 1 180px;
        max-width: 220px;
    }

    .content-wrapper {
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 15px;
    }

    .logo {
        font-size: 16px;
    }

    .logo i {
        font-size: 20px;
    }

    .container {
        padding: 10px;
        height: 100vh;
    }

    .content-wrapper {
        padding: 20px 10px;
        border-radius: 15px;
        max-width: 100vw;
    }

    .contact-grid {
        gap: 12px;
        padding: 0 10px;
    }

    .contact-card {
        flex: 1 1 150px;
        min-width: 140px;
        max-width: 200px;
        min-height: 240px;
        padding: 12px 10px;
    }

    .contact-card h3 {
        font-size: 13px;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .social-section {
        flex: 1 1 150px;
        min-width: 140px;
        max-width: 200px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 15px;
    }

    .social-section h3 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .footer {
        font-size: 9px;
        padding: 5px 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
    }

    .logo {
        font-size: 14px;
        gap: 4px;
    }

    .logo i {
        font-size: 18px;
    }

    .theme-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .container {
        padding: 8px;
    }

    .content-wrapper {
        padding: 15px 8px;
    }

    .contact-grid {
        gap: 10px;
        padding: 0;
    }

    .contact-card {
        flex: 1 1 calc(25% - 18px);
        min-width: 70px;
        min-height: 200px;
        padding: 10px 8px;
        font-size: 12px;
    }

    .contact-card h3 {
        font-size: 12px;
        margin: 5px 0;
    }

    .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin: 0 auto 5px;
    }

    .social-section {
        flex: 1 1 120px;
        min-width: 110px;
        max-width: 160px;
        margin-left: 8px;
        margin-right: 8px;
        padding: 12px;
        gap: 10px;
    }

    .social-section h3 {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer {
        font-size: 8px;
        padding: 4px 8px;
        bottom: 8px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 15px;
    }

    .logo {
        font-size: 16px;
        gap: 6px;
    }

    .logo i {
        font-size: 20px;
    }

    .container {
        padding: 15px 10px;
        margin-top: 50px;
    }

    .content-wrapper {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 14px;
    }

    .header-content {
        margin-bottom: 30px;
    }

    .intro-text {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .contact-grid {
        gap: 12px;
    }

    .contact-card {
        flex: 1 1 calc(25% - 18px);
        min-width: 60px;
        min-height: 180px;
        padding: 8px 6px;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .contact-card h3 {
        font-size: 14px;
    }
}
