/* HDİ İnşaat - Exact Design System */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary), Arial, Helvetica, sans-serif;
    font-size: var(--base-font-size);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-body);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary), Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
}

/* Geometric Background Patterns (Single Large Symmetric Chevron matching original site) */
.hdi-bg-navy-geo {
    background-color: #111e2b;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%201440%20500%22%20preserveAspectRatio%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolygon%20points%3D%22720%2C0%20190%2C500%20720%2C500%22%20fill%3D%22%23172b3d%22%2F%3E%3Cpolygon%20points%3D%22720%2C0%20720%2C500%201250%2C500%22%20fill%3D%22%23142433%22%2F%3E%3C%2Fsvg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.hdi-bg-ice-geo {
    background-color: #f3f9fd;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%201440%20500%22%20preserveAspectRatio%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolygon%20points%3D%22720%2C0%20190%2C500%20720%2C500%22%20fill%3D%22%23e6f3fa%22%2F%3E%3Cpolygon%20points%3D%22720%2C0%20720%2C500%201250%2C500%22%20fill%3D%22%23ebf6fc%22%2F%3E%3C%2Fsvg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.hdi-bg-footer-geo {
    background-color: #111111;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%201440%20500%22%20preserveAspectRatio%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolygon%20points%3D%22720%2C0%20190%2C500%20720%2C500%22%20fill%3D%22%23191919%22%2F%3E%3Cpolygon%20points%3D%22720%2C0%20720%2C500%201250%2C500%22%20fill%3D%22%23151515%22%2F%3E%3C%2Fsvg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Subtle vertical grid lines on white sections */
.hdi-grid-lines {
    position: relative;
}
.hdi-grid-lines::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(230, 243, 250, 0.75) 1px, transparent 1px);
    background-size: 25% 100%;
    max-width: 1320px;
    margin: 0 auto;
    z-index: 0;
}
.hdi-grid-lines > .hdi-container {
    position: relative;
    z-index: 1;
}

.hdi-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Buttons (Sharp 0px corners + corner triangle accent) */
.hdi-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary), sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary) 0%, #d4440e 100%);
    padding: 18px 42px 20px 42px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}
.hdi-btn-primary:hover {
    background: linear-gradient(135deg, #d4440e 0%, #b83809 100%);
    transform: translateY(-1px);
}
.hdi-btn-primary::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 12px 12px;
    border-color: transparent transparent rgba(255, 255, 255, 0.25) transparent;
}

.hdi-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: var(--font-primary), sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    background: transparent;
    padding: 17px 36px 19px 36px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}
.hdi-btn-outline::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 14px 14px;
    border-color: transparent transparent var(--color-primary) transparent;
    transition: border-color 0.25s ease;
}
.hdi-btn-outline:hover {
    border-color: var(--color-primary);
    background-color: rgba(238, 85, 25, 0.12);
}
.hdi-btn-outline-white::after {
    border-color: transparent transparent #ffffff transparent;
}

/* ==================== HEADER ==================== */
.hdi-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 99px;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.hdi-header.scrolled {
    background-color: #22425c;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.hdi-logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

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

.hdi-nav > li {
    position: relative;
}

.hdi-nav > li > a {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    padding: 12px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    position: relative;
}

.hdi-nav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.hdi-nav > li > a:hover,
.hdi-nav > li.active > a {
    color: var(--color-primary);
}
.hdi-nav > li.active > a::after,
.hdi-nav > li > a:hover::after {
    transform: scaleX(1);
}

/* Mega Menu */
.hdi-mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 99px;
    background-color: #ffffff;
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    padding: 36px 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}
.hdi-has-mega:hover .hdi-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hdi-mega-item {
    border-right: 1px solid #e6f3fa;
    padding-right: 24px;
}
.hdi-mega-item:last-child {
    border-right: none;
}
.hdi-mega-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}
.hdi-mega-item:hover h4 {
    color: var(--color-primary);
}
.hdi-mega-item p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-body);
}

.hdi-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hdi-drawer-trigger {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(3, 5px);
    gap: 4px;
    padding: 8px;
}
.hdi-drawer-trigger span {
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    display: block;
    transition: background-color 0.2s;
}
.hdi-drawer-trigger:hover span {
    background-color: var(--color-primary);
}

