@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FFFFFF;
    --color-header-bg: #FFFFFF;
    --color-logo: #313139;
    --color-menu: #808080;
    --color-menu-hover: #a9113c;
    --color-title: #313139;
    --color-content: #313139;
    --color-meta: #808080;
    --color-footer-bg: #FFFFFF;
    --color-footer-text: #808080;
    --color-primary-red: #a9113c;
    --color-logo-line: #dda0dd;
    --header-height: 140px;
    --header-height-mobile: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0px;
    color: var(--color-content);
    background-color: var(--color-bg);
}

/* Cursor styles for links and text */
a, button, .portfolio-icon {
    cursor: none !important;
}

p, h1, h2, h3, h4, h5, h6, span, li, td, th, label, .text-content, .column, .subtitle, .hero-subtitle {
    cursor: text;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
}

h1 {
    font-size: 66px;
    line-height: 1.2;
    letter-spacing: 0px;
}

h2 {
    font-size: 46px;
    line-height: 1.2;
}

h3 {
    font-size: 38px;
    line-height: 1.2;
}

h4 {
    font-size: 26px;
    line-height: 1.2;
}

/* ===== HEADER STYLES ===== */
#header {
    background-color: var(--color-header-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 60px;
}

.navi-logo {
    flex: 0 0 auto;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.logo-a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.head-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.menu_onleft_outwrap {
    display: flex;
    align-items: center;
    height: 100%;
}

.navi-header {
    display: flex;
    align-items: center;
}

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

.menu li {
    position: relative;
}

.menu-item-language {
    position: relative;
}

.menu-item-a {
    color: var(--color-menu);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.0;
    letter-spacing: 0px;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
}

.menu-item-a:hover {
    color: var(--color-menu-hover);
}


.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-language:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    border-bottom: 1px solid #eee;
}

.sub-menu .menu-item-a {
    font-size: 16px;
    padding: 10px 15px;
    color: var(--color-menu);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
    line-height: 1.0;
    letter-spacing: 0px;
}

.sub-menu .menu-item-a:hover {
    color: var(--color-menu-hover);
}

/* ===== MAIN CONTENT ===== */
#main-content {
    margin-top: var(--header-height);
    background-color: #ffffff;
    transition: background-color 0.3s ease-out;
}

.module-id-1564038704637 {
    min-height: calc(100vh - var(--header-height) - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 60px 40px 60px;
    position: relative;
}

.text_block_centered {
    text-align: center;
}

#text-1564038704767 h1 {
    color: var(--color-primary-red);
    margin-bottom: 30px;
    font-size: 66px;
    font-weight: 600;
}

#text-1564038704767 .subtitle {
    font-size: 20px;
    color: var(--color-meta);
    font-weight: 200;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ===== FOOTER SECTION (Combined Anniversary + Footer) ===== */
#footer {
    padding: 40px 60px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    position: relative;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
    align-items: flex-start;
}

.footer-bottom-text {
    display: flex;
    align-items: baseline;
    gap: 2vw;
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
}

.footer-right {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    margin-left: auto;
}

.anniversary-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
}

.footer-info {
    font-size: 14px;
    color: var(--color-footer-text);
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.footer-line {
    flex: 0 0 auto;
    margin-top: 0;
    align-self: baseline;
}

.anniversary-number {
    font-size: 72px;
    font-weight: 600;
    color: var(--color-title);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
    letter-spacing: 0;
    font-style: normal;
}

.anniversary-dot {
    font-size: 72px;
    color: var(--color-title);
    font-family: 'Cormorant Garamond', serif;
}

.anniversary-text {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-title);
    font-family: 'Cormorant Garamond', serif;
}

.anniversary-description {
    font-size: 16px;
    color: var(--color-meta);
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.5;
}

.footer-info {
    font-size: 14px;
    color: var(--color-footer-text);
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
}

.footer-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-meta);
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.footer-line:hover {
    background-color: transparent;
    height: auto;
}

.footer-line:hover::after {
    content: '^';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    color: var(--color-menu);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

/* ===== SOCIAL MEDIA ===== */
.socialmeida {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.socialmeida-a {
    color: var(--color-menu);
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.socialmeida-a:hover {
    color: var(--color-menu-hover);
}

/* ===== HEADER ICONS ===== */
.header-icons-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 12px;
    height: 100%;
}

.header-portfolio-icon {
    display: flex;
    align-items: center;
}

.header-portfolio-icon .portfolio-icon {
    display: flex;
    cursor: pointer;
    text-decoration: none;
}

.header-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
    width: 20px;
    height: 14px;
    position: relative;
    transition: gap 0.3s ease, transform 0.3s ease;
}

.header-portfolio-icon:hover .header-icon-grid {
    gap: 2px;
}

.header-icon-grid::after {
    display: none;
}

.header-icon-dot {
    width: 4px;
    height: 4px;
    background-color: var(--color-menu);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

/* X icon when modal is open */
.header-icon-grid.modal-open {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    width: 20px;
    height: 14px;
    position: relative;
}

.header-icon-grid.modal-open .header-icon-dot {
    position: absolute;
    width: 2px;
    height: 12px;
    background-color: var(--color-menu);
    border-radius: 0;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%);
}

.header-icon-grid.modal-open .header-icon-dot:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
    transform-origin: center center;
}

