/* 
* BEYOND HORIZONS
* Ana Stil Dosyası
* V1.0
*/

/* =========================================
   1. Genel Değişkenler ve Ayarlar
   ========================================= */
   :root {
    /* Logo Inspired Color Palette */
    --primary-color: #091033;
    --secondary-color: #050827;
    --accent-color: #00a6ed;
    --accent-color-2: #47b5ff;
    --light-color: #b6e1fc;
    --text-color: #cccccc;
    --gradient-primary: linear-gradient(135deg, #091033, #00a6ed);
    --gradient-secondary: linear-gradient(135deg, #050827, #091033);
    --text-dark: #cccccc;
    --text-light: #ffffff;
    --gray-color: #888888;
    --border-radius: 5px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Bölümler için scroll düzeltmesi */
section {
    scroll-margin-top: 100px; /* Modern tarayıcılar için anchor scroll margin */
}

/* =========================================
   2. Dekoratif Elementler
   ========================================= */
.shape {
    position: absolute;
    z-index: 0;
    opacity: 0.15;
}

.shape-1 {
    top: 15%;
    left: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 166, 237, 0.2), rgba(9, 16, 51, 0.2));
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    bottom: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, rgba(5, 8, 39, 0.2), rgba(0, 166, 237, 0.2));
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* =========================================
   3. Buton Stili
   ========================================= */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #00a6ed, #47b5ff);
    color: white;
    padding: 14px 30px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 166, 237, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(182, 225, 252, 0.2);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #47b5ff, #00a6ed);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 166, 237, 0.4);
}

.btn:hover:before {
    width: 100%;
}

/* =========================================
   4. Header Stili
   ========================================= */
header {
    background-color: rgba(5, 8, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 166, 237, 0.2);
}

header.scrolled {
    background-color: rgba(5, 8, 39, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 15px;
    
}

.logo h1 {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
    position: relative;
    margin: 0;
}

.logo span {
    background: linear-gradient(to right, var(--accent-color), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.logo h1:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    bottom: 5px;
    right: -15px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

nav ul li a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a:hover:before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

/* =========================================
   5. Hero Bölümü
   ========================================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 166, 237, 0.2);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/backgrounds/beyond-horizons-bg.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    color: var(--text-color);
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   6. Hizmetler Bölümü
   ========================================= */
.services {
    padding: 120px 0;
    background-color: var(--primary-color);
    position: relative;
    border-bottom: 1px solid rgba(0, 166, 237, 0.2);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00a6ed, #47b5ff);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title h3 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.section-title p {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: rgba(22, 23, 26, 0.7);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px 30px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 166, 237, 0.1);
    height: 100%;
}

.service-card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(12, 15, 20, 0.5) 0%, rgba(0, 166, 237, 0.1) 100%);
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 166, 237, 0.3);
}

.service-card:hover:before {
    height: 100%;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a6ed, #47b5ff);
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 166, 237, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    filter: brightness(0) invert(1);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card p {
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.service-card:hover h4 {
    color: var(--accent-color);
}

/* =========================================
   7. Hakkımızda Bölümü
   ========================================= */
.about {
    padding: 120px 0;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 166, 237, 0.2);
}

.about-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 42px;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
}

.about-text h3:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #00a6ed, #47b5ff);
    bottom: -15px;
    left: 0;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray-color);
    font-size: 17px;
    line-height: 1.8;
}

.vision-mission {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.vision, .mission {
    flex: 1;
    background: rgba(22, 23, 26, 0.7);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 166, 237, 0.1);
    transition: all 0.3s ease;
}

.vision:hover, .mission:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 166, 237, 0.3);
}

.vision .icon, .mission .icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.vision h4, .mission h4 {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 20px;
}

.vision p, .mission p {
    margin-bottom: 0;
    font-size: 15px;
}

.values {
    margin: 40px 0;
}

.values h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 24px;
}

.values ul {
    list-style: none;
}

.values li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.values li span {
    color: var(--accent-color);
    font-size: 20px;
    margin-right: 10px;
}

.values li strong {
    color: var(--text-light);
    margin-right: 5px;
}

.about-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 166, 237, 0.2);
}

.about-img:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    top: 20px;
    left: 20px;
    z-index: -1;
    opacity: 0.4;
}

.about-img:hover img {
    transform: scale(1.03);
}

.founders {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(0, 166, 237, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 166, 237, 0.2);
}

.founders h4 {
    color: var(--text-light);
    margin-bottom: 5px;
}

.founders p {
    color: var(--gray-color);
    margin: 0;
}

/* =========================================
   8. İletişim Bölümü
   ========================================= */
.contact {
    padding: 120px 0;
    background-color: var(--primary-color);
    position: relative;
    border-bottom: 1px solid rgba(0, 166, 237, 0.2);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    background: rgba(22, 23, 26, 0.7);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 166, 237, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 166, 237, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a6ed, #47b5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.contact-text p {
    color: var(--gray-color);
    margin: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(22, 23, 26, 0.7);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 166, 237, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 166, 237, 0.2);
    border-radius: 3px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(12, 15, 20, 0.6);
    color: var(--text-light);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 166, 237, 0.2);
    outline: none;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
    border-radius: 3px;
}

/* =========================================
   9. Footer Stili
   ========================================= */
footer {
    background: linear-gradient(135deg, #050827, #091033);
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
    background-image: url("../images/backgrounds/footer-pattern.svg");
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 22px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
    color: var(--text-light);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a:before {
    content: '→';
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-col ul li a:hover:before {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 18px;
    text-decoration: none;
    border: 1px solid rgba(0, 166, 237, 0.1);
}

.social-links a:hover {
    background-color: #00a6ed;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 166, 237, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

/* =========================================
   10. Animasyonlar ve Efektler
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}