.hdi-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
}

/* Off-Canvas Drawer */
.hdi-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.hdi-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.hdi-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background-color: var(--color-navy);
    color: #ffffff;
    z-index: 2000;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.3s ease;
    overflow-y: auto;
}
.hdi-drawer.open {
    right: 0;
}
.hdi-drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}
.hdi-drawer-nav {
    list-style: none;
    margin-top: 32px;
}
.hdi-drawer-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hdi-drawer-nav a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
}
.hdi-drawer-nav a:hover {
    color: var(--color-primary);
}
.hdi-drawer-info {
    margin-top: 32px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hdi-drawer-info a:hover {
    color: var(--color-primary);
}

/* ==================== HERO SLIDER ==================== */
.hdi-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-navy);
}
.hdi-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    transition: transform 0.85s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}
.hdi-hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.hdi-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(17, 34, 48, 0.42) 0%, rgba(17, 34, 48, 0.18) 55%, rgba(17, 34, 48, 0.32) 100%);
    pointer-events: none;
}
.hdi-hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%201440%20500%22%20preserveAspectRatio%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolygon%20points%3D%22720%2C0%20190%2C500%20720%2C500%22%20fill%3D%22rgba%2817%2C30%2C43%2C0.18%29%22%2F%3E%3Cpolygon%20points%3D%22720%2C0%20720%2C500%201250%2C500%22%20fill%3D%22rgba%2817%2C30%2C43%2C0.10%29%22%2F%3E%3C%2Fsvg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.hdi-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 72px 80px;
    max-width: 1440px;
    margin: 0 auto;
}
.hdi-hero-title {
    font-size: var(--h1-size);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 34px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.hdi-hero-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.hdi-hero-contacts {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
}
.hdi-hero-contacts a:hover {
    color: var(--color-primary);
}
.hdi-hero-dots {
    position: absolute;
    bottom: 18px;
    right: 80px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hdi-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}
.hdi-hero-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
}

/* ==================== 4 SERVICE HIGHLIGHTS ==================== */
.hdi-services-band {
    padding: 80px 80px;
}
.hdi-services-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}
.hdi-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hdi-service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 16px;
}
.hdi-service-card p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}
.hdi-service-more {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    margin-bottom: 18px;
}
.hdi-service-more:hover {
    color: var(--color-primary);
}
.hdi-service-bar {
    height: 5px;
    width: 100%;
    background-color: var(--color-steel);
}

/* ==================== WHY US SECTION ==================== */
.hdi-why-section {
    padding: 100px 0;
}
.hdi-why-h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 36px;
}
.hdi-why-lead {
    font-size: var(--h1-size);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.25;
    max-width: 820px;
    margin-bottom: 32px;
}
.hdi-why-list {
    list-style: none;
    margin-bottom: 40px;
}
.hdi-why-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 300;
    color: var(--color-body);
    margin-bottom: 6px;
}
.hdi-why-list li .check-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #5cb85c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    flex-shrink: 0;
}
.hdi-why-divider {
    width: 160px;
    height: 5px;
    background-color: #c5e1f2;
    margin-bottom: 36px;
}
.hdi-why-bottom {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
}
.hdi-why-intro {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 44px;
}
.hdi-stat-number {
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: 18px;
}
.hdi-stat-text {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-body);
}
.hdi-why-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.hdi-why-images img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

/* ==================== MARQUEE (KAYAN YAZI) ==================== */
.hdi-marquee-band {
    background-color: #ffffff;
    border-top: 1px solid var(--color-ice);
    border-bottom: 1px solid var(--color-ice);
    padding: 40px 0;
    overflow: hidden;
    position: relative;
}
.hdi-marquee-mask {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.hdi-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}
.hdi-marquee-left {
    animation: hdiMarqueeLeft var(--marquee-speed-1, 40s) linear infinite;
}
.hdi-marquee-right {
    animation: hdiMarqueeRight var(--marquee-speed-2, 25s) linear infinite;
}
.hdi-marquee-band:hover .hdi-marquee-track {
    animation-play-state: paused;
}