.header-icon-grid.modal-open .header-icon-dot:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
    transform-origin: center center;
}

.header-icon-grid.modal-open .header-icon-dot:nth-child(3),
.header-icon-grid.modal-open .header-icon-dot:nth-child(4),
.header-icon-grid.modal-open .header-icon-dot:nth-child(5),
.header-icon-grid.modal-open .header-icon-dot:nth-child(6) {
    display: none;
}

.navi-trigger-out {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.navi-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.navi-trigger-svg {
    width: 24px;
    height: 24px;
}

.svg-style02-line-rect {
    fill: var(--color-menu);
}

.search-icon-header {
    font-size: 24px;
    color: var(--color-menu);
    cursor: pointer;
    text-decoration: none;
}

/* ===== MOBILE MENU TOGGLE BUTTON ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-menu);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    color: var(--color-primary-red);
}

.mobile-nav {
    padding: 80px 30px 40px 30px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #eee;
}

.mobile-menu-item > a,
.mobile-menu-item > .language-label {
    display: block;
    padding: 16px 0;
    color: #1a1d29;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-menu-item > a:hover {
    color: var(--color-primary-red);
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 10px 20px;
    margin: 0;
    display: none;
}

.mobile-menu-item:hover .mobile-submenu,
.mobile-menu-item:focus-within .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.mobile-submenu li a:hover {
    color: var(--color-primary-red);
}

.mobile-language-selector {
    margin-top: 20px;
    border-bottom: none;
}

.mobile-language-selector .language-label {
    font-weight: 600;
    color: var(--color-primary-red);
    cursor: default;
}

.mobile-language-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mobile-language-list li a {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-language-list li a:hover {
    background: var(--color-primary-red);
    color: white;
}

/* ===== RESPONSIVE ===== */

/* --- Tablet landscape & small desktop (1365px) --- */
@media (max-width: 1365px) {
    .navi-header {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    #header {
        height: var(--header-height-mobile);
    }

    .header-main {
        padding: 0 20px;
    }

    .logo-image {
        height: 32px;
    }

    #main-content {
        margin-top: var(--header-height-mobile);
    }

    .module-id-1564038704637 {
        padding: 40px 20px 20px 20px;
        min-height: calc(100vh - var(--header-height-mobile) - 200px);
    }

    #text-1564038704767 h1 {
        font-size: 42px;
    }

    .anniversary-section {
        padding: 20px;
    }

    .anniversary-number {
        font-size: 48px;
    }
}

@media (min-width: 768px) {
    .container-fluid {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* ===== SELECTION ===== */
*::selection {
    background-color: #a9113c;
    color: white;
}

/* ===== UTILITIES ===== */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.hidden-desktop {
    display: none;
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none;
    }
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 140px 60px;
    text-align: center;
}

.page-hero h1 {
    color: var(--color-primary-red);
    margin-bottom: 30px;
    font-size: 66px;
}

.page-hero .hero-subtitle {
    font-size: 20px;
    color: var(--color-meta);
    font-weight: 200;
    max-width: 800px;
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.6;
    min-height: 48px; /* keep indicator distance stable even with wrap */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Support for multiple subtitle paragraphs (team page) */
.page-hero p:not(.hero-subtitle) {
    color: var(--color-meta);
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.6;
    max-width: 800px;
    min-height: 24px; /* reserve space so title/indicator stay steady */
}

.page-hero p:not(.hero-subtitle):last-of-type {
    margin-bottom: 24px;
}

.module-id-1564038704637 .scroll-indicator,
.page-hero .scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 24px;
    color: #a9113c;
    font-size: 24px;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #a9113c;
    font-size: 24px;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

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

.page-hero .scroll-indicator {
    animation: bounce-page-hero 2s infinite;
}

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

/* ===== CONTENT SECTIONS ===== */
.content-section {
    min-height: 100vh;
    padding: 100px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content-section .section-content {
    width: 100%;
    max-width: 1200px;
}

.content-section .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    color: #a9113c;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
}

.section-dark {
    background-color: transparent;
    color: white;
}

.section-red {
    background-color: transparent;
    color: white;
}

.section-gradient {
    background: linear-gradient(to bottom, #a9113c 0%, #a9113c 50%, #FFB6C1 50%, #FFB6C1 100%);
    color: white;
    padding: 100px 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 46px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.two-column .column {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 0;
    align-content: start;
}

.two-column p,
.column p,
.text-content p,
.content-section p {
    text-align: justify;
}

.column {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: min-content;
    gap: 0;
    align-content: start;
}

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

.column p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 18px;
    margin-top: 0;
}

.column h3 {
    font-size: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    color: white;
}

.column-item h3:first-child {
    margin-top: 0;
}

.text-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 18px;
}

/* ===== KVKK PAGE ===== */
.kvkk-content {
    max-width: 900px;
    margin: 0 auto;
}

.kvkk-content h1 {
    margin-bottom: 30px;
    font-size: 46px;
    color: var(--color-title);
    text-align: justify;
}

.kvkk-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--color-title);
}

