:root {
    --color1: #0A314C;
    --color2: #E94022;
    --color3: #9E9E9E;
    --color4: #FAFAFA;
    --color5: #0A314C;
    --color6: #363a34;
    --color7: #FFF;
    --color8: #000;
    --color9: #578B40;

    --font-size-xsmall: 0.875rem;
    /* ~14px */
    --font-size-small: 1rem;
    /* ~16px */
    --font-size-medium: 1.5rem;
    /* ~24px */
    --font-size-large: 2rem;
    /* ~32px */
    --font-size-xlarge: 2.5rem;
    /* ~40px */
    --font-size-xxlarge: 4rem;
    /* ~64px */
    --font-size-xxxlarge: 4.6875rem;
    /* ~75px */

}


.font-xsmall {
    font-size: var(--font-size-xsmall);

}

.font-small {
    font-size: var(--font-size-small);

}

.font-medium {
    font-size: var(--font-size-medium) !important;

}

.font-large {
    font-size: var(--font-size-large) !important;

}

.font-xlarge {
    font-size: var(--font-size-xlarge);

}

.font-xxlarge {
    font-size: var(--font-size-xxlarge);

}

.font-xxxlarge {
    font-size: var(--font-size-xxxlarge);

}

html {

    scroll-behavior: smooth;
}

::selection {
    background-color: var(--color2);
    color: var(--color7);
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(159, 159, 159, 0.334);
    border-radius: 0px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color3);

    border-radius: 0px;
}


::-webkit-scrollbar-thumb:hover {
    background: var(--color1);
}

body {
    font-family: "Titillium Web", serif;

}

.color1 {
    color: var(--color1);
}

.color2 {
    color: var(--color2);
}

.color3 {
    color: var(--color3);
}

.color4 {
    color: var(--color4);
}

.color5 {
    color: var(--color5);
}

.color6 {
    color: var(--color6);
}

.color7 {
    color: var(--color7);
}

.color9 {
    color: var(--color9);
}

.bg-color1 {
    background-color: var(--color1);
}

.bg-color2 {
    background-color: var(--color2);
}

.bg-color3 {
    background-color: var(--color3);
}

.bg-color4 {
    background-color: var(--color4);
}

.font-titillium {
    font-family: "Titillium Web", serif !important;
}

.bg-map {

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

}

.fix {
    z-index: 99;
    position: fixed !important;
    width: 100%;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, top 0.3s ease-in-out;
}

.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    /* Hafif saydam arkaplan */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Hafif gölge efekti */
}

button[data-collapse-toggle]:hover svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

/* Hover ile dönüşü engelleme */
.no-hover-rotate:hover {
    transform: none !important;
}

/* Tailwind'in hover kaynaklı dönüşünü tamamen iptal etme */
.no-hover-rotate {
    transition: transform 0.3s ease-in-out;
}

.rotate-180 {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

.steelimg {
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 10px;
}

.polygon {
    clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 0% 100%, 0% 20%, 14.5% 0%);
}

.polygon-second {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 14.5% 100%, 0% 80%, 0% 50%);
    ;
}

.bgcards .cardbs {
    background-color: var(--color1);
}

.bgcards .cardbs h3 {
    color: var(--color4);
}

.bgcards .cardbs svg path {
    fill: var(--color2) !important;
}

.bgcards:hover .cardbs svg path {
    fill: var(--color4) !important;

}

.bgcards:hover .cardbs {
    background-color: var(--color2) !important;

}

.bgcards:hover .cardb h3 {

    color: var(--color4);
}

.bgcard .cardb {
    background-color: var(--color4);

}

.bgcard .cardb h3 {

    color: var(--color1);
}

.bgcard:hover .cardb {
    background-color: var(--color1);

}

.bgcard:hover .cardb h3 {

    color: var(--color4);
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color, #E94022) !important;
}

.swiper-pagination-bullet {
    border-radius: 0px !important;
    background: #dc2626 !important;
    opacity: 0.2;

}
.banner{
    padding: 0;
    height: 70vh;
}

.banner-second{
    padding: 86px 0;
}
.font-mediumm{
    font-weight: 600;
}

/* =============================================
   BANNER TEXT ANIMATION
   ============================================= */