.hdi-marquee-outline-text {
    font-family: var(--font-display), var(--font-primary), sans-serif;
    font-size: var(--marquee-size);
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
    color: #ffffff;
    -webkit-text-stroke: 1.2px var(--color-steel);
    white-space: nowrap;
    padding-right: 60px;
}

.hdi-marquee-sub-text {
    font-family: var(--font-primary), sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-dark);
    white-space: nowrap;
    padding-right: 60px;
    margin-top: 12px;
}

.hdi-marquee-orange-outline {
    font-family: var(--font-display), var(--font-primary), sans-serif;
    font-size: var(--marquee-size);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    -webkit-text-stroke: 1.2px var(--color-primary);
    white-space: nowrap;
    padding-right: 80px;
}

@keyframes hdiMarqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes hdiMarqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ==================== VALUES SECTION ==================== */
.hdi-values-header {
    padding: 80px 0 48px;
}
.hdi-values-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.hdi-values-header h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 10px;
}
.hdi-values-header p {
    font-size: 46px;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.25;
}

.hdi-values-grid-wrap {
    padding-bottom: 90px;
}
.hdi-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.hdi-value-card {
    position: relative;
    height: 460px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: #ffffff;
}
.hdi-value-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 0;
}
.hdi-value-card:hover img {
    transform: scale(1.06);
}
.hdi-value-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.05) 20%, rgba(17, 17, 17, 0.92) 100%);
    z-index: 1;
}
.hdi-value-card-content {
    position: relative;
    z-index: 2;
}
.hdi-value-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.hdi-value-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 22px;
}
.hdi-value-bar {
    width: 64px;
    height: 5px;
    background-color: var(--color-steel);
    transition: width 0.3s ease, background-color 0.3s ease;
}
.hdi-value-card:hover .hdi-value-bar {
    width: 100%;
    background-color: var(--color-primary);
}

/* ==================== BIZ KIMIZ (ABOUT SPLIT) ==================== */
.hdi-about-split-wrap {
    padding-bottom: 100px;
}
.hdi-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 760px;
}
.hdi-about-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hdi-about-split-content {
    background-color: var(--color-navy);
    padding: 80px 72px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hdi-about-eyebrow {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 18px;
}
.hdi-about-split-content h3 {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 32px;
}
.hdi-about-split-content p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px;
}
.hdi-about-split-actions {
    margin-top: 20px;
}

/* ==================== PROJECTS SECTION ==================== */
.hdi-projects-section {
    padding: 96px 0;
}
.hdi-projects-section h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 10px;
}
.hdi-projects-subtitle {
    font-size: 46px;
    font-weight: 300;
    color: var(--color-dark);
    margin-bottom: 52px;
}
.hdi-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}
.hdi-project-card {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(23, 44, 61, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.hdi-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(23, 44, 61, 0.12);
}
.hdi-project-card-head {
    padding: 36px 40px 28px;
}
.hdi-project-card-head h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-steel);
    text-decoration: underline;
    text-underline-offset: 6px;
    margin-bottom: 12px;
}
.hdi-project-card-head p {
    font-size: 16px;
    color: var(--color-body);
}
.hdi-project-card-media {
    position: relative;
    height: 360px;
    overflow: hidden;
    margin-top: auto;
}
.hdi-project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hdi-project-card:hover .hdi-project-card-media img {
    transform: scale(1.04);
}
.hdi-project-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    background-color: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: background-color 0.25s;
}
.hdi-project-card:hover .hdi-project-arrow {
    background-color: #d4440e;
}

/* ==================== BOTTOM MARQUEE ==================== */
.hdi-bottom-marquee {
    background: #ffffff;
    padding: 30px 0;
    overflow: hidden;
}

/* ==================== FOOTER ==================== */
.hdi-footer {
    color: rgba(255, 255, 255, 0.62);
    padding: 80px 0 40px;
}
.hdi-footer-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hdi-footer-headline {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}
.hdi-newsletter-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}
.hdi-newsletter-form {
    display: flex;
    align-items: center;
    gap: 18px;
}
.hdi-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 15px;
    padding: 14px 4px;
    outline: none;
    font-family: inherit;
}
.hdi-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}
.hdi-newsletter-input:focus {
    border-bottom-color: var(--color-primary);
}

