﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/


/*header*/

/* RESET */


body {
    font-family: Inter, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #090506;
}

.test {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
}

    .test main {
        flex: 1 0 auto;
        width: 100%;
    }

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #c8454a, #8b2c30);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.35s ease;
}

    .site-header.hide {
        transform: translateY(-100%);
    }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 18px;
}

.logo-icon {
    width: 22px;
  
    border-radius: 50%;
 
    display: inline-block;
}
    .logo-icon img {
        height: 40px;
        width: auto; 
        max-width: 160px; 
        object-fit: contain;
    }
/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;

}

    .nav a {
        color: #d8cfd2 !important;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.2s ease;
    }

        .nav a:hover {
            color: #ffb3c1 !important;
            
        }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: #d8cfd2;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

    .nav-dropdown-trigger::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 6px;
        left: 0;
        height: 2px;
        border-radius: 2px;
        background: #090506;
        opacity: .55;
        transform: scaleX(.28);
        transition: opacity .2s ease, transform .2s ease;
    }

.nav-dropdown-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    top: calc(100% + 8px);
    left: 50%;
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(25, 10, 14, .98);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

    .nav-dropdown-menu > :is(a, span) {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        border-radius: 8px;
        white-space: nowrap;
        color: #d8cfd2;
        font-size: 14px;
        line-height: normal;
        text-decoration: none;
    }

    .nav-dropdown-menu > span {
        cursor: default;
    }

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
    color: #090506;
}

    .nav-dropdown:hover .nav-dropdown-trigger::after,
    .nav-dropdown:focus-within .nav-dropdown-trigger::after {
        opacity: 1;
        transform: scaleX(1);
    }

/* CTA */
.cta-btn {
    background: #3d0303;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: rgb(219 150 168 / 35%);
}

    .cta-btn:hover {
        background: #471919;
        color: #fff;
    }


/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: 0;
    background: transparent;
}

    .hamburger span {
        width: 22px;
        height: 2px;
        background: #fff;
        transform-origin: center;
        transition: transform .3s ease, opacity .2s ease;
    }

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    padding: 20px;
}

    .mobile-menu a {
        color: #fff;
        text-decoration: none;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

.mobile-submenu {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-submenu-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    .mobile-submenu-trigger span {
        transition: transform .25s ease;
    }

.mobile-submenu-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height .45s cubic-bezier(.4, 0, .2, 1),
        opacity .3s ease,
        transform .4s ease;
}

    .mobile-submenu-content > :is(a, span) {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 16px;
        border-bottom: 0;
        color: #cbbfc3;
        font-size: 13px;
        line-height: 1.45;
        text-decoration: none;
    }

    .mobile-submenu-content > span {
        cursor: default;
    }

.mobile-submenu.open .mobile-submenu-content {
    opacity: 1;
    transform: translateY(0);
}

.mobile-submenu.open .mobile-submenu-trigger span {
    transform: rotate(180deg);
}

.mobile-cta {
    margin-top: 16px;
    background: #3d0303;
    color: #000;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav,
    .cta-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        max-height: 0;
        padding: 0 20px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition:
            max-height .5s cubic-bezier(.4, 0, .2, 1),
            padding .4s ease,
            opacity .3s ease,
            transform .4s ease,
            visibility 0s linear .5s;
    }

    .mobile-menu.active {
        max-height: calc(100vh - 72px);
        padding: 20px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition:
            max-height .5s cubic-bezier(.4, 0, .2, 1),
            padding .4s ease,
            opacity .3s ease,
            transform .4s ease,
            visibility 0s;
    }
}
/*HEADER BİTİS*/


/*FOOTER BASLANGIC*/
.site-footer {
    background: linear-gradient( 180deg, rgba(20, 8, 12, 0.95), rgba(10, 5, 7, 0.98) );
    padding: 60px 20px 0;
    color: #e6dadd;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

/* --- SOL --- */
.footer-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbbbc1;
    max-width: 320px;
}

/* --- ORTA --- */
.footer-nav h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 14px;
    color: #f2e9ec;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #d6cfd2;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-nav a:hover {
        color: #ffb3c1;
    }

/* --- SAĞ --- */
.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #cbbbc1;
}

.footer-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #b1123c, #7a0d28);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(177, 18, 60, 0.35);
}

    .footer-cta:hover {
        background: linear-gradient(135deg, #d81e5b, #9a1438);
    }

/* --- ALT BAR --- */
.footer-bottom {
    margin-top: 50px;
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: #a9989f;
    border-top: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

/*FOOTER BİTİS*/

.floating-certificates {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: clamp(205px, 15vw, 270px);
    margin: 0;
    pointer-events: none;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.45));
}

    .floating-certificates img {
        display: block;
        width: 100%;
        height: auto;
    }

@media (max-width: 768px) {
    .floating-certificates {
        right: 12px;
        bottom: 12px;
        width: 180px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .floating-certificates {
        right: 18px;
        bottom: 18px;
        width: 240px;
    }
}
