/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #082567;
    --secondary-color: #e7b463;
    --accent-color: #1a5083;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    --header-height: 80px;
}

.navbar {
    padding: 8px 0;
    transition: padding 0.3s ease;
}

.navbar .container {
    max-width: 100%;
    padding: 0 40px;
}

.header.scrolled .navbar {
    padding: 5px 0;
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-height: 64px;
    contain: layout style;
}

.logo-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    display: block;
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #000;
}

.hero-bg-video,
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-bg-video {
    display: block;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
    contain: size layout;
}

.hero-bg-video.is-active {
    opacity: 1;
}

.hero-bg-image {
    display: block;
    z-index: 0;
}

.hero[data-bg-type="image"] .hero-bg-video {
    opacity: 0;
}

.hero[data-bg-type="image"] .hero-bg-image {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .hero-description,
.hero-content .hero-buttons {
    opacity: 0;
    transform: translateY(16px);
    animation: heroTextReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, opacity;
}

.hero-content .hero-title {
    animation-delay: 0.08s;
}

.hero-title.hero-title-letters {
    opacity: 1;
    animation: none;
}

.hero-title-line {
    display: inline-block;
}

.hero-title-line:not(:first-child) {
    margin-left: 0.35em;
}

.hero-title.hero-title-letters .hero-letter {
    display: inline-block;
    opacity: 0;
    transform: translate3d(var(--from-x, 0px), var(--from-y, 0px), 0) rotate(var(--from-rotate, 0deg));
    animation: heroLetterMerge 2.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--letter-delay, 0s);
    will-change: transform, opacity;
}

.hero-title.hero-title-letters .hero-letter-space {
    width: 0.35em;
    transform: none;
    animation: none;
    opacity: 1;
}

.hero-content .hero-subtitle {
    animation-delay: 0.2s;
}

.hero-content .hero-description {
    animation-delay: 0.32s;
}

.hero-content .hero-buttons {
    animation-delay: 0.44s;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #b08d5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 165, 114, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 24px;
    animation: bounce 2s infinite;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-custom-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    border: 6px solid var(--secondary-color);
    box-shadow: var(--shadow);
    display: none;
}

.about-image.has-custom-image .about-custom-image {
    display: block;
}