.banner-title {
        max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: bannerReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.banner-line {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: bannerLineReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.banner-desc {
    opacity: 0;
    transform: translateY(20px);
    animation: bannerReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

@keyframes bannerReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bannerLineReveal {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* =============================================
   VIDEO PLAY BUTTON ANIMATION
   ============================================= */

.video-play-btn {
    animation: videoBtnFloat 2.5s ease-in-out infinite, videoBtnPulse 2s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.video-play-btn:hover {
    animation-play-state: paused;
    transform: scale(1.12);
}

.video-play-btn:active {
    transform: scale(0.95);
}

@keyframes videoBtnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes videoBtnPulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(233, 64, 34, 0)); }
    50% { filter: drop-shadow(0 0 18px rgba(233, 64, 34, 0.45)); }
}

/* =============================================
   MEGA DROPDOWN ANIMATION
   ============================================= */

.mega-dropdown {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.mega-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =============================================
   SERVICE CARD ANIMATIONS
   ============================================= */

.service-card-link {
    display: block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.service-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-link:hover img {
    transform: scale(1.05);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-link img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-arrow {
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-arrow {
    transform: translateX(6px);
}

/* =============================================
   TIMELINE ANIMATIONS
   ============================================= */

.timeline-line {
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-line.animate {
    transform: scaleY(1);
}

.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible .timeline-dot {
    transform: scale(1);
}

/* Memorial ribbon for timeline */
.memorial-ribbon {
    display: inline-block;
    font-size: 1.2em;
    margin-right: 4px;
    vertical-align: middle;
    filter: grayscale(1);
}

/* =============================================
   FLOATING LABEL FORM STYLES
   ============================================= */

/* Floating label wrapper */
.float-label {
    position: relative;
    margin-bottom: 0;
}

.float-label label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9E9E9E;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 4px;
    font-family: "Titillium Web", serif;
    z-index: 1;
}

.float-label textarea ~ label {
    top: 18px;
    transform: translateY(0);
}

/* Input & textarea base */
.float-label input,
.float-label textarea {
    width: 100%;
    padding: 16px 14px 8px;
    font-size: 15px;
    font-family: "Titillium Web", serif;
    border: 1.5px solid #d1d5db;
    border-radius: 0;
    background: #fff;
    color: #0A314C;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.float-label textarea {
    resize: none;
    min-height: 80px;
    padding-top: 22px;
}

/* Focus state - orange */
.float-label input:focus,
.float-label textarea:focus {
    border-color: #E94022;
    box-shadow: 0 0 0 3px rgba(233, 64, 34, 0.12);
}

/* Label float up on focus or when filled */
.float-label input:focus ~ label,
.float-label input:not(:placeholder-shown) ~ label,
.float-label textarea:focus ~ label,
.float-label textarea:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: #E94022;
    background: #fff;
    padding: 0 6px;
    left: 10px;
}

/* When not focused but has value - grey label */
.float-label input:not(:focus):not(:placeholder-shown) ~ label,
.float-label textarea:not(:focus):not(:placeholder-shown) ~ label {
    color: #777C90;
}

/* Sidebar form on grey bg */
.float-label-grey input,
.float-label-grey textarea {
    background: #fff;
}

.float-label-grey input:focus ~ label,
.float-label-grey input:not(:placeholder-shown) ~ label,
.float-label-grey textarea:focus ~ label,
.float-label-grey textarea:not(:placeholder-shown) ~ label {
    background: #f9f9f9;
}

/* =============================================
   SÜRDÜRÜLEBİLİRLİK ALANLARI KART STİLLERİ
   ============================================= */
.sust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .sust-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.surdurulebilirlik-content h3{
        color: #0a314c;
            font-weight: 700;        font-size: 1.25rem;
        line-height: 1.75rem;
}

.sust-card {
    background: #fff;
    padding: 32px;
    border-radius: 0px;
    box-shadow: 0 4px 16px rgba(10,49,76,0.08);
    border-top: 4px solid #E94022;
    transition: box-shadow 0.3s, transform 0.3s;
}
.sust-card:hover {
    box-shadow: 0 12px 32px rgba(10,49,76,0.16);
    transform: translateY(-6px);
}
.sust-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A314C;
    margin-bottom: 16px;
    font-family: "Titillium Web", serif;
}
.sust-card p {
    color: #777C90;
    font-size: 1rem;
    line-height: 1.7;
    font-family: "Titillium Web", serif;
}