@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Black.woff2') format('woff2'),
        url('../fonts/Gilroy-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2'),
        url('../fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-ExtraboldItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-ExtraboldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-BlackItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Extrabold.woff2') format('woff2'),
        url('../fonts/Gilroy-Extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-BoldItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-BoldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-UltraLight.woff2') format('woff2'),
        url('../fonts/Gilroy-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Thin.woff2') format('woff2'),
        url('../fonts/Gilroy-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Semibold.woff2') format('woff2'),
        url('../fonts/Gilroy-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Heavy.woff2') format('woff2'),
        url('../fonts/Gilroy-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-RegularItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2'),
        url('../fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-MediumItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiboldItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-SemiboldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-ThinItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-HeavyItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-HeavyItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2'),
        url('../fonts/Gilroy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-LightItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Light.woff2') format('woff2'),
        url('../fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-UltraLightItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-UltraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

body {
  font-family: "Gilroy", sans-serif !important;  
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  text-rendering: optimizeLegibility;
  -webkit-text-stroke: .001px;
  text-shadow: 1px 1px 1px rgba(0,0,0,.004);
  font-optical-sizing: auto;
}

.wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.primary-text{
    color: var(--primary-color) !important;
}

.primary-border{
    border: 1px solid var(--primary-color) !important;
}

.text-ghost-white{
    color: #E5E5E8 !important;
}

.primary-bg{
    background-color: var(--primary-color) !important;
}

a{
    color: inherit;
    text-decoration: none !important;
}

.footer-grid-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 1.5rem;
}

/* Small screens (below 768px): 1 column */
@media (max-width: 767.98px) {
    .footer-grid-container {
        grid-template-columns: 1fr; /* 1 column */
    }
}

/* Medium screens (768px to 1023.98px): 2 columns */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .footer-grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* Loading animasyonu için CSS */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.primary-outline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding-left: 31.5px;
    padding-right: 31.5px;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color); /* Text color matches border */
    background-color: rgba(255, 255, 255, 0.8);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
}

.primary-outline-btn:hover {
    background-color: var(--primary-color); /* Bootstrap primary color */
    color: #fff; /* White text on hover */
    border-color: var(--primary-color);
}

.primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding-left: 31.5px;
    padding-right: 31.5px;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: white; /* Text color matches border */
    background-color: var(--primary-color); /* Bootstrap primary color */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
}

.primary-btn:hover {
    background-color: var(--primary-color); /* Bootstrap primary color */
    color: #fff; /* White text on hover */
    border-color: var(--primary-color);
}

.primary-btn-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding-left: 31.5px;
    padding-right: 31.5px;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: black; /* Text color matches border */
    background-color: #E5E5E8; /* Bootstrap primary color */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
}

.primary-btn-disabled:hover {
    background-color: var(--primary-color); /* Bootstrap primary color */
    color: #fff; /* White text on hover */
    border-color: var(--primary-color);
}

.primary-btn-big {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: white; /* Text color matches border */
    background-color: var(--primary-color); /* Bootstrap primary color */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
}

.primary-btn-big:hover {
    background-color: var(--primary-color); /* Bootstrap primary color */
    color: #fff; /* White text on hover */
    border-color: var(--primary-color);
}

.required-ico::after {
    content: '*';
    color: red;
    margin-left: 5px;
}

.soft-shine {
  position: absolute;
  width: 60px;  /* Efekt boyutunu küçülttük */
  height: 60px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.3) 0%,  /* Opacity'yi düşürdük */
    rgba(255, 255, 255, 0) 80%     /* Yayılma alanını azalttık */
  );
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);  /* Küçülttük */
  filter: blur(8px);  /* Blur ekledik */
  transition: 
    opacity 0.3s ease,
    transform 0.3s ease;
}

.primary-outline-btn:hover .soft-shine {
  opacity: 0.8;  /* Daha düşük opacity */
  transform: translate(-50%, -50%) scale(1);
}

.hover-white:hover{
    color: white !important;
    font-weight: 500;
}

.gentle-scale {
  transition: transform 0.25s ease-in-out;
  display: inline-block; /* Inline elementler için gerekli */
}

.gentle-scale:hover {
  transform: scale(1.03); /* %2 büyütme */
  cursor: pointer;
}