.about-image.has-custom-image .image-placeholder {
    display: none;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.image-placeholder i {
    font-size: 120px;
    color: var(--secondary-color);
    opacity: 0.8;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

.about-subtitle {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-color);
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
    margin-top: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 32px;
    color: var(--secondary-color);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ==================== CALCULATIONS SECTION ==================== */
.calculations {
    padding: 100px 0;
    background: var(--white);
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.calc-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.calc-card > * {
    position: relative;
    z-index: 2;
}

.calc-card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    z-index: 0;
}

.calc-card.has-custom-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

.calc-card.has-custom-image {
    border: 6px solid var(--secondary-color);
}

.calc-card.has-custom-image .calc-card-bg-image {
    display: block;
}

.calc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.calc-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.calc-icon i {
    font-size: 36px;
    color: var(--secondary-color);
}

.calc-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.calc-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

.calc-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.calc-button:hover {
    background: #b08d5a;
    transform: scale(1.05);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--white);
    font-size: 20px;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content p,
.info-content a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-section ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLetterMerge {
    0% {
        opacity: 0;
        transform: translate3d(var(--from-x, 0px), var(--from-y, 0px), 0) rotate(var(--from-rotate, 0deg)) scale(0.7);
        filter: blur(2px);
    }
    70% {
        opacity: 1;
        transform: translate3d(0, -4px, 0) rotate(0deg) scale(1.03);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content .hero-title,
    .hero-content .hero-subtitle,
    .hero-content .hero-description,
    .hero-content .hero-buttons {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

html.reduced-motion-fallback .hero-content .hero-title,
html.reduced-motion-fallback .hero-content .hero-subtitle,
html.reduced-motion-fallback .hero-content .hero-description,
html.reduced-motion-fallback .hero-content .hero-buttons {
    animation: none;
    opacity: 1;
    transform: none;
}

html.reduced-motion-fallback .hero-title.hero-title-letters {
    animation: none;
}

html.reduced-motion-fallback .hero-title.hero-title-letters .hero-letter {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
}

html.reduced-motion-fallback .page-hero .page-title-text.page-title-text-letters .page-title-letter {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height, 80px);
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease, top 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
    }

    .header.scrolled {
        --header-height: 74px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 1.35;
    }

    .hero-description {
        line-height: 1.7;
    }

    .hero-content {
        max-width: 700px;
        padding: 0 12px;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .logo-brand {
        gap: 8px;
        min-height: 48px;
    }

    .logo-image {
        width: 48px;
        height: 48px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .hero {
        min-height: 100vh;
        padding-top: 72px;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(28px, 8.8vw, 36px);
        line-height: 1.18;
        margin-bottom: 14px;
    }

    .hero .hero-title.hero-title-letters .hero-letter {
        animation-duration: 2.0s;
    }

    .hero-title-line {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }

    .page-hero .page-title-text {
        white-space: nowrap;
    }

    .page-hero--faq .page-title {
        font-size: clamp(24px, 8vw, 30px);
        line-height: 1.2;
    }

    .page-hero--faq .page-title-text {
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 26px;
        max-width: 34ch;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }

    .hero-buttons .btn {
        max-width: 300px;
        width: 100%;
        padding: 13px 24px;
        font-size: 15px;
    }

    .hero-content .hero-title,
    .hero-content .hero-subtitle,
    .hero-content .hero-description,
    .hero-content .hero-buttons {
        transform: translateY(16px);
        animation-duration: 0.6s;
    }

    .hero-content .hero-title {
        animation-delay: 0.08s;
    }

    .hero-content .hero-subtitle {
        animation-delay: 0.2s;
    }

    .hero-content .hero-description {
        animation-delay: 0.32s;
    }

    .hero-content .hero-buttons {
        animation-delay: 0.44s;
    }

    .section-title {
        font-size: 28px;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% 15px;
        padding: 30px 20px;
    }
}

/* ==================== DETAIL PAGES STYLES ==================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Page-specific hero backgrounds */
.page-hero--medeni      { background-image: url('assets/medeni-hero.jpg'); }
.page-hero--ceza        { background-image: url('assets/ceza-hero.jpg'); }
.page-hero--is          { background-image: url('assets/is-hero.jpg'); }
.page-hero--tazminat    { background-image: url('assets/tazminat-hero.jpg'); }
.page-hero--saglik      { background-image: url('assets/saglik-hero.jpg'); }
.page-hero--vergi       { background-image: url('assets/vergi-hero.jpg'); }
.page-hero--faaliyetler { background-image: url('assets/faaliyetler-hero.jpg'); }
.page-hero--faq         { background-image: url('assets/faq-hero.jpg'); }
.page-hero--resume      { background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%); }

/* Fotoğraflı sayfalarda overlay kaldırıldı */
[class*="page-hero--"] .hero-overlay {
    background: none;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

/* ==================== PAGE HERO ENTRANCE ANIMATION ==================== */
.page-hero .breadcrumb,
.page-hero .page-title,
.page-hero .page-subtitle {
    opacity: 0;
    transform: translateY(16px);
    animation: heroTextReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, opacity;
}

.page-hero .breadcrumb {
    animation-delay: 0.1s;
}

.page-hero .page-title {
    animation-delay: 0.22s;
}

.page-hero .page-subtitle {
    animation-delay: 0.34s;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 14px;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.page-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-title i {
    color: var(--secondary-color);
    margin-right: 15px;
}

.page-hero .page-title.page-title--letters {
    opacity: 1;
    transform: none;
    animation: none;
}

.page-hero .page-title-text {
    display: inline-block;
    white-space: nowrap;
}

.page-hero .page-title-text.page-title-text-letters {
    opacity: 1;
    animation: none;
}

.page-hero .page-title-text.page-title-text-letters .page-title-letter {
    display: inline-block;
    opacity: 0;
    transform: translate3d(var(--from-x, 0px), var(--from-y, 0px), 0) rotate(var(--from-rotate, 0deg));
    animation: heroLetterMerge 2.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--letter-delay, 0s);
    will-change: transform, opacity;
}

.page-hero .page-title-text.page-title-text-letters .page-title-letter-space {
    width: 0.35em;
    transform: none;
    animation: none;
    opacity: 1;
}

.page-subtitle {
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
}

.detail-content {
    padding: 80px 0;
    background: var(--bg-light);
}

html.js .section-header,
html.js .service-card,
html.js .calc-card,
html.js .about-content,
html.js .about-image,
html.js .detail-content .content-block,
html.js .detail-content .sidebar-widget,
html.js .faq-section .faq-category,
html.js .faq-section .faq-item {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

html.js .section-header.is-visible,
html.js .service-card.is-visible,
html.js .calc-card.is-visible,
html.js .about-content.is-visible,
html.js .about-image.is-visible,
html.js .detail-content .content-block.is-visible,
html.js .detail-content .sidebar-widget.is-visible,
html.js .faq-section .faq-category.is-visible,
html.js .faq-section .faq-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.main-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.content-block {
    margin-bottom: 40px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.content-block h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.content-block p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-block p:empty {
    display: none;
    margin: 0;
}

.resume-content .content-wrapper {
    grid-template-columns: 1fr;
}

.resume-content .main-content {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.resume-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 360px 1fr;
    box-shadow: var(--shadow);
    margin-bottom: 0;
}

.resume-photo {
    background: var(--bg-light);
    padding: 22px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resume-photo img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 12px;
    display: none;
}

.resume-photo .placeholder {
    width: 100%;
    height: 560px;
    border: 2px dashed #c7d3e2;
    border-radius: 12px;
    color: #748296;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-size: 1rem;
}

.resume-body {
    padding: 30px 30px 34px;
}

.resume-body h2 {
    margin-bottom: 14px;
}

.resume-body p {
    white-space: pre-line;
    margin-bottom: 20px;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.resume-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.service-item > i {
    color: var(--secondary-color);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 5px;
}

.service-item h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
}

.service-item ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.service-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 40px;
    border-radius: 15px;
    color: var(--white);
}

.highlight-box h2 {
    color: var(--white);
    border-bottom-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.feature-box {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-box p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    color: var(--white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-item h4 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.faq-item p {
    margin: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b08d5a 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
}

.cta-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--white);
}

.cta-box .btn {
    background: var(--white);
    color: var(--secondary-color);
}

.cta-box .btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.service-links,
.calc-links {
    list-style: none;
}

.service-links li,
.calc-links li {
    margin-bottom: 12px;
}

.service-links a,
.calc-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    background: var(--bg-light);
}

.service-links a:hover,
.calc-links a:hover {
    background: var(--secondary-color);
    color: var(--white);
    padding-left: 20px;
}

.service-links a i,
.calc-links a i {
    color: var(--secondary-color);
    font-size: 18px;
}

.service-links a:hover i,
.calc-links a:hover i {
    color: var(--white);
}

.contact-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.contact-widget h3 {
    color: var(--white);
    border-bottom-color: var(--secondary-color);
}

.contact-info-small {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item-small {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.info-item-small i {
    color: var(--secondary-color);
    font-size: 18px;
    width: 25px;
}

.info-item-small a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.info-item-small a:hover {
    color: var(--secondary-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.logo a {
    text-decoration: none;
}

/* Services Grid for Faaliyetlerimiz Page */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card-full {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.service-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card-full .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card-full .service-icon i {
    font-size: 32px;
    color: var(--secondary-color);
}

.service-card-full h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card-full p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-full .btn {
    width: 100%;
}

/* Responsive for Detail Pages */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .resume-card {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-full {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .content-block h2 {
        font-size: 24px;
    }

    .service-item {
        flex-direction: column;
    }

    .resume-photo .placeholder,
    .resume-photo img {
        height: 360px;
        max-height: 360px;
    }
}
/* ==================== FAQ SECTION ==================== */
.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-light);
    padding-left: 30px;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: 20px;
    color: var(--secondary-color);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.open .faq-question {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.faq-item.open .faq-question h3 {
    color: var(--white);
}

.faq-item.open .faq-question i {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 25px;
    color: var(--text-light);
    line-height: 1.8;
    background: var(--bg-light);
    font-size: 15px;
}

.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    text-align: center;
    color: var(--white);
}

.contact-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }

    .faq-category-title {
        font-size: 24px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-question {
        padding: 18px 20px;
    }

    .contact-cta h2 {
        font-size: 28px;
    }
}