* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(42, 41, 39);
}

html,
body {
    overflow-x: hidden;
}

#page-fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2927, #1f1e1d);
    z-index: 9999;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 1s ease;

    /* Hafif animasyonlu gradient */
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

/* Fade out sınıfı */
#page-fade.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Gradient animasyonu */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


h1 {
    font-family: 'Space Grotesk', monospace;
}

h2 {
    font-family: 'Space Grotesk', monospace;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter.woff2') format('woff2');
    font-display: swap;
}


/* Navbar genel ayarları */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    background: transparent;
    /* Başta tamamen transparan */
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
    z-index: 1000;
}

/* Kaydırılınca aktif olacak stil */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.1);
    /* Hafif transparan beyaz */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Canvas */
#navbarCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Logo */
.logo img {
    height: 120px;
    width: auto;
}

/* Linkler */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover efekti */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: hsl(0, 100%, 50%);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: hsl(0, 100%, 70%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===================== DROPDOWN ===================== */

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Menü */
.dropdown-menu {
    position: absolute;
    top: 45px;
    left: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    /* navbar.scrolled stili */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    min-width: 280px;
    padding: 10px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);

    /* Başta görünmez ama alanı korur */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    z-index: 999;
}

/* Menü linkleri */
.dropdown-menu a {
    padding: 12px 20px;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: hsl(0, 100%, 70%);
}

/* Açılma animasyonu */
.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    /* hemen göster */
}

/* Kaybolma gecikmesi */
.dropdown:not(:hover):not(.active) .dropdown-menu {
    transition-delay: 0.25s;
    /* mouse çekilince 250ms bekle */
}

/* Ok animasyonu */
.dropdown.active .arrow,
.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu a {
    text-decoration: none;
}

.dropdown-menu a:hover {
    text-decoration: none !important;
}

/* ========================= CONTACT SECTION ========================= */

#contact {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10%;
    background: #1f1e1d;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;

    /* Observer animasyonu */
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

#contact.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Canvas arka plan */
#contactCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Ana konteyner - cam efekti */
.contact-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 22px;
    padding: 50px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.25);
    transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

/* Hover parıltı efekti */
#contact.visible .contact-container:hover {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 80px rgba(255, 255, 255, 0.05);
}

/* Sol taraf - form */
.contact-form {
    flex: 1 1 450px;
}

.contact-form h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-form p {
    color: #bbb;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease, background 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: hsl(0, 100%, 60%);
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, hsl(0, 100%, 60%), hsl(0, 100%, 45%));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, hsl(0, 100%, 70%), hsl(0, 100%, 50%));
}

/* Sağ taraf - iletişim bilgileri */
.contact-info {
    flex: 1 1 350px;
}

.contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info ul li {
    margin: 12px 0;
    color: #ccc;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info ul li i {
    color: hsl(0, 100%, 60%);
    font-size: 1.2rem;
}

/* Sosyal ikonlar */
.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.6rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: hsl(0, 100%, 65%);
    transform: scale(1.2);
}

/* WhatsApp butonu */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.footer {
    background-color: #2a2927;
    color: #fff;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-brand,
.footer-services,
.footer-pages,
.footer-socials {
    flex: 1 1 220px;
}

.footer-logo {
    width: 250px;
    margin-bottom: 15px;
}

.footer-brand p {
    margin: 8px 0;
}

.footer-services h3,
.footer-pages h3,
.footer-socials h3 {
    margin-bottom: 10px;
    color: #ff4d4d;
}

.footer-services ul,
.footer-pages ul {
    list-style: none;
    padding: 0;
}

.footer-services li,
.footer-pages li {
    margin: 6px 0;
}

.footer-services a,
.footer-pages a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer-services a:hover,
.footer-pages a:hover {
    color: #ff4d4d;
    text-shadow: 0 0 6px #ff4d4d;
}

.footer-socials a {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-weight: bold;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-socials a i {
    margin-right: 8px;
    font-size: 18px;
}

/* Sosyal medya renkleri */
.footer-socials a.instagram {
    background-color: #E1306C;
}

.footer-socials a.facebook {
    background-color: #1877F2;
}

.footer-socials a.x {
    background-color: #000;
}

.footer-socials a.linkedin {
    background-color: #0A66C2;
}

.footer-socials a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px #ff4d4d;
}


.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    /* Ortaladı */
    display: flex;
    flex-direction: column;
    /* Alt alta getirir */
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* iki yazı arası boşluk */
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    color: #ccc;
}

