html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: #334155;
    -webkit-font-smoothing: antialiased;
    background-color: #FAF6EE;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #D4A843 0%, #F0D078 50%, #D4A843 100%);
    background-size: 200% auto;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0B1120;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.45);
    transform: translateY(-1px);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px #FAF6EE, 0 0 0 5px #D4A843;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: #D4A843;
    background: rgba(212, 168, 67, 0.15);
    color: #F0D078;
}

/* Form */
.form-input {
    width: 100%;
    border-radius: 0.75rem;
    border: 1.5px solid #E8DFD0;
    background-color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #0B1120;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: #D4A843;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.15);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0B1120;
}

.form-section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0B1120;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #D4A843, transparent) 1;
    width: 100%;
}

.form-file {
    padding: 0.625rem;
}

.form-file::file-selector-button {
    margin-right: 1rem;
    border-radius: 0.5rem;
    border: 0;
    background: #0B1120;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #F0D078;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form-file::file-selector-button:hover {
    background: #151D32;
}

/* Home page */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A843;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: "Playfair Display", Georgia, serif;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0B1120;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-divider {
    width: 4rem;
    height: 3px;
    margin: 1rem auto 2rem;
    background: linear-gradient(90deg, #D4A843, #F0D078);
    border-radius: 2px;
}

.feature-card {
    position: relative;
    border-radius: 1rem;
    background: #fff;
    padding: 1.75rem;
    border: 1px solid #F0E8D8;
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #D4A843, #F0D078);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 17, 32, 0.1);
    border-color: #D4A843;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0B1120, #151D32);
    color: #F0D078;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fff;
    padding: 2rem;
    border: 1px solid #F0E8D8;
    transition: all 0.3s;
}

.partner-card:hover {
    border-color: #D4A843;
    box-shadow: 0 8px 32px rgba(11, 17, 32, 0.08);
}

.partner-logo {
    display: block;
    margin: 0 auto;
    height: 5rem;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
}

@media (min-width: 768px) {
    .partner-logo {
        height: 6rem;
    }
}

.about-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #F0E8D8;
    box-shadow: 0 8px 32px rgba(11, 17, 32, 0.06);
}

@media (min-width: 1024px) {
    .about-card {
        padding: 3rem;
    }
}

.text-highlight {
    color: #0B1120;
    font-weight: 700;
}

.text-gold {
    color: #B8892E;
}

/* CMS content */
.content-prose {
    max-width: none;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #475569;
}

.content-prose h1,
.content-prose h2,
.content-prose h3,
.content-prose h4 {
    font-family: "Playfair Display", Georgia, serif;
    color: #0B1120;
    font-weight: 600;
    margin-top: 1.75em;
    margin-bottom: 0.5em;
}

.content-prose h1 { font-size: 2em; }
.content-prose h2 { font-size: 1.5em; }
.content-prose h3 { font-size: 1.25em; }

.content-prose p {
    margin-bottom: 1em;
}

.content-prose a {
    color: #B8892E;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 168, 67, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.content-prose a:hover {
    color: #D4A843;
    border-color: #D4A843;
}

.content-prose ul,
.content-prose ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.content-prose ul { list-style-type: disc; }
.content-prose ol { list-style-type: decimal; }

.content-prose li { margin-bottom: 0.35em; }

.content-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.content-prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    border-radius: 0.5rem;
    overflow: hidden;
}

.content-prose th,
.content-prose td {
    border: 1px solid #F0E8D8;
    padding: 0.625rem 0.875rem;
}

.content-prose th {
    background-color: #0B1120;
    color: #F0D078;
    font-weight: 600;
}

/* Page title */
.page-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0B1120;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: linear-gradient(90deg, #D4A843, #F0D078);
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .page-title {
        font-size: 2.25rem;
    }
}

/* Nav link underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #D4A843;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

/* ── Mobile Nav ── */

.mobile-hamburger-line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #D4A843;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

.mobile-nav-open .mobile-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-open .mobile-hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-open .mobile-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop — body seviyesinde, header dışında */
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(6, 10, 20, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-backdrop.is-active {
    display: block;
}

/* Panel — tam ekran, body seviyesinde */
.mobile-nav-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(165deg, #0B1120 0%, #151D32 100%);
    overflow: hidden;
}

.mobile-nav-panel.is-active {
    display: flex;
    flex-direction: column;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

.mobile-nav-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1.25rem;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-parent,
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.mobile-nav-parent:hover,
.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 67, 0.3);
}

.mobile-nav-parent.is-open {
    border-color: rgba(212, 168, 67, 0.35);
    background: rgba(212, 168, 67, 0.08);
}

.mobile-nav-index {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(212, 168, 67, 0.15);
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #F0D078;
}

.mobile-nav-label {
    flex: 1;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 500;
}

.mobile-nav-chevron,
.mobile-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    color: #D4A843;
    transition: transform 0.25s ease;
}

.mobile-nav-parent.is-open .mobile-nav-chevron {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    display: none;
    padding: 0.25rem 0 0.5rem 3.5rem;
}

.mobile-nav-submenu.is-open {
    display: block;
}

.mobile-nav-submenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-submenu a {
    display: block;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.mobile-nav-submenu a:hover {
    color: #F0D078;
    background: rgba(212, 168, 67, 0.1);
}

.mobile-nav-footer {
    flex-shrink: 0;
    padding: 1rem 1.25rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 10, 20, 0.5);
}

.mobile-nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.875rem;
    border-radius: 1rem;
    border: 1px solid rgba(212, 168, 67, 0.25);
    background: rgba(212, 168, 67, 0.08);
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #D4A843 0%, #F0D078 50%, #D4A843 100%);
    color: #0B1120;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
}

.mobile-fab-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) scale(0.9);
}

#mobile-fab {
    transition: opacity 0.3s, transform 0.3s;
}

@media (min-width: 1024px) {
    .mobile-nav-backdrop,
    .mobile-nav-panel {
        display: none !important;
    }
}