.hdi-footer-middle {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hdi-footer-logo img {
    height: 46px;
    margin-bottom: 24px;
}
.hdi-social-row {
    display: flex;
    gap: 12px;
}
.hdi-social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
}
.hdi-social-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.hdi-footer-col h4 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
}
.hdi-footer-col p,
.hdi-footer-col a {
    font-size: 15px;
    line-height: 1.9;
    display: block;
}
.hdi-footer-col a {
    color: #5b9bd5;
}
.hdi-footer-col a:hover {
    color: var(--color-primary);
}
.hdi-footer-bottom {
    padding-top: 32px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

/* Scroll to top button */
.hdi-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    background-color: var(--color-steel);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 900;
}
.hdi-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.hdi-scroll-top:hover {
    background-color: var(--color-primary);
}

/* ==================== SUBPAGE STYLES ==================== */
.hdi-page-banner {
    padding: 72px 80px;
    color: #ffffff;
}
.hdi-page-banner h1 {
    font-size: 52px;
    color: #ffffff;
    margin-bottom: 12px;
}
.hdi-breadcrumb {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}
.hdi-breadcrumb a:hover {
    color: var(--color-primary);
}

/* Detail Pages (Project & Service) */
.hdi-detail-section {
    padding: 80px 0;
}
.hdi-detail-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 48px;
    align-items: start;
}
.hdi-service-detail-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
}
.hdi-detail-main {
    min-width: 0;
}
.hdi-detail-cover {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    margin-bottom: 32px;
    display: block;
}
.hdi-detail-title {
    font-size: 36px;
    margin-bottom: 18px;
    line-height: 1.25;
}
.hdi-detail-sidebar {
    background: var(--color-navy);
    color: #fff;
    padding: 40px;
}

/* Gallery Grid */
.hdi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hdi-gallery-item {
    position: relative;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    background: #f1f1f1;
}
.hdi-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hdi-gallery-item:hover img {
    transform: scale(1.07);
}

/* ==================== LIGHTBOX POPUP GALLERY ==================== */
.hdi-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 30, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    backdrop-filter: blur(4px);
}
.hdi-lightbox.open {
    display: flex;
}
.hdi-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hdi-lightbox-img {
    max-width: 86vw;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.12);
}
.hdi-lightbox-counter {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
}
.hdi-lightbox-close,
.hdi-lightbox-prev,
.hdi-lightbox-next {
    position: fixed;
    background: rgba(23, 44, 61, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
    z-index: 10000;
}
.hdi-lightbox-close:hover,
.hdi-lightbox-prev:hover,
.hdi-lightbox-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.hdi-lightbox-close {
    top: 22px;
    right: 26px;
    width: 46px;
    height: 46px;
    font-size: 28px;
}
.hdi-lightbox-prev,
.hdi-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 56px;
    font-size: 26px;
}
.hdi-lightbox-prev { left: 22px; }
.hdi-lightbox-next { right: 22px; }

/* Contact Page Split */
.hdi-contact-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    box-shadow: 0 20px 60px rgba(23, 44, 61, 0.12);
    background: #ffffff;
}
.hdi-contact-left {
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 56px 48px;
}
.hdi-contact-right {
    padding: 56px 56px;
}
.hdi-form-group {
    margin-bottom: 24px;
}
.hdi-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9e5ee;
    font-family: inherit;
    font-size: 16px;
    color: var(--color-dark);
    outline: none;
    transition: border-color 0.2s;
}
.hdi-form-control:focus {
    border-color: var(--color-primary);
}