.kvkk-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.kvkk-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 18px;
}

.kvkk-content strong {
    font-weight: 600;
}

/* ===== SERVICE PAGE ===== */
.service-page-header {
    text-align: center;
    padding: 60px 60px 40px 60px;
}

.service-category {
    font-size: 18px;
    color: var(--color-meta);
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.service-category::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 1px;
    background-color: var(--color-primary-red);
}

.service-page-header h1 {
    font-size: 66px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
    margin-top: 30px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 30px;
}

.service-page-header h1::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-meta);
    font-size: 24px;
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    border: 2px solid var(--color-primary-red);
    border-radius: 0;
    overflow: hidden;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.service-tab {
    padding: 12px 30px;
    background: white;
    border: none;
    border-right: 1px solid #e0e0e0;
    border-radius: 0;
    color: var(--color-content);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.service-tab:last-child {
    border-right: none;
}

.service-tab:hover {
    color: white;
    background: #a9113c;
}

.service-tab.active {
    background: white;
    color: var(--color-content);
    border-left: none;
    border-right: none;
}

.service-content-section {
    padding: 0 60px 60px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-content-section .text-content {
    max-width: 100%;
}

.service-content-section .text-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.service-content-section .text-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 18px;
    color: var(--color-content);
}

.service-subsection-title {
    font-size: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #a9113c;
    margin-top: 40px;
    margin-bottom: 20px;
}

.service-subsection-title:first-child {
    margin-top: 0;
}

.service-team-section {
    padding: 0;
    background: transparent;
}

.service-team-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.service-team-member {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 0 0 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.service-team-member:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: 0 0 15px 0;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.service-team-member:hover img {
    filter: grayscale(0%);
}

.service-team-member-name {
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-primary-red);
    margin-bottom: 5px;
}

.service-team-member-title {
    font-size: 14px;
    color: var(--color-meta);
    margin-bottom: 10px;
}

.service-team-member-linkedin {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #0077b5;
    border-radius: 50%;
    color: white;
    line-height: 32px;
    text-decoration: none;
}

.service-news-section {
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-news-section h2 {
    font-size: 38px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
    margin-bottom: 40px;
    text-align: center;
}

.service-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-news-column {
    display: flex;
    flex-direction: column;
}

.service-news-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.service-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-news-item h3 {
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-news-item .news-category {
    font-size: 12px;
    color: var(--color-meta);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-news-item .news-description {
    font-size: 14px;
    color: var(--color-content);
    line-height: 1.6;
    margin-bottom: 10px;
}

.service-news-item .news-date {
    font-size: 12px;
    color: var(--color-meta);
}

.service-more-link {
    text-align: center;
    margin-top: 40px;
}

.service-more-link a {
    color: var(--color-primary-red);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.service-more-link a:hover {
    text-decoration: underline;
}

/* Anchor scroll offset for fixed header */
section[id] {
    scroll-margin-top: 160px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.illustration-placeholder {
    min-height: 300px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    color: white;
    font-size: 18px;
    line-height: 2;
    font-weight: 200;
}

.services-list li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-list li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== TEAM ===== */
/* Team hero now uses .page-hero class - styles merged */

.team-filters {
    display: flex;
    gap: 16px;
    padding: 50px 60px;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    margin-bottom: 20px;
}

.team-search {
    flex: 1.5;
    position: relative;
}

.team-search input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.team-search input:focus {
    outline: none;
    border-color: var(--color-primary-red);
    box-shadow: 0 4px 12px rgba(169, 17, 60, 0.1);
}

.team-search input::placeholder {
    color: #999;
    font-weight: 300;
}

.team-search .fa-search {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-meta);
    font-size: 16px;
    pointer-events: none;
}

.team-filter {
    flex: 1;
    position: relative;
}

.team-filter::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-meta);
    pointer-events: none;
    font-size: 14px;
}

.team-filter select {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    background: white;
    color: var(--color-content);
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.team-filter select:focus {
    outline: none;
    border-color: var(--color-primary-red);
    box-shadow: 0 4px 12px rgba(169, 17, 60, 0.1);
}

.team-filter select:hover {
    border-color: #d0d0d0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding: 40px 60px;
    width: 95%;
    max-width: none;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 0 0 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.team-member:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: 0 0 15px 0;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-member:hover img {
    filter: grayscale(0%);
}

.team-member.hidden {
    display: none;
}

/* ===== TEAM LOADING SPINNER ===== */
.team-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.team-member-name {
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-primary-red);
    margin-bottom: 5px;
}

.team-member-title {
    font-size: 14px;
    color: var(--color-meta);
    margin-bottom: 10px;
}

.team-member-linkedin {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #0077b5;
    border-radius: 50%;
    color: white;
    line-height: 32px;
    text-decoration: none;
}

/* ===== CAREER ===== */
/* Career hero now uses .page-hero class - styles merged */

.application-forms {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px;
    flex-wrap: wrap;
}

.application-form-btn {
    background-color: var(--color-primary-red);
    color: white;
    padding: 56px 50px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
    display: inline-block;
    min-width: 220px;
    text-align: center;
}

.application-form-btn:hover {
    background-color: #a9113c;
}

/* ===== INTERNATIONAL DESKS ===== */
.desks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.desk-item h3 {
    font-size: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-primary-red);
    margin-bottom: 15px;
}

.desk-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-content);
    margin-bottom: 20px;
    text-align: justify;
}

/* ===== NEWS ===== */
.news-page-container {
    display: flex;
    gap: 40px;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-page-content {
    flex: 1;
    min-width: 0;
}

.pagination {
    text-align: center;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a {
    color: var(--color-primary-red);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.pagination a:hover {
    background: rgba(169, 17, 60, 0.08);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.news-item {
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item h3 a {
    color: var(--color-title);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item h3 a:hover {
    color: var(--color-primary-red);
}

.news-item p {
    font-size: 14px;
    color: var(--color-meta);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-item-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.news-item-icons a {
    color: var(--color-meta);
    font-size: 18px;
    text-decoration: none;
}

.news-item-date {
    color: var(--color-primary-red);
    font-size: 13px;
    margin-bottom: 8px;
}

.news-item-date i,
.news-item-authors i {
    margin-right: 6px;
}

.news-item-authors {
    font-size: 13px;
    color: var(--color-meta);
    margin-bottom: 10px;
}

.news-item-authors i {
    color: var(--color-primary-red);
}

.news-item-more {
    color: var(--color-primary-red);
    text-decoration: underline;
    font-size: 14px;
}

.news-item-more i {
    margin-right: 6px;
}

.news-author-header {
    margin-bottom: 30px;
}

.news-author-header .news-item-date {
    margin-bottom: 8px;
}

.news-author-header h3 {
    margin-bottom: 15px;
}

.pagination-current {
    color: white;
    background: var(--color-primary-red);
    padding: 8px 12px;
    border-radius: 4px;
}

.pagination-dots {
    padding: 8px 4px;
}

.news-empty {
    color: var(--color-meta);
}

.news-sidebar .search-info {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-meta);
}

.news-sidebar .search-info a,
.news-sidebar .filter-clear a {
    color: var(--color-primary-red);
}

.news-sidebar .filter-clear {
    margin-top: 10px;
    font-size: 14px;
}

.news-sidebar select {
    width: 100%;
    padding: 8px;
}

.news-sidebar {
    padding: 60px;
    max-width: 320px;
    min-width: 280px;
}

.news-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-title);
}

.news-sidebar form {
    display: flex;
    border: 2px solid var(--color-primary-red);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.news-sidebar form input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    font-size: 14px;
    outline: none;
}

.news-sidebar form button {
    padding: 12px 16px;
    background: var(--color-primary-red);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
}

.news-sidebar form button:hover {
    background: #8a0e32;
}

.news-sidebar ul {
    list-style: none;
    padding: 0;
}

.news-sidebar li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-sidebar a {
    color: var(--color-content);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    text-align: left;
    hyphens: auto;
    word-spacing: 0.05em;
    letter-spacing: 0.01em;
}

/* ===== CONTACT ===== */
/* Contact hero now uses .page-hero class - styles merged */

.contact-section {
    background-color: var(--color-primary-red);
    color: white;
    padding: 100px 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond', serif;
    color: white;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modern-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.modern-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.modern-checkbox .checkmark {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modern-checkbox:hover .checkmark {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}

.modern-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: white;
    border-color: white;
}

.modern-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #a9113c;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-form-checkbox input {
    width: auto;
}

.contact-form button {
    background-color: white;
    color: var(--color-primary-red);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #f0f0f0;
}

.contact-map {
    width: 100%;
    height: 700px;
    margin-top: 0;
}

/* --- Tablet portrait (1024px) --- */
@media (max-width: 1024px) {
    body {
        font-size: 18px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 30px;
    }

    .page-hero {
        min-height: calc(100vh - var(--header-height-mobile));
        padding: 60px 30px 80px 30px;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    .content-section {
        padding: 60px 30px;
        min-height: auto;
    }

    .section-gradient {
        padding: 60px 30px;
        min-height: auto;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .desks-grid {
        grid-template-columns: 1fr;
        padding: 60px 30px;
        gap: 40px;
    }

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

    .contact-section {
        padding: 60px 30px;
    }

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

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px;
        gap: 24px;
    }

    .team-filters {
        padding: 30px;
    }

    .news-page-container {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-page-header {
        padding: 40px 30px 30px 30px;
    }

    .service-page-header h1 {
        font-size: 48px;
    }

    .service-content-section {
        padding: 0 30px 40px 30px;
    }

    .service-news-section {
        padding: 30px;
    }

    .service-news-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-container {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
    }

    .blog-sidebar {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .blog-post-title {
        font-size: 32px;
    }

    #footer {
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-center {
        position: static;
        transform: none;
    }

    .footer-right {
        margin-left: 0;
    }

    .team-member-modal.active {
        padding: 30px 60px;
    }

    .linkedin-modal-content {
        max-width: 95%;
        padding: 30px;
    }

    .application-forms {
        padding: 40px 30px;
    }

    .contact-map {
        height: 400px;
    }

    .kvkk-content h1 {
        font-size: 36px;
    }

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

/* --- Mobile landscape / large phone (768px) --- */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 20px;
    }

    /* Hero */
    .page-hero {
        padding: 40px 20px 60px 20px;
        min-height: calc(100vh - var(--header-height-mobile));
    }

    .page-hero h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .page-hero .hero-subtitle {
        font-size: 16px;
        min-height: auto;
    }

    .page-hero p:not(.hero-subtitle) {
        font-size: 15px;
    }

    #text-1564038704767 h1 {
        font-size: 36px;
    }

    #text-1564038704767 .subtitle {
        font-size: 16px;
    }

    /* Content sections */
    .content-section {
        padding: 40px 24px;
        min-height: auto;
    }

    .section-gradient {
        padding: 40px 24px;
        min-height: auto;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 24px;
    }

    .two-column p,
    .column p,
    .text-content p,
    .content-section p {
        text-align: left;
        font-size: 15px;
        line-height: 1.7;
    }

    .column h3 {
        font-size: 20px;
    }

    .desk-item p {
        text-align: left;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 16px;
    }

    .team-filters {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }

    .team-member {
        border-radius: 8px;
        overflow: hidden;
    }

    .team-member img {
        aspect-ratio: 3/4;
        object-fit: cover;
        object-position: top center;
    }

    .team-member-name {
        font-size: 15px;
        padding: 0 8px;
    }

    .team-member-title {
        font-size: 12px;
        padding: 0 8px;
    }

    .team-member-linkedin {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }

    /* Team Modal - full screen bottom sheet */
    .team-member-modal.active {
        padding: 0;
        align-items: flex-end;
    }

    .team-member-modal-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
    }

    .team-member-modal-body {
        flex-direction: column;
        padding: 20px 24px 30px 24px;
        gap: 24px;
        overflow-y: auto;
        max-height: calc(90vh - 10px);
    }

    .team-member-modal-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .team-member-modal-image img {
        width: 100%;
        height: auto;
        max-height: 300px;
        border-radius: 12px;
        object-fit: cover;
        object-position: top center;
        aspect-ratio: auto;
    }

    .team-member-modal-info {
        height: auto;
        overflow-y: visible;
        padding-right: 0;
        padding-left: 0;
    }

    .team-member-modal-info h2 {
        font-size: 26px;
    }

    .team-member-modal-name-row {
        justify-content: flex-start;
        text-align: left;
        flex-wrap: wrap;
        padding-right: 0;
        gap: 8px;
    }

    .team-member-modal-title {
        text-align: left;
        font-size: 14px;
        margin-bottom: 16px;
    }

    .team-member-modal-contact {
        align-items: flex-start;
        margin-bottom: 20px;
        gap: 10px;
    }

    .team-member-modal-contact-item {
        font-size: 14px;
    }

    .team-member-modal-cv-section {
        margin-bottom: 20px;
    }

    .team-member-modal-cv-section h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .team-member-modal-cv-section ul li {
        font-size: 14px;
        line-height: 1.7;
    }

    .team-member-modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 20px;
        z-index: 10005;
    }

    /* Nav buttons inside modal on mobile */
    .team-member-modal-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
        top: auto;
        bottom: 20px;
        transform: none;
        position: fixed;
    }

    .team-member-modal-nav.prev {
        left: 16px;
    }

    .team-member-modal-nav.next {
        right: 16px;
    }

    /* Services */
    .service-page-header {
        padding: 30px 20px 20px 20px;
    }

    .service-page-header h1 {
        font-size: 36px;
        padding-left: 20px;
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .service-category {
        font-size: 14px;
    }

    .service-tabs {
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 30px;
    }

    .service-tab {
        flex: 1 1 auto;
        padding: 10px 16px;
        font-size: 14px;
        text-align: center;
    }

    .service-content-section {
        padding: 0 20px 30px 20px;
    }

    .service-content-section .text-content ul li {
        font-size: 15px;
    }

    .service-subsection-title {
        font-size: 22px;
        margin-top: 24px;
    }

    .service-news-section {
        padding: 20px;
    }

    .service-news-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .service-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-team-grid {
        gap: 16px;
    }

    section[id] {
        scroll-margin-top: 100px;
    }

    /* News */
    .news-page-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }

    .news-item {
        padding: 20px;
    }

    .news-item h3 {
        font-size: 18px;
    }

    .news-sidebar {
        padding: 20px;
        max-width: 100%;
    }

    .pagination {
        padding: 20px 0;
    }

    /* Desks */
    .desks-grid {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }

    .desk-item h3 {
        font-size: 22px;
    }

    .desk-item p {
        font-size: 14px;
    }

    /* Contact */
    .contact-section {
        padding: 40px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info p {
        font-size: 15px;
    }

    .contact-map {
        height: 300px;
    }

    /* Career */
    .application-forms {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 20px;
        gap: 16px;
    }

    .application-form-btn {
        padding: 30px 24px;
        font-size: 16px;
        min-width: auto;
    }

    /* Blog */
    .blog-post-container {
        padding: 20px;
    }

    .blog-post-title {
        font-size: 26px;
    }

    .blog-post-body {
        font-size: 15px;
    }

    .blog-post-body h2 {
        font-size: 22px;
    }

    .blog-post-body .sun-editor-content p {
        font-size: 15px;
    }

    .blog-post-body .sun-editor-content h2 {
        font-size: 24px;
    }

    .blog-post-body .sun-editor-content h3 {
        font-size: 20px;
    }

    /* Footer */
    #footer {
        padding: 24px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-center {
        position: static;
        transform: none;
    }

    .footer-right {
        margin-left: 0;
    }

    .footer-bottom-text {
        flex-wrap: wrap;
        gap: 8px;
    }

    .anniversary-number {
        font-size: 40px;
    }

    .anniversary-dot {
        font-size: 40px;
    }

    .anniversary-text {
        font-size: 24px;
    }

    .anniversary-description {
        font-size: 13px;
    }

    .footer-info {
        font-size: 12px;
    }

    /* KVKK */
    .kvkk-content h1 {
        font-size: 30px;
    }

    .kvkk-content h3 {
        font-size: 22px;
    }

    .kvkk-content ul li {
        font-size: 15px;
    }

    /* LinkedIn modal */
    .linkedin-modal.active {
        padding: 20px 10px;
    }

    .linkedin-modal-content {
        max-width: 100%;
        padding: 20px;
    }

    /* Search overlay */
    .search-overlay.active {
        padding-top: 60px;
    }

    .search-overlay-content {
        padding: 0 20px;
    }

    .search-overlay-close {
        top: -50px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .search-box-wrapper {
        padding: 15px 20px;
        border-radius: 30px;
    }

    .search-box-icon {
        font-size: 20px;
        margin-right: 15px;
    }

    .search-box-input {
        font-size: 18px;
    }

    /* Custom cursor - hide on touch devices */
    .custom-cursor {
        display: none !important;
    }

    /* Restore normal cursors */
    a, button, .portfolio-icon {
        cursor: pointer !important;
    }

    p, h1, h2, h3, h4, h5, h6, span, li, td, th, label,
    .text-content, .column, .subtitle, .hero-subtitle {
        cursor: auto;
    }
}

/* --- Small phone (480px) --- */
@media (max-width: 480px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .page-hero .hero-subtitle {
        font-size: 14px;
    }

    #text-1564038704767 h1 {
        font-size: 30px;
    }

    .module-id-1564038704637 {
        min-height: calc(100vh - var(--header-height-mobile) - 160px);
    }

    .service-page-header h1 {
        font-size: 30px;
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
        gap: 12px;
    }

    .team-member-name {
        font-size: 13px;
    }

    .team-member-title {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .team-member {
        padding: 0 0 10px 0;
    }

    .team-member-modal-image img {
        max-height: 240px;
    }

    .team-member-modal-info h2 {
        font-size: 22px;
    }

    .team-member-modal-cv-section ul li {
        font-size: 13px;
    }

    .blog-post-title {
        font-size: 22px;
    }

    .anniversary-number {
        font-size: 32px;
    }

    .anniversary-dot {
        font-size: 32px;
    }

    .anniversary-text {
        font-size: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form button {
        width: 100%;
        padding: 14px;
    }

    .blog-post-body p,
    .blog-post-body ul li {
        text-align: left;
    }
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    width: 30px;
    height: 30px;
    background-color: #808080;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, opacity 0.2s ease;
}

.custom-cursor.hidden {
    opacity: 0;
}

/* ===== LINKEDIN FEED MODAL ===== */
.linkedin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
}

.linkedin-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.linkedin-modal-content {
    background-color: white;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.linkedin-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10001;
}

.linkedin-modal-close:hover {
    background-color: #8a0e32;
}

.linkedin-feed-container {
    width: 100%;
    min-height: 500px;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    overflow-y: auto;
}

.search-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
    position: relative;
}

.search-overlay-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.search-overlay-close:hover {
    background-color: white;
    color: #000;
}

.search-box-container {
    width: 100%;
}

.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.search-box-wrapper:focus-within {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.search-box-icon {
    font-size: 24px;
    color: var(--color-meta);
    margin-right: 20px;
    flex-shrink: 0;
}

.search-box-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: var(--color-content);
    background: transparent;
    padding: 0;
}

.search-box-input::placeholder {
    color: #999;
    font-weight: 300;
}

/* ===== TEAM MEMBER MODAL ===== */
.team-member-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
}

.team-member-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 100px;
    overflow: visible;
}

.team-member-modal-content {
    background-color: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
}

.team-member-modal.active .team-member-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.team-member-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10001;
}

