/* ============================================
   ETAX MÜHENDİSLİK - CUSTOM STYLES
   ============================================ */

/* ============================================
   CSS VARIABLES - COLOR PALETTE
   ============================================ */
:root {
    /* Primary Colors */
    --metallic-light-gray: #BFC5CC;
    --metallic-dark-gray: #6E7379;
    --neon-blue-glow: #00A6FF;
    --dark-slate: #1E2430;
    
    /* Secondary Colors */
    --soft-silver: #E5E7EB;
    --light-steel: #F7F9FB;
    --graphite: #2A2F3A;
    --bright-cyan: #00C3FF;
    
    /* Text Colors */
    --text-dark: #2D2F33;
    --text-medium: #6B7076;
    --text-white: #FFFFFF;
    
    /* Gradients */
    --metallic-gradient: linear-gradient(135deg, #BFC5CC 0%, #6E7379 100%);
    --neon-gradient: linear-gradient(135deg, #00A6FF 0%, #00C3FF 100%);
    --dark-gradient: linear-gradient(135deg, #1E2430 0%, #2A2F3A 100%);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--dark-gradient);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 166, 255, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 166, 255, 0.2);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--neon-blue-glow) !important;
}

.navbar-toggler {
    border-color: var(--neon-blue-glow);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 166, 255, 0.25);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 166, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 166, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(0, 166, 255, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--metallic-light-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease;
}

.hero-image {
    animation: fadeInRight 1.5s ease;
    position: relative;
}

.hero-image img {
    filter: drop-shadow(0 0 50px rgba(0, 166, 255, 0.3));
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-neon {
    background: var(--neon-gradient);
    border: none;
    color: var(--text-white);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 166, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-neon:hover::before {
    width: 300px;
    height: 300px;
}

.btn-neon:hover {
    box-shadow: 0 0 40px rgba(0, 166, 255, 0.8);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--metallic-light-gray);
    color: var(--text-white);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--metallic-light-gray);
    color: var(--dark-slate);
    border-color: var(--metallic-light-gray);
    transform: translateY(-2px);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--neon-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--light-steel);
}

.stat-card {
    background: var(--text-white);
    border: 2px solid var(--metallic-light-gray);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--neon-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 166, 255, 0.2);
    border-color: var(--neon-blue-glow);
}

.stat-icon {
    font-size: 3rem;
    color: var(--neon-blue-glow);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--dark-gradient);
    position: relative;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--metallic-dark-gray);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: var(--neon-blue-glow);
    box-shadow: 0 0 30px rgba(0, 166, 255, 0.3);
    transform: translateY(-10px);
    background: rgba(0, 166, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-gradient);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    box-shadow: 0 0 30px rgba(0, 166, 255, 0.6);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.service-text {
    font-size: 1rem;
    color: var(--metallic-light-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us-section {
    background: var(--light-steel);
}

.advantage-card {
    background: var(--text-white);
    border: 2px solid var(--soft-silver);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-card:hover {
    border-color: var(--neon-blue-glow);
    box-shadow: 0 10px 30px rgba(0, 166, 255, 0.15);
    transform: translateY(-10px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-gradient);
    border-radius: 15px;
    font-size: 2rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 166, 255, 0.5);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.advantage-text {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
    background: var(--dark-gradient);
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 166, 255, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--neon-gradient);
    transition: left 0.5s ease;
    z-index: 2;
}

.project-card:hover::before {
    left: 0;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--light-steel);
}

.accordion-item {
    background: var(--text-white);
    border: 2px solid var(--soft-silver);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--text-white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--neon-gradient);
    color: var(--text-white);
}

.accordion-button::after {
    filter: brightness(0);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
    border-top: 2px solid var(--soft-silver);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--dark-gradient);
    position: relative;
}

.contact-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 166, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 166, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--metallic-dark-gray);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-gradient);
    border-radius: 10px;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: var(--metallic-light-gray);
    margin-bottom: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--metallic-dark-gray);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--metallic-dark-gray);
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: var(--metallic-light-gray);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-blue-glow);
    box-shadow: 0 0 20px rgba(0, 166, 255, 0.2);
    color: var(--text-white);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--metallic-dark-gray);
}

.map-container iframe {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    background: var(--graphite);
    color: var(--text-white);
}

.footer-text {
    color: var(--metallic-light-gray);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--metallic-light-gray);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-blue-glow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 166, 255, 0.1);
    border: 2px solid var(--metallic-dark-gray);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--neon-gradient);
    border-color: var(--neon-blue-glow);
    box-shadow: 0 0 20px rgba(0, 166, 255, 0.5);
    transform: translateY(-5px);
}

.footer-divider {
    border-color: var(--metallic-dark-gray);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--metallic-light-gray);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-neon,
    .btn-outline-light {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-icon,
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .project-card {
        height: 250px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}