/* Alert messages */
.hdi-alert-success {
    background: #e8f8ef;
    border-left: 4px solid #2ecc71;
    color: #1e6b3d;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-weight: 500;
}
.hdi-alert-error {
    background: #fdecec;
    border-left: 4px solid #e74c3c;
    color: #96281b;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1180px) {
    .hdi-header { padding: 0 32px; }
    .hdi-hero-content { padding: 60px 32px; }
    .hdi-services-band { padding: 64px 32px; }
    .hdi-services-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .hdi-values-grid { grid-template-columns: repeat(2, 1fr); }
    .hdi-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .hdi-nav, .hdi-header-cta { display: none; }
    .hdi-mobile-toggle { display: inline-flex; }
    .hdi-why-bottom,
    .hdi-about-split,
    .hdi-projects-grid,
    .hdi-footer-top,
    .hdi-footer-middle,
    .hdi-contact-card,
    .hdi-detail-grid,
    .hdi-service-detail-grid {
        grid-template-columns: 1fr;
    }
    .hdi-detail-section { padding: 48px 0; }
    .hdi-detail-grid,
    .hdi-service-detail-grid { gap: 32px; }
    .hdi-detail-title { font-size: 28px; }
    .hdi-detail-sidebar { padding: 28px 22px; }
    .hdi-page-banner { padding: 48px 0; }
    .hdi-page-banner h1 { font-size: 34px; line-height: 1.2; }
    .hdi-about-split-content { padding: 48px 32px; }
    .hdi-hero-title { font-size: 40px; }
    .hdi-why-lead { font-size: 38px; }
    .hdi-why-h2, .hdi-values-header h2, .hdi-projects-section h2 { font-size: 34px; }
    .hdi-marquee-outline-text, .hdi-marquee-orange-outline { font-size: 56px; }
    .hdi-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hdi-header { padding: 0 20px; }
    .hdi-container { padding: 0 20px; }
    .hdi-page-banner { padding: 36px 0; }
    .hdi-page-banner h1 { font-size: 28px; }
    .hdi-detail-section { padding: 36px 0; }
    .hdi-detail-cover { max-height: 260px; margin-bottom: 22px; }
    .hdi-detail-title { font-size: 24px; }
    .hdi-services-grid,
    .hdi-values-grid,
    .hdi-why-images {
        grid-template-columns: 1fr;
    }
    .hdi-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hdi-gallery-item {
        height: 155px;
    }
    .hdi-newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .hdi-scroll-top {
        right: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
    }
}

/* ==================== PDF CATALOG VIEWER ==================== */
.hdi-catalog-section {
    margin: 40px 0 48px;
}

.hdi-catalog-trigger-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #0f1e2a 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 14px 34px rgba(17, 30, 42, 0.14);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hdi-catalog-trigger-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(17, 30, 42, 0.22);
}

.hdi-catalog-trigger-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hdi-pdf-badge {
    width: 52px;
    height: 60px;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 14px rgba(220, 38, 38, 0.35));
}

.hdi-pdf-badge svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hdi-catalog-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.hdi-catalog-trigger-meta h3 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 4px;
}

.hdi-catalog-trigger-meta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    margin: 0;
}

.hdi-catalog-trigger-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hdi-catalog-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 18px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.hdi-catalog-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hdi-catalog-download-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.hdi-catalog-viewer {
    margin-top: 16px;
    background: #14171c;
    border: 1px solid #262c36;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.hdi-catalog-viewer.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    margin: 0;
    display: flex;
    flex-direction: column;
    border: none;
}

.hdi-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: #1d222a;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.hdi-catalog-toolbar-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.hdi-catalog-page-indicator {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #f3c677;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
}

.hdi-catalog-toolbar-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hdi-catalog-tool-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hdi-catalog-tool-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hdi-catalog-tool-btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.hdi-catalog-tool-btn-primary:hover {
    background: #d94a12;
}

.hdi-catalog-scroll-area {
    max-height: 82vh;
    overflow-y: auto;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    scroll-behavior: smooth;
}

.hdi-catalog-viewer.is-fullscreen .hdi-catalog-scroll-area {
    max-height: none;
    flex: 1;
}