.team-member-modal-close:hover {
    background-color: #8a0e32;
}

.team-member-modal-body {
    display: flex;
    gap: 50px;
    padding: 50px;
    align-items: flex-start;
    overflow-x: visible;
    overflow-y: hidden;
    flex: 1;
    min-height: 0;
    transition: opacity 0.2s ease;
}

.team-member-modal-image {
    flex: 0 0 350px;
    align-self: flex-start;
}

.team-member-modal-image img {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
}

.team-member-modal-info {
    flex: 1;
    height: 350px;
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 30px;
    padding-left: 20px;
    position: relative;
}

.team-member-modal-info::-webkit-scrollbar {
    width: 6px;
}

.team-member-modal-info::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.team-member-modal-info::-webkit-scrollbar-thumb {
    background: var(--color-primary-red);
    border-radius: 10px;
}

.team-member-modal-info::-webkit-scrollbar-thumb:hover {
    background: #8a0e32;
}

.team-member-modal-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    overflow: visible;
    position: relative;
    padding-right: 20px;
    z-index: 1;
}

.team-member-modal-info h2 {
    font-size: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-primary-red);
    margin-bottom: 0;
    flex: 1;
}

.team-member-modal-title {
    font-size: 16px;
    color: var(--color-meta);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.team-member-modal-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.team-member-modal-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--color-content);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.team-member-modal-contact-item i {
    color: var(--color-primary-red);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.team-member-modal-contact-item a {
    color: var(--color-content);
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-member-modal-contact-item a:hover {
    color: var(--color-primary-red);
}

.team-member-modal-contact-item:empty,
.team-member-modal-contact-item[style*="display: none"] {
    display: none !important;
}

.team-member-modal-cv-section {
    margin-bottom: 25px;
}

.team-member-modal-cv-section h3 {
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-primary-red);
    margin-bottom: 12px;
}

.team-member-modal-cv-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-member-modal-cv-section ul li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-content);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    padding-left: 0;
    position: relative;
}

