/*--------------------------------------------------------------
# Genel Stiller
--------------------------------------------------------------*/
:root {
    --primary-color: #4e73df;
    --secondary-color: #6c757d;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #2e59d9;
    text-decoration: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #777;
}

.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2e59d9;
}

.btn-outline-light:hover {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circular {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
}

.path {
    stroke: var(--primary-color);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    padding-top: 70px;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.5s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img.logo {
    max-height: 40px;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-light .navbar-toggler {
    border: none;
    outline: none;
}

/*--------------------------------------------------------------
# Hero Section / Splash Screen
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    color: #fff;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

.video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 27, 46, 0.7);
}

.hero-content {
    padding: 2rem 0;
}

.hero-content h1 {
    color: #050000;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    color: rgba(5, 0, 0, 0.644);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btns {
    margin-top: 2rem;
}

.hero-image {
    margin: 3rem 0;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/*--------------------------------------------------------------
# Banner Section
--------------------------------------------------------------*/
.banner-section {
    padding: 3rem 0;
    width: 100%;
}

.banner-link {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 400px; /* Banner yüksekliğini artırıyoruz */
    position: relative; /* İçerik konumlandırması için */
}

.banner-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin oranını bozmadan kaplamak için */
    object-position: center; /* Resmi ortalar */
    transition: all 0.3s ease;
}

.banner-link:hover .banner-img {
    transform: scale(1.05);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features-section {
    padding: 5rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #777;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio-section {
    padding: 5rem 0;
}

.portfolio-filters {
    margin-bottom: 2rem;
}

.portfolio-filters .nav-link {
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    color: #333;
    border-radius: 50px;
    font-weight: 500;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.portfolio-filters .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
}

.portfolio-item {
    margin-bottom: 2rem;
}

.portfolio-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 115, 223, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.portfolio-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    padding: 5rem 0;
}

.contact-form-wrapper,
.contact-map-wrapper {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
}

.contact-form-wrapper h3,
.contact-map-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-info-text h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    margin-bottom: 0;
    color: #777;
}

/*--------------------------------------------------------------
# Signup Section
--------------------------------------------------------------*/
.signup-section {
    padding: 5rem 0;
    visibility: hidden;
}

.signup-features {
    list-style: none;
    padding-left: 0;
}

.signup-features li {
    margin-bottom: 0.75rem;
}

.signup-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    color: #333;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 4rem 0 2rem;
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background-color: #2e59d9;
    color: #fff;
    transform: translateY(-5px);
}

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .navbar-light .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-map-wrapper {
        margin-top: 2rem;
    }
    
    /* Mobil cihazlarda banner yüksekliğini ayarlıyoruz */
    .banner-link {
        height: 250px;
    }
    
    /* Mobil cihazlarda banner aralığını ayarlıyoruz */
    .banner-section .col-md-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
}