:root {
    --primary-color: #162f2a;
    --secondary-color: #aea994;
    --tertiary-color: #e6e6e6;
    --accent-gold: #c9a961;
    --light-beige: #f8f6f0;
    --white: #ffffff;
    --text-dark: #2a2a2a;
    --text-gray: #666666;
    --shadow-light: rgba(22, 47, 42, 0.1);
    --shadow-dark: rgba(22, 47, 42, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* yatay scrollbar’ı kesin kapat */
@supports not (overflow-x: clip) {

    html,
    body {
        overflow-x: hidden;
    }

    /* eski tarayıcı için yedek */
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--tertiary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    border: 2px solid var(--tertiary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Text Selection */
::selection {
    background: var(--accent-gold);
    color: var(--primary-color);
}

::-moz-selection {
    background: var(--accent-gold);
    color: var(--primary-color);
}

/* Splash Screen container */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: splashFadeOut 0.2s ease-out 0.6s forwards;
}

.splash-content {
    position: relative;
    width: 300px;
    height: 300px;
}

.splash-line {
    position: absolute;
    background: var(--accent-gold);
    transform-origin: center;
}

.splash-line-1 {
    top: 50%;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: lineExpand 0.2s ease-out forwards;
}

.splash-line-2 {
    top: 50%;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: lineExpand 0.2s ease-out forwards;
}

.splash-line-3 {
    top: 50%;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translate(-50%, -50%) rotate(135deg);
    animation: lineExpand 0.2s ease-out forwards;
}

.splash-line-4 {
    top: 50%;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translate(-50%, -50%) rotate(-135deg);
    animation: lineExpand 0.2s ease-out forwards;
}

.splash-spiral {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: spiralGrow 0.2s ease-out 0.2s forwards, spiralFade 0.2s ease-out 0.4s forwards;
}

body.loaded .splash-screen {
    pointer-events: none;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    /* ✅ Her zaman fixed */
    top: 0;
    width: 100%;
    background: transparent;
    /* ✅ Başta transparan */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Border için pseudo-element */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #c9a961;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll edildiğinde sadece arka plan ve border gelir */
.navbar.scrolled {
    background: rgba(22, 47, 42, 0.85);
    /* ✅ Arka plan belirir */
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 0 2px 30px var(--shadow-dark);
}

/* Scroll edildiğinde border genişler */
.navbar.scrolled::after {
    width: 100%;
    /* ✅ Border ortadan açılır */
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
    cursor: default;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d35 50%, var(--primary-color) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(2px 2px at 20px 30px, rgba(201, 169, 97, .4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(201, 169, 97, .3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(201, 169, 97, .5), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(201, 169, 97, .3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(201, 169, 97, .4), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: starsTwinkle 4s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1px 1px at 70px 20px, rgba(201, 169, 97, .6), transparent),
        radial-gradient(2px 2px at 100px 60px, rgba(201, 169, 97, .2), transparent),
        radial-gradient(1px 1px at 150px 90px, rgba(201, 169, 97, .4), transparent),
        radial-gradient(1px 1px at 180px 10px, rgba(201, 169, 97, .5), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(201, 169, 97, .3), transparent);
    background-repeat: repeat;
    background-size: 250px 120px;
    animation: starsTwinkle 6s ease-in-out infinite alternate-reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
    padding: 3rem;
}

.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    border: 3px solid var(--accent-gold);
    opacity: .7;
    transition: all .6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content::before {
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    border-right: none;
    border-bottom: none;
}

.hero-content::after {
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-left: none;
    border-top: none;
}

.corner-frame-top-right,
.corner-frame-bottom-left {
    position: absolute;
    border: 3px solid var(--accent-gold);
    opacity: .7;
    z-index: 2;
    transition: all .6s cubic-bezier(0.4, 0, 0.2, 1);
}

.corner-frame-top-right {
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-left: none;
    border-bottom: none;
}

.corner-frame-bottom-left {
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    border-right: none;
    border-top: none;
}

body.scrolled .hero-content::before,
body.scrolled .corner-frame-top-right {
    width: 0;
    height: 0;
    opacity: 0;
}

body.scrolled .hero-content::after,
body.scrolled .corner-frame-bottom-left {
    width: 0;
    height: 0;
    opacity: 0;
}

.logo-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, .3));
}

.hero h1 {
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: .9;
}

/* About */
.about-section {
    padding: 8rem 0;
    background: var(--tertiary-color);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(22,47,42,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    animation: backgroundMove 30s linear infinite;
}

.section-title-wrapper {
    text-align: center;
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 100;
    letter-spacing: 3px;
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 2rem 3rem;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    border: 3px solid var(--accent-gold);
    opacity: 0;
    transition: all .8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title::before {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-right: none;
    border-bottom: none;
}

.section-title::after {
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: none;
    border-top: none;
}

.section-title-frame-tr,
.section-title-frame-bl {
    position: absolute;
    border: 3px solid var(--accent-gold);
    opacity: 0;
    transition: all .8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title-frame-tr {
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: none;
    border-bottom: none;
}

.section-title-frame-bl {
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-right: none;
    border-top: none;
}

.section-title.in-view::before,
.section-title.in-view::after,
.section-title.in-view .section-title-frame-tr,
.section-title.in-view .section-title-frame-bl {
    width: 50px;
    height: 50px;
    opacity: .7;
}

.section-title.in-view::before {
    transition-delay: .2s;
}

.section-title.in-view::after {
    transition-delay: .4s;
}

.section-title.in-view .section-title-frame-tr {
    transition-delay: .3s;
}

.section-title.in-view .section-title-frame-bl {
    transition-delay: .5s;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 100;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .5px;
    transition: var(--transition-fast);
    margin-top: 1rem;
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

/* Practice Areas */
.practice-section {
    padding: 8rem 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.practice-section .section-title {
    color: var(--white);
}

.practice-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagon" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,5 45,15 45,35 30,45 15,35 15,15" fill="none" stroke="rgba(22,47,42,0.02)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagon)"/></svg>');
    animation: rotateBackground 40s linear infinite;
    z-index: 1;
}

.practice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.practice-card {
    background: var(--primary-color);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.practice-card::before,
.practice-card::after {
    content: '';
    position: absolute;
    border: 3px solid var(--accent-gold);
    opacity: 0;
    transition: all .6s cubic-bezier(0.4, 0, 0.2, 1);
}

.practice-card::before {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-right: none;
    border-bottom: none;
}

.practice-card::after {
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: none;
    border-top: none;
}

.practice-card-frame-tr,
.practice-card-frame-bl {
    position: absolute;
    border: 3px solid var(--accent-gold);
    opacity: 0;
    transition: all .6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.practice-card-frame-tr {
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: none;
    border-bottom: none;
}

.practice-card-frame-bl {
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-right: none;
    border-top: none;
}

.practice-card.in-view::before,
.practice-card.in-view::after,
.practice-card.in-view .practice-card-frame-tr,
.practice-card.in-view .practice-card-frame-bl {
    width: 60px;
    height: 60px;
    opacity: .8;
}

.practice-card.in-view::before {
    transition-delay: .1s;
}

.practice-card.in-view .practice-card-frame-tr {
    transition-delay: .2s;
}

.practice-card.in-view::after {
    transition-delay: .3s;
}

.practice-card.in-view .practice-card-frame-bl {
    transition-delay: .4s;
}

.practice-card-content {
    position: relative;
    z-index: 2;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-dark);
    background: var(--accent-gold);
}

.practice-icon {
    margin-bottom: 1.5rem;
}

.practice-icon svg {
    width: 60px;
    height: 60px;
    stroke: var(--accent-gold);
    fill: none;
    transition: var(--transition-fast);
}

.practice-card:hover .practice-icon svg {
    stroke: var(--primary-color);
    transform: scale(1.1);
}

.practice-card h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.practice-card:hover h3 {
    color: var(--primary-color);
}

.practice-card p {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.7;
    transition: var(--transition-fast);
    opacity: .85;
}

.practice-card:hover p {
    opacity: 1;
    color: var(--primary-color);
}

/* Contact */
.contact-section {
    padding: 8rem 0;
    background: var(--tertiary-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: .5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: .95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.5rem;
    border: 2px solid var(--accent-gold);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
    border-radius: 10px;
    color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(22, 47, 42, .4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 47, 42, .1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    border-radius: 10px;
}

.consent-group {
    display: flex;
    align-items: start;
    gap: .8rem;
    margin: .5rem 0;
    padding: 1rem;
    background: rgba(201, 169, 97, .1);
    border-radius: 10px;
    border: 1px solid var(--accent-gold);
    transition: var(--transition-fast);
}

.consent-group:hover {
    background: rgba(201, 169, 97, .15);
}

.consent-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: .2rem;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.consent-group label {
    font-size: .85rem;
    color: var(--text-gray);
    line-height: 1.6;
    cursor: pointer;
}

.submit-button {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: .5px;
    border-radius: 10px;
    margin-top: .5rem;
}

.submit-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.submit-button:not(:disabled):hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 100;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--primary-color);
    cursor: default;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    margin-top: .2rem;
    stroke: var(--accent-gold);
    fill: none;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.map-container {
    margin-top: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    cursor: default;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    line-height: 1.8;
    font-size: .95rem;
}

.footer-section p {
    cursor: default;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    fill: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    align-items: center;
}

.footer-copyright {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    cursor: default;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .9rem;
    transition: var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
}

.made-with-love {
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
    cursor: default;
}

.made-with-love a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

.made-with-love a:hover {
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 47, 42, .85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn .3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 3px solid var(--accent-gold);
    border-radius: 20px;
    animation: slideIn .3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 300;
    line-height: 1;
}

.modal-close:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    padding-right: 3rem;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 1rem;
}

.modal-content h3 {
    color: var(--accent-gold);
    margin-top: 2rem;
    margin-bottom: .8rem;
    font-size: 1.4rem;
}

.modal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-content p strong {
    color: var(--primary-color);
}

.modal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.modal-content li {
    margin-bottom: .8rem;
    line-height: 1.7;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 1;
    transform: scale(1);
    transition: all .8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: scale(1);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s ease-out;
}

.fade-in-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile */
/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(22, 47, 42, .98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 30px var(--shadow-light);
        contain: layout paint;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all .3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: .1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: .2s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: .3s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: .4s;
    }

    /* Hero content padding - mobilde daha fazla boşluk */
    .hero-content {
        padding: 2rem 1.5rem;
        /* 3rem'den 2rem'e düşürdük, yanlardan 1.5rem */
    }

    /* Hero çerçeveler - mobilde daha küçük ve kenarlara uzak */
    .hero-content::before,
    .corner-frame-bottom-left {
        width: 80px;
        /* 60px yerine 80px */
        height: 80px;
        left: 20px;
        /* Kenara 20px mesafe */
    }

    .hero-content::after,
    .corner-frame-top-right {
        width: 80px;
        /* 60px yerine 80px */
        height: 80px;
        right: 20px;
        /* Kenara 20px mesafe */
    }

    .hero-content::before {
        top: 20px;
        /* Üste 20px mesafe */
    }

    .hero-content::after {
        bottom: 20px;
        /* Alta 20px mesafe */
    }

    .corner-frame-top-right {
        top: 20px;
    }

    .corner-frame-bottom-left {
        bottom: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo-circle {
        width: 100px;
        height: 100px;
    }

    .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
        padding: 1.5rem 2rem;
    }

    .section-title.in-view::before,
    .section-title.in-view::after,
    .section-title.in-view .section-title-frame-tr,
    .section-title.in-view .section-title-frame-bl {
        width: 50px;
        height: 50px;
    }

    .about-content {
        padding: 2.5rem;
    }

    .about-content h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .practice-section,
    .contact-section {
        padding: 4rem 0;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: .5rem;
    }
}

/* Çok küçük ekranlar için ekstra ayar */
@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-content::before,
    .hero-content::after,
    .corner-frame-top-right,
    .corner-frame-bottom-left {
        width: 60px;
        height: 60px;
    }

    .hero-content::before,
    .corner-frame-bottom-left {
        left: 15px;
    }

    .hero-content::after,
    .corner-frame-top-right {
        right: 15px;
    }

    .hero-content::before,
    .corner-frame-top-right {
        top: 15px;
    }

    .hero-content::after,
    .corner-frame-bottom-left {
        bottom: 15px;
    }
}

/* Animations */
@keyframes splashFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes lineExpand {
    to {
        width: 200px;
    }
}

@keyframes spiralGrow {
    to {
        width: 180px;
        height: 180px;
        opacity: 0.6;
    }
}

@keyframes spiralFade {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes starsTwinkle {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes backgroundMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100px);
    }
}

@keyframes rotateBackground {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}