.hdi-catalog-page {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hdi-catalog-page img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hdi-catalog-page-num {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .hdi-catalog-trigger-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .hdi-catalog-trigger-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .hdi-catalog-scroll-area {
        padding: 16px 10px;
        gap: 16px;
        max-height: 75vh;
    }
}

/* Project Detail Full-Width 6-Column Gallery */
.hdi-project-gallery-wrap,
.hdi-project-videos-wrap {
    margin-top: 52px;
}

.hdi-project-section-heading {
    font-size: 26px;
    margin: 0 0 24px;
}

.hdi-project-gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.hdi-project-gallery-grid .hdi-gallery-item {
    height: 195px;
}

.hdi-video-grid-wide {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1180px) {
    .hdi-project-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .hdi-video-grid-wide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .hdi-project-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hdi-project-gallery-wrap,
    .hdi-project-videos-wrap {
        margin-top: 36px;
    }
    .hdi-project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hdi-project-gallery-grid .hdi-gallery-item {
        height: 155px;
    }
    .hdi-video-grid-wide {
        grid-template-columns: 1fr;
    }
}

/* ==================== PROJECT VIDEO GALLERY ==================== */
.hdi-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hdi-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(17, 30, 42, 0.14);
    border: 1px solid rgba(23, 44, 61, 0.12);
}

.hdi-video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .hdi-video-grid {
        grid-template-columns: 1fr;
    }
}


/* ==================== KVKK, COOKIE POLICY & LEGAL PAGES ==================== */
.hdi-legal-section {
    padding: 72px 0 96px;
}

.hdi-legal-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 40px;
    align-items: start;
}

.hdi-legal-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hdi-legal-nav-card {
    background: #ffffff;
    border: 1px solid rgba(23, 44, 61, 0.1);
    box-shadow: 0 12px 32px rgba(17, 30, 42, 0.06);
    padding: 24px;
}

.hdi-legal-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-ice);
}

.hdi-legal-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hdi-legal-nav-list li a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-navy);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.hdi-legal-nav-list li a:hover {
    background: var(--color-ice);
    color: var(--color-primary);
}

.hdi-legal-nav-list li.active a {
    background: var(--color-ice);
    color: var(--color-primary);
    font-weight: 700;
    border-left-color: var(--color-primary);
}

.hdi-legal-cookie-cta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(23, 44, 61, 0.08);
}

.hdi-legal-contact-card {
    padding: 26px 24px;
    color: rgba(255, 255, 255, 0.86);
}

.hdi-legal-contact-card h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 12px;
}

.hdi-legal-contact-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.hdi-legal-contact-card a {
    color: var(--color-ice);
    text-decoration: underline;
}

.hdi-legal-content {
    background: #ffffff;
    border: 1px solid rgba(23, 44, 61, 0.08);
    box-shadow: 0 12px 32px rgba(17, 30, 42, 0.05);
    padding: 44px 48px;
}

.hdi-legal-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-steel);
    background: var(--color-ice);
    padding: 10px 16px;
    margin-bottom: 28px;
}

.hdi-legal-content h2 {
    font-size: 24px;
    color: var(--color-navy);
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(23, 44, 61, 0.1);
}

.hdi-legal-content h2:first-of-type {
    margin-top: 0;
}

.hdi-legal-content h3 {
    font-size: 18px;
    color: var(--color-navy);
    margin: 22px 0 10px;
}

.hdi-legal-content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-body);
    margin-bottom: 14px;
}

.hdi-legal-content ul {
    margin: 0 0 18px 20px;
    padding: 0;
}

.hdi-legal-content ul li {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--color-body);
    margin-bottom: 8px;
}

.hdi-legal-content a {
    color: var(--color-primary);
    font-weight: 600;
}

.hdi-legal-content a:hover {
    text-decoration: underline;
}

.hdi-legal-info-box {
    background: #f8fbfd;
    border-left: 4px solid var(--color-primary);
    padding: 18px 22px;
    margin: 18px 0 24px;
}

.hdi-legal-info-box p {
    margin-bottom: 6px;
    font-size: 15px;
}

.hdi-legal-info-box p:last-child {
    margin-bottom: 0;
}

.hdi-legal-table-wrap {
    overflow-x: auto;
    margin: 18px 0 26px;
}

.hdi-legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.hdi-legal-table th {
    background: var(--color-navy);
    color: #ffffff;
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
}