.footer-bottom .made-by {
    font-size: 0.9rem;
    color: #ff4d4d;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-transition {
    height: 80px;
    background: linear-gradient(to bottom, #2a2927, #1f1e1d);
}

.section-transition.top-fade {
    height: 80px;
    background: linear-gradient(to top, #2a2927, #1f1e1d);
}

/* responsive */
/* === HAMBURGER BUTONU === */
.hamburger {
    position: absolute;
    right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    transition: transform 0.3s ease;
    display: none;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 4px;
    transition: all 0.4s ease;
}

/* Açıldığında X şekline dönüşsün */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === MOBİL MENÜ (TAM EKRAN OVERLAY) === */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 250, 250, 0.97);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* sola hizalı */
    justify-content: flex-start;
    padding: 100px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1000;
    overflow-y: auto;
    /* Menü içi kaydırılabilir */
}

/* Menü aktif olduğunda görünür */
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* === LOGO === */
.mobile-logo {
    width: 300px;
    margin: 0 auto 40px auto;
    display: block;
}

/* === MENÜ ELEMANLARI === */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* ince ayırıcı çizgi */
    padding: 0.9rem 0;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a,
.mobile-dropdown-toggle {
    color: #1f1e1d;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover efekti */
.mobile-menu a:hover,
.mobile-dropdown-toggle:hover {
    color: hsl(0, 100%, 70%);
    transform: translateX(4px);
}

/* Menü görünümü */
.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-left: 15px;
    padding-left: 10px;
    transition:
        max-height 0.6s ease,
        opacity 0.6s ease,
        margin-top 0.6s ease;
}

/* Açıldığında yumuşak animasyonla gelsin */
.mobile-dropdown.open .mobile-dropdown-menu {
    opacity: 1;
    max-height: 500px;
    /* yeterli alan */
    margin-top: 10px;
}



/* === RESPONSIVE === */
@media (max-width: 950px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar .logo img {
        height: 100px;
        /* logo küçülür */
    }
}

.whatsapp-fab {
    --size: 64px;
    position: fixed;
    left: 20px;
    /* solda */
    bottom: 20px;
    /* altta */
    width: var(--size);
    height: var(--size);
    display: inline-grid;
    place-items: center;
    background: linear-gradient(180deg, #25D366 0%, #1ebe57 100%);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
    will-change: transform;
    outline: none;
}

.whatsapp-fab svg {
    width: 56%;
    height: 56%;
    fill: white;
    display: block;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

/* Shake animasyonu (kısa, dikkat çekici) */
@keyframes whatsapp-shake {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    45% {
        transform: rotate(-8deg);
    }

    60% {
        transform: rotate(6deg);
    }

    75% {
        transform: rotate(-4deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Shake uygulanmış hali (JS ile .shake class'ı eklenir/çıkarılır) */
.whatsapp-fab.shake {
    animation: whatsapp-shake 850ms cubic-bezier(.36, .07, .19, .97);
}

/* Ekran küçüldüğünde boyutu biraz küçült */
@media (max-width: 480px) {
    .whatsapp-fab {
        --size: 56px;
        left: 14px;
        bottom: 14px;
    }
}

/* Tercih edenler için hareketi kapat (erişilebilirlik) */
@media (prefers-reduced-motion: reduce) {

    .whatsapp-fab,
    .whatsapp-fab.shake {
        animation: none !important;
        transition: none !important;
    }
}