@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&display=swap');

/* Base */
:root {
    --color-primary: #ff4500;
    --color-secondary: #1a1a1a;
    --color-background: #0f0f0f;
    --color-text: #ffffff;
    --color-accent: #ff7a3d;
    --color-card: #1d1d1d;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

h2 {
    font-size: 2rem;
    letter-spacing: 0.1rem;
}

p {
    margin: 0 0 1.5rem 0;
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-accent);
}

/* Wrapper */
#wrapper {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-color: var(--color-background);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+CjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iIzBmMGYwZiI+PC9yZWN0Pgo8cGF0aCBkPSJNMCAwTDIwIDIwWk0yMCAwTDAgMjBaIiBzdHJva2U9IiMxYTFhMWEiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=');
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Masaüstü ve mobil görünümde sol alttaki menu yazısını ve navPanel'i gizle */
#navPanel, #navPanelToggle {
    display: none !important;
}

/* Ekstra önlem olarak tüm ilgili nav panellerini gizleyelim */
body.is-navPanel-visible #navPanel {
    display: none !important;
}

/* Orjinal temadaki nav panel davranışlarını geçersiz kılalım */
body.is-navPanel-visible #wrapper {
    opacity: 1 !important; /* Arka planı karartmayı engelleyelim */
}

/* Header ve Logo Stilleri */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(15, 15, 15, 0.95);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

/* Hamburger Menü */
#hamburger-menu {
    display: none; /* Varsayılan olarak gizli */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

#hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Menü Animasyonları */
#hamburger-menu:hover span {
    background-color: var(--color-accent);
}

#hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

#hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation */
#nav {
    background-color: rgba(26, 26, 26, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: sticky;
    top: 64px;
    width: 100%;
    z-index: 99;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav ul.links li {
    position: relative;
}

#nav ul.links li a {
    display: block;
    padding: 1rem;
    color: var(--color-text);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    transition: all var(--transition-speed) ease;
}

#nav ul.links li a:hover,
#nav ul.links li.active a {
    color: var(--color-primary);
}

#nav ul.links li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

#nav ul.links li:hover::after,
#nav ul.links li.active::after {
    width: 80%;
}

#nav ul.icons {
    display: flex;
    gap: 1rem;
}

#nav ul.icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    transition: all var(--transition-speed) ease;
}

#nav ul.icons li a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Mobil Menu Stilleri */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Başlangıçta ekranın dışında */
    width: 280px;
    height: 100vh;
    background-color: var(--color-card);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    padding: 2rem;
}

#mobile-menu.active {
    right: 0; /* Menü aktif olduğunda ekrana getirilir */
}

.mobile-menu-close {
    text-align: right;
    margin-bottom: 2rem;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-close i:hover {
    color: var(--color-primary);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 4rem);
}

.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mobile-links li {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.mobile-links li a {
    color: var(--color-text);
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 15px;
}

.mobile-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 0;
    background-color: var(--color-primary);
    transition: height 0.3s ease;
}

.mobile-links li a:hover::before,
.mobile-links li.active a::before {
    height: 80%;
}

.mobile-links li a:hover,
.mobile-links li.active a {
    color: var(--color-primary);
}

#mobile-menu.active .mobile-links li {
    opacity: 1;
    transform: translateX(0);
}

#mobile-menu.active .mobile-links li:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-links li:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.active .mobile-links li:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-links li:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.active .mobile-links li:nth-child(5) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-links li:nth-child(6) { transition-delay: 0.35s; }

.mobile-social {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.mobile-social a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Overlay Efekti */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(3px);
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

.icon.fa-instagram {
    color: #e1306c;
}

.icon.fa-whatsapp {
    color: #25D366;
}

/* Main Content */
#main {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h1, .section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-title .subtitle {
    font-size: 1.2rem;
    color: var(--color-primary);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    margin-top: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-column {
    background-color: var(--color-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-speed) ease;
}

.service-column:hover {
    transform: translateY(-10px);
}

.column-title {
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    margin: 0;
}

.service-list {
    list-style: none;
    padding: 1.5rem;
}

.service-list li {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-speed) ease;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
}

.service-content h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Service Showcase */
.service-showcase {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.logo-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--color-card);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
}

.showcase-content {
    flex: 1;
}

.showcase-content h3 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.showcase-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.cta-container {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.cta-button:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.4);
}

/* Contact CTA */
.contact-cta {
    position: relative;
    padding: 4rem 2rem;
    border-radius: 10px;
    margin-top: 5rem;
    overflow: hidden;
    background: linear-gradient(to right, rgba(255, 69, 0, 0.8), rgba(255, 122, 61, 0.8)), url('images/bmw2.jpeg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    color: white;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.contact-button.phone {
    background-color: var(--color-secondary);
}

.contact-button.whatsapp {
    background-color: #25D366;
}

.contact-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Footer */
#footer {
    background-color: var(--color-secondary);
    color: var(--color-text);
    padding: 4rem 2rem;
    position: relative;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    margin-bottom: 1rem;
}

.split.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.split.contact section {
    margin-bottom: 1.5rem;
}

.split.contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.split.contact h3 i {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.split.contact p {
    color: rgba(255, 255, 255, 0.7);
}

.icons.alt {
    display: flex;
    gap: 1rem;
}

.icons.alt li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-speed) ease;
}

.icons.alt li a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

#copyright {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    text-align: center;
}

#copyright ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

#copyright ul li {
    margin: 0 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
    z-index: 99;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.4);
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 69, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Media Queries */
@media screen and (max-width: 980px) {
    #nav {
        display: none; /* Mobil görünümde normal navbar'ı gizle */
    }
    
    #hamburger-menu {
        display: flex; /* Mobil görünümde hamburger menüyü göster */
    }
    
    .logo-showcase {
        flex-direction: column;
        text-align: center;
    }
    
    .service-column {
        margin-bottom: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Mobil görünümde footer logosunu küçült */
    .footer-logo img {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 736px) {
    #main {
        padding: 2rem 1rem;
    }
    
    .section-title h1, .section-title h2 {
        font-size: 2rem;
    }
    
    .showcase-logo {
        width: 150px;
        height: 150px;
    }
    
    #copyright ul {
        flex-direction: column;
    }

    #copyright ul li {
        margin: 0.5rem 0;
    }
}

@media screen and (max-width: 480px) {
    #intro h1 {
        font-size: 2.5rem;
    }
    
    .intro-logo {
        width: 100px;
        height: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-icon {
        margin-bottom: 1rem;
    }
    
    #mobile-menu {
        width: 250px;
    }
    
    .header-logo {
        width: 30px;
        height: 30px;
    }
    
    .logo .text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 360px) {
    #header {
        padding: 1rem;
    }
    
    .contact-button {
        width: 100%;
    }
    
    .section-title .subtitle {
        font-size: 1rem;
    }
}

/* Tablet İçin Ek Stiller */
@media screen and (min-width: 737px) and (max-width: 980px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-showcase {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .showcase-logo {
        width: 180px;
        height: 180px;
    }
}

/* Yazdırma Stilleri */
@media print {
    #header, #nav, #hamburger-menu, #mobile-menu, .contact-cta, #footer, #copyright {
        display: none !important;
    }
    
    #main {
        padding: 0;
    }
    
    .service-column {
        break-inside: avoid;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    * {
        box-shadow: none !important;
    }
}