.team-member-modal-cv-section ul li::before {
    content: '–';
    color: var(--color-primary-red);
    margin-right: 8px;
}

.team-member-modal-cv {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-content);
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-align: justify;
}

.team-member-modal-linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: -5px;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.team-member-modal-linkedin-icon:hover {
    background-color: #005885;
    transform: scale(1.15);
}

.team-member-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-primary-red);
    border-radius: 50%;
    color: var(--color-primary-red);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-member-modal-nav:hover {
    background-color: var(--color-primary-red);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.team-member-modal-nav.prev {
    left: 20px;
}

.team-member-modal-nav.next {
    right: 20px;
}

.team-member-modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.team-member {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

/* ===== BLOG POST PAGE ===== */
.blog-post-container {
    display: flex;
    gap: 60px;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.blog-post-content {
    flex: 1;
    min-width: 0;
}

.blog-post {
    background: white;
}

.blog-post-title {
    font-size: 38px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--color-meta);
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    flex-wrap: wrap;
}

.blog-post-separator {
    color: var(--color-meta);
}

.blog-post-category {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #e0e0e0;
}

.blog-post-authors .author-link,
.news-item-authors .author-link {
    color: var(--color-primary-red);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.blog-post-authors .author-link:hover,
.news-item-authors .author-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.blog-post-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-content);
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
}

/* SunEditor content styles */
.blog-post-body .sun-editor-content {
    font-family: 'Poppins', sans-serif;
}

.blog-post-body .sun-editor-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    font-size: 18px;
    color: var(--color-content);
}