.hdi-legal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(23, 44, 61, 0.1);
    color: var(--color-body);
    vertical-align: top;
}

.hdi-legal-table tr:nth-child(even) td {
    background: #f9fbfd;
}

.hdi-legal-callout {
    margin-top: 32px;
    padding: 26px 28px;
    background: var(--color-ice);
    border: 1px solid rgba(53, 102, 141, 0.2);
}

.hdi-legal-callout h4 {
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.hdi-legal-callout p {
    margin-bottom: 18px;
}

/* KVKK Form & Checkboxes */
.hdi-legal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hdi-legal-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.hdi-legal-form .req {
    color: var(--color-primary);
}

.hdi-kvkk-check-wrap {
    margin: 16px 0 22px;
}

.hdi-kvkk-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--color-body) !important;
    line-height: 1.55;
    cursor: pointer;
}

.hdi-kvkk-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 17px;
    height: 17px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.hdi-kvkk-checkbox a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Newsletter KVKK Checkbox */
.hdi-newsletter-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hdi-newsletter-kvkk {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.hdi-newsletter-kvkk input[type="checkbox"] {
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.hdi-newsletter-kvkk a {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer Legal Bar */
.hdi-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 22px;
    padding: 24px 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
}

.hdi-footer-legal a,
.hdi-footer-cookie-btn {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.hdi-footer-legal a:hover,
.hdi-footer-cookie-btn:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Cookie Consent Banner */
.hdi-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: rgba(17, 30, 42, 0.97);
    color: #ffffff;
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
    padding: 18px 0;
    transform: translateY(115%);
    transition: transform 0.3s ease;
}

.hdi-cookie-banner.visible {
    transform: translateY(0);
}

.hdi-cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hdi-cookie-banner-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: #ffffff;
}

.hdi-cookie-banner-text p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.hdi-cookie-banner-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.hdi-cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hdi-cookie-btn-primary,
.hdi-cookie-btn-secondary,
.hdi-cookie-btn-ghost {
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hdi-cookie-btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.hdi-cookie-btn-primary:hover {
    filter: brightness(1.08);
}

.hdi-cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

.hdi-cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hdi-cookie-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.22);
}

.hdi-cookie-btn-ghost:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* Cookie Preferences Modal */
.hdi-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(11, 21, 30, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hdi-cookie-modal.open {
    display: flex;
}

.hdi-cookie-modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border-top: 4px solid var(--color-primary);
}

.hdi-cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(23, 44, 61, 0.1);
}

.hdi-cookie-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--color-navy);
}

.hdi-cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--color-navy);
    cursor: pointer;
}

.hdi-cookie-modal-body {
    padding: 22px 24px;
}

.hdi-cookie-modal-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-body);
    margin-bottom: 18px;
}

.hdi-cookie-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(23, 44, 61, 0.12);
    margin-bottom: 12px;
    cursor: pointer;
}

.hdi-cookie-pref-item strong {
    display: block;
    font-size: 15px;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.hdi-cookie-pref-item p {
    margin: 0;
    font-size: 13px;
    color: var(--color-body);
    line-height: 1.5;
}

.hdi-cookie-always-on {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-steel);
    background: var(--color-ice);
    padding: 5px 10px;
    white-space: nowrap;
}

.hdi-cookie-switch {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
    cursor: pointer;
}

.hdi-cookie-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(23, 44, 61, 0.1);
}

.hdi-cookie-modal-footer .hdi-cookie-btn-secondary {
    background: var(--color-navy);
    color: #ffffff;
    border-color: var(--color-navy);
}

.hdi-cookie-policy-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
}

.hdi-cookie-modal-btns {
    display: flex;
    gap: 10px;
}

@media (max-width: 992px) {
    .hdi-legal-layout {
        grid-template-columns: 1fr;
    }
    .hdi-legal-sidebar {
        position: static;
    }
    .hdi-legal-content {
        padding: 30px 24px;
    }
    .hdi-cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hdi-legal-form-grid {
        grid-template-columns: 1fr;
    }
    .hdi-cookie-banner-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .hdi-cookie-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .hdi-cookie-modal-btns {
        justify-content: flex-end;
    }
}