/* İsteğe bağlı ekstra yumuşaklık */
.gentle-scale {
  transform-origin: center;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

.navbar-toggler {
    line-height: 1 !important;
    color: var(--primary-color) !important;
    background-color: transparent;
    border: none !important;
}

.navbar-toggler-icon {
    width: 2em !important;
    height: 2em !important;
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.countdown-card {
    display: inline-block;
    padding: 1.5rem;
    margin: 1rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 120px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#countdown-expired {
    font-weight: 700;
    display: none;
}

/* Mevcut stillerin üzerine ekle */
.animated-gradient-text {
    background: linear-gradient(
        45deg,
        #1F5D78 20%,
        #3cb1e3 40%,
        #123a4b 60%,
        #1F5D78 80%
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 8s ease infinite;
    display: inline-block;
    padding: 0 10px;
    border-radius: 5px;
}

@keyframes gradientFlow {
    0% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Mevcut countdown-container stilini güncelle */
.countdown-container {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Etkinlik başladı mesajı için */
#countdown-expired[data-status="started"] {
    background: linear-gradient(45deg, #28a745, #32cd32);
    color: white;
}

/* Etkinlik bitti mesajı için */
#countdown-expired[data-status="ended"] {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
}

.position-absolute-about{
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    max-width: 600px;
    padding: 2rem;
    border-radius: 10px;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

#container-4t {
    padding: 5rem 8rem;
}

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

@media (max-width: 768px) {
    .position-absolute-about {
        width: 100%;
        max-width: none;
        right: 0% !important;
        transform: translate(50%, -50%) !important;
        padding: 1rem !important;
    }
}

.animate-on-scroll.active {
    opacity: 1 !important;
    transform: translateY(-50%) translateX(0) !important;
}

.animate-on-scroll {
    opacity: 0 !important;
    transform: translateY(-50%) translateX(100px) !important;
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        transition: none !important;
    }
}
.four-t-animation-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-4t {
    position: relative;
    font-size: 8rem;
    font-weight: 300;
    background: linear-gradient(
        90deg,
        rgba(50, 166, 215, 0.8), /* Açık mavi */
        rgba(31,93 ,120, 1), /* Koyu mavi */
        rgba(2, 97, 128, 0.4), /* Hafif şeffaf mavi */
        rgba(31,93 ,120, 0.8) /* Orta mavi */
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 1;
    animation: waterFlow var(--animation-duration) infinite linear; /* Su gibi akış */
}

.icon-sequence {
    position: absolute;
    left: 65%; /* 4T'nin sağına hizala */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.icon-sequence .icon {
    position: absolute;
    opacity: 0;
    font-size: 4rem; /* Büyük ikonlar */
    background: linear-gradient(
        90deg,
         rgba(50, 166, 215, 0.8), /* Açık mavi */
        rgba(31,93 ,120, 1), /* Koyu mavi */
        rgba(2, 97, 128, 0.4), /* Hafif şeffaf mavi */
        rgba(31,93 ,120, 0.8) /* Orta mavi */
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: iconFlow var(--animation-duration) infinite, waterFlow var(--animation-duration) infinite linear;
}

/* İkonları üst üste yerleştir */
.icon.tech, .icon.design, .icon.nature, .icon.society {
    top: 0;
    left: 0;
}

@keyframes iconFlow {
    0%, 100% {
        opacity: 0;
        transform: translateX(-20px); /* Soldan başla */
    }
    10%, 25% {
        opacity: 1;
        transform: translateX(0); /* Ortaya gel */
    }
    30% {
        opacity: 0;
        transform: translateX(20px); /* Sağa kay ve kaybol */
    }
}

@keyframes waterFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%; /* Gradient sağa akıyor */
    }
}

/* Sıralı animasyon gecikmeleri */
.icon-sequence .icon:nth-child(1) { animation-delay: calc(var(--animation-duration) * 0); }
.icon-sequence .icon:nth-child(2) { animation-delay: calc(var(--animation-duration) * 0.25); }
.icon-sequence .icon:nth-child(3) { animation-delay: calc(var(--animation-duration) * 0.50); }
.icon-sequence .icon:nth-child(4) { animation-delay: calc(var(--animation-duration) * 0.75); }

/* Hover efekti */
.icon-sequence:hover .icon {
    animation-play-state: paused;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {

    #logo-header {
        width: 200px;
        height: 40px;
    }

    .four-t-animation-container {
        width: 100%;
    }
    .gradient-4t {
        font-size: 5rem;
        background-size: 300% 100%; /* Mobilde daha geniş akış */
    }
    .icon-sequence .icon {
        font-size: 3rem;
        background-size: 300% 100%; /* Mobilde daha geniş akış */
    }
    .icon-sequence {
        left: 65%; /* Mobil için 4T'nin sağına hizala */
    }
    #container-4t {
        padding: 2rem 4rem;
    }
}