.blog-post-body .sun-editor-content h1,
.blog-post-body .sun-editor-content h2,
.blog-post-body .sun-editor-content h3,
.blog-post-body .sun-editor-content h4,
.blog-post-body .sun-editor-content h5,
.blog-post-body .sun-editor-content h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--color-title);
    line-height: 1.3;
}

.blog-post-body .sun-editor-content h2 {
    font-size: 32px;
}

.blog-post-body .sun-editor-content h3 {
    font-size: 28px;
}

.blog-post-body .sun-editor-content ul,
.blog-post-body .sun-editor-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.blog-post-body .sun-editor-content li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

.blog-post-body .sun-editor-content blockquote {
    border-left: 4px solid var(--color-primary-red);
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: #666;
}

.blog-post-body .sun-editor-content a {
    color: var(--color-primary-red);
    text-decoration: underline;
}

.blog-post-body .sun-editor-content a:hover {
    color: #8a0e32;
}

/* SunEditor image container */
.blog-post-body .sun-editor-content .se-component.se-image-container {
    margin: 2em 0;
    max-width: 100%;
}

.blog-post-body .sun-editor-content .se-component.se-image-container figure {
    margin: 0;
    text-align: center;
}

.blog-post-body .sun-editor-content .se-component.se-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-post-body .sun-editor-content .se-component.se-image-container.__se__float-left {
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
    max-width: 50%;
}

