* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0d0d0d;
    color: white;
    overflow-x: hidden;
}

/* NAVBAR */

.navbar {
    width: 100%;
    min-height: 92px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    background: rgba(13, 13, 13, 0.72);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* MARKA */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    color: white;
    text-decoration: none;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    color: #ddb42c;
    font-size: 20px;
    letter-spacing: 2px;
}

.brand-text span {
    margin-top: 4px;

    color: #bdbdbd;
    font-size: 12px;
    letter-spacing: 1px;
}

/* MENÜ */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a {
    position: relative;

    color: white;
    text-decoration: none;
    font-size: 16px;

    padding: 8px 0;

    transition: color 0.25s ease;
}

.nav-links > a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background-color: #ddb42c;

    transition: width 0.25s ease;
}

.nav-links > a:hover {
    color: #ddb42c;
}

.nav-links > a:hover::after {
    width: 100%;
}

/* DİL SEÇİCİ */

.language-selector {
    position: relative;
}

.language-button {
    min-width: 88px;
    padding: 9px 13px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: white;
    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(221, 180, 44, 0.42);
    border-radius: 8px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.language-button:hover {
    color: #ddb42c;
    border-color: #ddb42c;
    background: rgba(221, 180, 44, 0.08);
}

.language-arrow {
    font-size: 14px;

    transition: transform 0.25s ease;
}

.language-selector.active .language-arrow {
    transform: rotate(180deg);
}

.language-menu {
    width: 155px;
    padding: 8px;

    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 4px;

    background: rgba(12, 12, 12, 0.94);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(221, 180, 44, 0.25);
    border-radius: 10px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.language-selector.active .language-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.language-menu button {
    width: 100%;
    padding: 10px 12px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    background: transparent;

    border: none;
    border-radius: 7px;

    font-size: 14px;
    text-align: left;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.language-menu button:hover {
    color: #ddb42c;
    background: rgba(221, 180, 44, 0.09);
}

/* HERO */

.hero {
    min-height: 100vh;
    padding: 150px 8% 80px;

    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.84) 38%,
            rgba(0, 0, 0, 0.38) 68%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        url("./images/hero.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 780px;

    animation: fadeUp 0.9s ease forwards;
}

.hero-label {
    margin-bottom: 20px;

    color: #ddb42c;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero h1 {
    color: #ddb42c;

    font-size: clamp(54px, 7vw, 92px);
    line-height: 1.03;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(0, 0, 0, 0.6);
}

.hero-description {
    max-width: 700px;
    margin-top: 28px;

    color: #d0d0d0;

    font-size: 21px;
    line-height: 1.6;

    text-shadow: 0 3px 14px rgba(0, 0, 0, 1);
}

.hero-buttons {
    margin-top: 38px;

    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.primary-button,
.secondary-button {
    display: inline-block;

    padding: 15px 28px;

    border-radius: 5px;

    text-decoration: none;
    font-size: 16px;
    font-weight: bold;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.primary-button {
    color: #111;
    background-color: #ddb42c;

    box-shadow: 0 8px 25px rgba(221, 180, 44, 0.18);
}

.primary-button:hover {
    transform: translateY(-4px) scale(1.03);

    background-color: #f0c83d;

    box-shadow: 0 12px 35px rgba(221, 180, 44, 0.42);
}

.secondary-button {
    color: white;

    background-color: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.45);
}

.secondary-button:hover {
    color: #ddb42c;

    border-color: #ddb42c;

    transform: translateY(-4px);
}

/* ARAPÇA RTL */

html[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .brand {
    flex-direction: row-reverse;
}

html[dir="rtl"] .brand-text {
    text-align: right;
}

html[dir="rtl"] .hero {
    justify-content: flex-start;

    background-image:
        linear-gradient(
            270deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.84) 38%,
            rgba(0, 0, 0, 0.38) 68%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        url("./images/hero.png");
}

html[dir="rtl"] .hero-content {
    margin-left: auto;
    text-align: right;
}

html[dir="rtl"] .hero-description {
    margin-left: auto;
}

html[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] .language-menu button {
    text-align: right;
}

/* AÇILIŞ ANİMASYONU */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (max-width: 1000px) {
    .navbar {
        padding: 0 4%;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links > a {
        font-size: 14px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .hero {
        padding-left: 7%;
        padding-right: 7%;
    }
}

/* TELEFON */

@media (max-width: 850px) {
    .navbar {
        position: relative;

        padding: 18px 5%;

        flex-direction: column;

        gap: 18px;
    }

    html[dir="rtl"] .navbar {
        flex-direction: column;
    }

    .nav-links,
    html[dir="rtl"] .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row;

        gap: 18px;
    }

    .language-menu,
    html[dir="rtl"] .language-menu {
        right: 50%;
        left: auto;

        transform: translate(50%, -10px);
    }

    .language-selector.active .language-menu {
        transform: translate(50%, 0);
    }

    .hero {
        min-height: calc(100vh - 150px);

        padding: 70px 7%;

        background-position: 65% center;
    }

    .hero-description {
        font-size: 18px;
    }
}

@media (max-width: 520px) {
    .brand img {
        width: 50px;
        height: 50px;
    }

    .brand-text strong {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .brand-text span {
        font-size: 10px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links > a {
        font-size: 13px;
    }

    .hero {
        padding: 55px 6%;

        background-position: 62% center;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-label {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-button,
    .secondary-button {
        text-align: center;
    }
}

/* CONTACT */

.contact-section {
    padding: 110px 7%;
    background:
        radial-gradient(
            circle at top right,
            rgba(226, 183, 27, 0.12),
            transparent 35%
        ),
        #0b0b0b;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.contact-label {
    color: #e2b71b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.contact-container h2 {
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-description {
    color: #bcbcbc;
    font-size: 17px;
    margin-bottom: 55px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* DÖNEN KART */

.flip-card {
    height: 240px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;

    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 30px;

    border-radius: 20px;
    border: 1px solid rgba(226, 183, 27, 0.22);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-front {
    background: #171717;
}

.flip-card-back {
    background:
        linear-gradient(
            145deg,
            #211b08,
            #111111
        );

    transform: rotateY(180deg);
}

.contact-icon {
    width: 62px;
    height: 62px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 20px;

    border-radius: 50%;
    border: 1px solid rgba(226, 183, 27, 0.45);

    color: #e2b71b;
    font-size: 27px;
}

.flip-card h3 {
    color: #e2b71b;
    font-size: 23px;
    margin-bottom: 12px;
}

.flip-card-front p {
    color: #9f9f9f;
    font-size: 14px;
}

.flip-card-back p,
.flip-card-back a {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.6;
    text-decoration: none;
}

.flip-card-back a:hover {
    color: #e2b71b;
}

.flip-card:hover .flip-card-front {
    border-color: #e2b71b;

    box-shadow:
        0 18px 45px
        rgba(226, 183, 27, 0.14);
}


/* TABLET VE TELEFON */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: auto;
    }

    .contact-container h2 {
        font-size: 38px;
    }

}

html {
    scroll-behavior: smooth;
}
/* ===========================
   iPhone Portrait (Dikey)
=========================== */

@media only screen
and (max-width: 767px)
and (orientation: portrait) {

    .hero{
        min-height:100vh;
        padding:100px 25px 60px;
        text-align:center;
    }

    .hero h1{
        font-size:2.2rem;
        line-height:1.2;
    }

    .hero p{
        font-size:1rem;
        margin-top:20px;
    }

    .hero-buttons{
        flex-direction:column;
        gap:15px;
        align-items:center;
    }

    .hero-buttons a{
        width:100%;
        max-width:260px;
    }

    .contact-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .contact-card{
        width:100%;
    }

    .section-title{
        font-size:2rem;
    }

}

/* ===========================
   iPhone Landscape (Yatay)
=========================== */

@media only screen
and (max-width: 932px)
and (orientation: landscape) {

    .hero{
        min-height:100vh;
        padding:80px 40px;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero p{
        font-size:1rem;
        max-width:600px;
    }

    .hero-buttons{
        flex-direction:row;
        justify-content:center;
        flex-wrap:wrap;
    }

    .contact-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
/* ==========================================
   WHATSAPP HIZLI TEKLİF BUTONU
========================================== */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;

    width: 58px;
    height: 58px;
    padding: 0 16px;

    overflow: hidden;

    color: #07110a;

    background:
        linear-gradient(
            135deg,
            #d8b45f,
            #f0cf7a
        );

    border:
        1px solid rgba(255, 255, 255, 0.2);

    border-radius: 999px;

    text-decoration: none;

    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.42),
        0 0 24px rgba(216, 180, 95, 0.2);

    transition:
        width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Mouse üzerine gelince genişlesin */

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    width: 205px;

    color: #07110a;

    transform: translateY(-4px);

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.5),
        0 0 34px rgba(240, 207, 122, 0.3);
}


/* Gerçek WhatsApp logosu */

.whatsapp-float-icon {
    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;
}

.whatsapp-float-icon img {
    display: block;

    width: 28px;
    height: 28px;

    object-fit: contain;
}


/* Yazı başlangıçta gizli */

.whatsapp-float-text {
    white-space: nowrap;

    opacity: 0;
    transform: translateX(10px);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;

    transition:
        opacity 0.25s ease 0.08s,
        transform 0.35s ease 0.08s;
}


/* Hover olunca yazı açılsın */

.whatsapp-float:hover .whatsapp-float-text,
.whatsapp-float:focus-visible .whatsapp-float-text {
    opacity: 1;
    transform: translateX(0);
}


/* Mobilde yalnızca logo */

@media (max-width: 768px) {

    .whatsapp-float,
    .whatsapp-float:hover,
    .whatsapp-float:focus-visible {
        right: 14px;
        bottom: 16px;

        width: 54px;
        height: 54px;
        padding: 0 13px;

        transform: none;
    }

    .whatsapp-float-text {
        display: none;
    }

    .whatsapp-float-icon,
    .whatsapp-float-icon img {
        width: 27px;
        height: 27px;
    }
}