@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 */
}

/* Animations for the Intro button */
.animate__bounce {
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.button:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.4);
}

.button.icon {
    display: flex;
    align-items: center;
}

.button.icon.solid:before {
    margin-right: 0.5rem;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Intro Section */
#intro {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%), url('images/bmw2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.intro-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
    margin-bottom: 2rem;
}

.logo-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 69, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

#intro h1 {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

#intro p {
    color: #fff;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Header */
#header {
    background-color: rgba(15, 15, 15, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    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: 1200px;
    margin: 0 auto;
}

/* Post Section */
.post {
    background-color: var(--color-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
    transition: transform var(--transition-speed) ease;
}

.post:hover {
    transform: translateY(-5px);
}

.post header {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(255,69,0,0.2), rgba(0,0,0,0.8));
}

.post .slogan {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 30px;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.post .image.main {
    max-height: 500px;
    overflow: hidden;
}

.post .image.main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post:hover .image.main img {
    transform: scale(1.05);
}

.content-section {
    padding: 2rem;
}

.subtitle {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--color-primary);
}

.text-content {
    margin-bottom: 2rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Info Cards */
.info-card {
    display: flex;
    gap: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-primary);
    transition: all var(--transition-speed) ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.info-content p {
    margin-bottom: 0;
}

/* CTA Container */
.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    transition: all var(--transition-speed) ease;
}

.cta-button.primary {
    background-color: var(--color-primary);
    color: white;
}

.cta-button.secondary {
    background-color: #25D366;
    color: white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:hover {
    background-color: var(--color-accent);
}

.cta-button.secondary:hover {
    background-color: #128C7E;
}

/* 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);
}

/* Responsive Styles */
@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 */
    }
    
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .post h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 736px) {
    #main {
        padding: 2rem 1rem;
    }

    .post {
        margin-bottom: 2rem;
    }

    .cta-container {
        flex-direction: column;
    }
    
    #copyright ul {
        flex-direction: column;
    }

    #copyright ul li {
        margin: 0.5rem 0;
    }
}

@media screen and (max-width: 480px) {
    .post h1 {
        font-size: 2rem;
    }
    
    .post .slogan {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    #header {
        padding: 1rem;
    }
    
    .header-logo {
        width: 30px;
        height: 30px;
    }
    
    .logo .text {
        font-size: 1rem;
    }
    
    #mobile-menu {
        width: 250px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}