.blog-post-body .sun-editor-content .se-component.se-image-container.__se__float-right {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
    max-width: 50%;
}

.blog-post-body .sun-editor-content .se-component.se-image-container.__se__float-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* SunEditor table styles */
.blog-post-body .sun-editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 16px;
}

.blog-post-body .sun-editor-content table td,
.blog-post-body .sun-editor-content table th {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.blog-post-body .sun-editor-content table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* Clear floats */
.blog-post-body .sun-editor-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Outline List Styles (Çok Seviyeli Numaralandırma) */
.blog-post-body .sun-editor-content .outline-list {
    list-style-type: none;
    counter-reset: item;
    padding-left: 0;
    margin: 1.5em 0;
}

.blog-post-body .sun-editor-content .outline-list > li {
    position: relative;
    padding-left: 2.5em;
    margin-bottom: 0.8em;
    min-height: 1.5em;
    line-height: 1.8;
}

.blog-post-body .sun-editor-content .outline-list .outline-number {
    position: absolute;
    left: 0;
    font-weight: 600;
    min-width: 2em;
    color: var(--color-primary-red);
    font-family: 'Poppins', sans-serif;
}

/* Nested outline lists */
.blog-post-body .sun-editor-content .outline-list .outline-list {
    margin-top: 0.5em;
    margin-left: 1.5em;
    margin-bottom: 0.5em;
}

/* Dynamic numbering for nested lists */
.blog-post-body .sun-editor-content .outline-list[data-levels="2"] > li .outline-number::before {
    content: counter(item) "." counter(item) " ";
}

.blog-post-body .sun-editor-content .outline-list[data-levels="3"] > li .outline-number::before {
    content: counter(item) "." counter(item) "." counter(item) " ";
}

.blog-post-body .sun-editor-content .outline-list[data-levels="4"] > li .outline-number::before {
    content: counter(item) "." counter(item) "." counter(item) "." counter(item) " ";
}

.blog-post-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.blog-post-body h2 {
    font-size: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-post-body ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    text-align: justify;
}

.blog-post-link {
    color: var(--color-primary-red);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-post-link:hover {
    color: #8a0e32;
}

.blog-sidebar {
    flex: 0 0 320px;
    min-width: 280px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-title);
    margin-bottom: 20px;
}

.sidebar-search {
    position: relative;
}

.sidebar-search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    color: var(--color-content);
    transition: border-color 0.3s ease;
}

.sidebar-search-input:focus {
    outline: none;
    border-color: var(--color-primary-red);
}

.sidebar-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-posts-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-posts-list a {
    color: var(--color-content);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    text-align: left;
}

.sidebar-posts-list a:hover {
    color: var(--color-primary-red);
}

.sidebar-archive-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    color: var(--color-content);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23808080' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    transition: border-color 0.3s ease;
}

.sidebar-archive-select:focus {
    outline: none;
    border-color: var(--color-primary-red);
}


