:root {
    /* Brand Colors */
    --primary-color: #0a192f;
    /* Navy Blue (Text) */
    --secondary-color: #4a4a4a;
    /* Grey Text */
    --accent-color: #00c6ff;
    /* Cyan Accent */

    /* New Brand Theme (Logo Matching) */
    --brand-blue: #0072ff;
    --brand-cyan: #00c6ff;
    --brand-purple: #6633cc;
    --brand-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);

    --red-brand: #0072ff;
    /* Overwriting red-brand variable to Blue to instantly update entire site theme */

    --dark-bg: #111;

    /* Layout Variables */
    --container-width: 1450px;
    --header-height: 80px;
    --top-bar-height: 46px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Phosphor Icons Alignment */
i[class^="ph-"],
i[class*=" ph-"] {
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary-color);
    background-color: #fff;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.h-100 {
    height: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--red-brand);
    /* Updating to Red/Dark theme for consistency if needed, or keep blue */
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--dark-bg);
    height: var(--top-bar-height);
    color: #eee;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    z-index: 102;
    /* Above header wrapper initially if needed */
}

.top-bar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* Red Skewed Background on Left */
.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 55%;
    /* Covers slightly more than half */
    height: 100%;
    background: var(--red-brand);
    transform: skewX(30deg);
    transform-origin: bottom left;
    z-index: 1;
}

/* --- HEADER (BOXED) --- */
.header-wrapper {
    position: absolute;
    width: 100%;
    top: var(--top-bar-height);
    z-index: 100;
    background: transparent;
    /* Wrapper is transparent */
    height: auto;
}

.main-header {
    background: white;
    height: var(--header-height);
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    /* CENTERED BOX */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 0 0 4px 4px;
    transition: all 0.3s ease;
}

.brand-logo {
    font-size: 2rem;
    margin: 0;
    color: #333;
    letter-spacing: -1px;
}

.brand-logo span {
    color: var(--red-brand);
}

/* Red accent in logo */

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: var(--red-brand);
}

/* --- DROPDOWN MENÜ YENİ TASARIMI --- */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    /* Hover öncesi biraz aşağıda */
    left: 0;
    background: #ffffff;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border-top: 3px solid var(--brand-blue);
    border-radius: 0 0 6px 6px;
    list-style: none;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.has-dropdown:hover .dropdown-menu {
    top: 100%;
    /* Süzülerek yukarı çıkma konumu */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    margin: 0 !important;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #444;
    font-size: 0.85rem !important;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    overflow: hidden;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Hover Efekti: Sol taraftan mavi şerit ve arka plan değişimi */
.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--brand-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.dropdown-menu a:hover {
    color: var(--brand-blue);
    background: rgba(0, 114, 255, 0.03);
    padding-left: 25px;
    /* Yazıyı sağa ittirme (şık animasyon) */
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Sticky State Class (Toggled by JS) */
.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    animation: slideDown 0.3s ease forwards;
}

.sticky-active .main-header {
    max-width: 100%;
    /* Full width when sticky */
    border-radius: 0;
    margin: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* --- HERO SLIDER --- */
/* --- HERO SLIDER SECTION --- */
.hero-slider {
    position: relative;
    height: 630px;
    /* Increased by 10px */
    width: 100%;
    overflow: hidden;
}

.slides-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

/* Dark Overlay for better text readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide .container {
    position: relative;
    z-index: 3;
}

/* Slider Navigation */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    user-select: none;
    transition: 0.3s;
}

.slider-btn:hover {
    color: var(--brand-cyan);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Reusing hero-content styles */
.hero-content {
    max-width: 900px;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    text-transform: capitalize;
    color: #ffffff !important;
    /* Force White */
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    color: #ffffff !important;
    /* Force White */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn {
    display: inline-block;
    padding: 15px 45px;
    background: transparent;
    color: #fff;
    border: 2px solid var(--brand-blue);
    /* Solid blue border */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 0;
}

.hero-content .btn:hover {
    background: var(--brand-blue);
    /* Solid blue fill on hover */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* --- FOOTER --- */
footer {
    background: #0b0b0b;
    color: #a0a0a0;
    padding: 80px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    border-bottom: 2px solid var(--red-brand);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credits-wrapper {
    display: flex;
    align-items: center;
}

.credits-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #a0a0a0;
    transition: color 0.3s;
}

.credits-link:hover {
    color: #fff;
}

.yaman-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.credits-link:hover .yaman-logo {
    opacity: 1;
}

/* Footer Links & Text */
.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0a0a0;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--brand-blue);
    transform: translateX(5px);
}

/* --- INTERNAL PAGE HEADER --- */
.internal-header {
    background-image: url('../img/anime2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.internal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.internal-header .container {
    position: relative;
    z-index: 2;
}

.internal-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.internal-header p {
    font-size: 1.2rem;
    color: #f0f0f0;
}

/* --- ABOUT SECTION --- */
.section-padding {
    padding: 80px 0;
}

/* --- ABOUT SECTION --- */
.section-padding {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .sub-title {
    color: var(--red-brand);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* Line after subtitle */
.about-text .sub-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #e0e0e0;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.about-content p {
    color: #555;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-icons {
    display: flex;
    gap: 30px;
}

.icon-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #f9f9f9;
    border-radius: 4px;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.icon-box i {
    font-size: 28px;
    color: #555;
    transition: 0.3s;
}

.icon-box span {
    font-size: 1rem;
    font-weight: 600;
}

.icon-box:hover {
    background: #fff;
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon-box:hover i {
    color: var(--brand-blue);
}

/* Image Frame Effect */
.about-image {
    position: relative;
    padding: 20px;
    /* Space for the border effect */
}

.about-image .image-wrapper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* The Border Frame */
.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 10px solid #f0f0f0;
    /* Light gray thick border */
    z-index: 1;
    transform: translate(20px, -20px);
    /* Offset */
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image:hover img {
    transform: scale(1.03);
}

/* --- COUNTER SECTION (İstatistikler) --- */
.counters-section {
    position: relative;
    border-top: 5px solid var(--brand-cyan);
    border-bottom: 5px solid var(--brand-cyan);
}

.counter-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.counter-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--brand-cyan);
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.1);
}

/* --- DARK SECTION (Proje Bazlı Mühendislik) --- */
.dark-section .dark-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-cyan);
}

/* --- PRODUCTION BOX HOVER (Üretim Alanları) --- */
.production-box {
    background: white;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.production-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--brand-gradient);
    transition: width 0.4s ease;
}

.production-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.production-box:hover::before {
    width: 100%;
}

.production-box i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.production-box:hover i {
    transform: scale(1.2);
}

/* --- LIGHT STEEL STRUCTURES SECTION --- */
.structures-section {
    position: relative;
    background-color: #fff;
    /* Dotted Background */
    background-image: radial-gradient(#ccc 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    overflow: hidden;
    /* Clips the triangles */
}

/* Red Triangle decorations */
.structures-section::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 150px solid var(--red-brand);
    border-right: 150px solid transparent;
    z-index: 1;
}

.structures-section::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 200px solid var(--red-brand);
    border-left: 150px solid transparent;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

/* Lines beside header title */
.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: #ccc;
}

.section-header h2::before {
    left: 0;
}

.section-header h2::after {
    right: 0;
}

.section-header p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.structures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.structure-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.structure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.structure-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

/* --- PROCESS SECTION (How We Work) --- */
.process-section {
    background-color: #111;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle background overlay if desired */
.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/blueprint-overlay.png');
    /* Optional texture */
    opacity: 0.05;
    pointer-events: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

/* Connection Line */
.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #444;
    z-index: 0;
    display: block;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #fff;
    /* White background */
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.step-icon-wrapper:hover {
    background: var(--brand-blue);
    /* Blue background on hover */
    border-color: var(--brand-blue);
    box-shadow: 0 0 20px rgba(0, 114, 255, 0.4);
}

.step-icon {
    font-size: 32px;
    color: #333;
    /* Dark icon by default */
    transition: 0.3s;
}

.step-icon-wrapper:hover .step-icon {
    color: #fff;
    /* White icon on hover */
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 22px;
    /* Increased size */
}

.social-icon:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.step-number {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #111;
}

.process-item h3 {
    font-size: 1.1rem;
    color: var(--red-brand);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.process-item p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

/* --- REFERENCES SECTION --- */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.ref-item {
    height: 200px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.ref-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
}

.ref-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-blue);
}

.ref-item:hover img {
    opacity: 1;
}

.btn-wide {
    display: block;
    width: 100%;
    border: 1px solid #333;
    color: #333;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
}

.btn-wide:hover {
    background: #333;
    color: #fff;
}



/* --- VALUES SECTION --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.value-item {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--red-brand);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 32px;
    transition: all 0.4s ease;
}

.value-item:hover .value-icon {
    background: var(--red-brand);
    color: #fff;
    transform: rotateY(180deg);
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Scroll Animation Initial State */
.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-anim.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- ADVANTAGES SECTION --- */
.advantages-section {
    padding: 80px 0;
    background: #fff;
}

.advantages-section .section-header {
    text-align: center !important;
    /* Force center */
    width: 100%;
}


.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    display: block;
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: default;
}

.advantage-item:hover {
    background: #111;
    border-color: #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.adv-icon {
    font-size: 48px;
    color: var(--brand-blue);
    /* Site Theme Blue */
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.advantage-item:hover .adv-icon {
    color: #fff;
    transform: none;
}

.adv-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
    transition: all 0.3s ease;
}

.advantage-item:hover .adv-content h3 {
    color: #fff;
}

.adv-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.advantage-item:hover .adv-content p {
    color: #ccc;
}

/* Responsive */
@media (max-width: 992px) {
    .main-header {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        flex-direction: column;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        padding: 10px 0 0 20px;
        border-top: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: flex;
    }

    /* Mobile Menu Placeholder */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar::before {
        width: 100%;
        transform: none;
    }

    /* Full red bar on mobile */
    .hero h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* Text appears First */
    .about-text {
        order: 1;
        padding: 0 10px;
        /* Prevent text touching edges */
    }

    .about-text h2 {
        font-size: 2rem;
    }

    /* Image appears Second (Bottom) */
    .about-image {
        order: 2;
        width: 80%;
        /* Reduce size */
        margin: 0 auto;
        /* Center it */
    }

    /* Stack Buttons/Icons Vertically */
    .about-icons {
        flex-direction: column;
        gap: 15px;
    }

    .icon-box {
        width: 100%;
        justify-content: center;
        background: #f4f4f4;
        /* Ensure visibility */
    }
}

@media (max-width: 900px) {
    .structures-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
        padding: 0;
        /* Remove padding as lines might break layout on mobile */
    }

    .section-header h2::before,
    .section-header h2::after {
        display: none;
        /* Hide decorative lines on small screens */
    }
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .process-grid::before {
        display: none;
        /* Hide connection line on mobile */
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* --- MAP SECTION --- */
.map-section {
    width: 100%;
    line-height: 0;
    /* Removes any bottom spacing caused by inline-block iframe */
}

.map-section iframe {
    width: 100%;
    display: block;
}

/* --- CONTACT INFO BAR --- */
.contact-info-bar {
    background-color: var(--red-brand);
    padding: 30px 0;
    color: #fff;
}

.contact-bar-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 350px;
}

.cb-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-brand);
    font-size: 24px;
    flex-shrink: 0;
}

.cb-text h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}

.cb-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .contact-bar-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- FLOATING BUTTONS --- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #20BA5C;
    transform: scale(1.1);
    color: white;
}

.scroll-top-btn {
    background-color: var(--brand-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    color: white;
}

/* --- NEW VALUES SECTION (Daha İyisi İçin) --- */
.values-section {
    padding: 0;
    /* Full width split */
    background: #fff;
}

.values-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 450px;
    /* Reduced from 600px */
}

/* LEFT SIDE (Image & Experience) */
.values-left {
    flex: 1;
    min-width: 300px;
    position: relative;
    background-image: url('../img/anime1.jpg');
    /* Updated image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    /* Reduced padding */
}

/* Dark Overlay */
.values-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.values-left-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

/* Experience Box */
.experience-box {
    border: 8px solid #fff;
    padding: 20px 30px;
    /* Reduced padding */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    /* Reduced margin */
    position: relative;
}

/* Partial border effect (gap) if needed, but solid is fine for now based on image */
.experience-box h2 {
    font-size: 6rem;
    /* Slightly reduced font size */
    line-height: 1;
    color: #e31e24;
    /* Red text */
    margin: 0;
    font-weight: 700;
}

.experience-text {
    text-align: left;
    margin-left: 20px;
    color: #fff;
}

.experience-text span {
    display: block;
    font-size: 1.3rem;
    /* Slightly reduced */
    line-height: 1.2;
}

.experience-text .years {
    font-weight: 300;
}

.experience-text .exp-label {
    font-weight: 700;
    font-size: 1.6rem;
    /* Reduced */
}

.values-left h3 {
    color: #fff;
    font-size: 2rem;
    /* Reduced */
    font-weight: 400;
    margin-top: 15px;
}

/* RIGHT SIDE (Feature List) */
.values-right {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    padding: 50px 40px;
    /* Reduced padding */
    display: flex;
    align-items: center;
}

.values-list {
    position: relative;
    max-width: 600px;
}

/* Vertical Line */
.values-list::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 31px;
    /* Align with icon center */
    width: 1px;
    height: calc(100% - 80px);
    background: #ddd;
    z-index: 0;
}

.value-item-new {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    /* Reduced margin */
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    cursor: default;
}

.value-item-new:last-child {
    margin-bottom: 0;
}

.value-icon-circle {
    width: 64px;
    height: 64px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 30px;
    border: 2px solid #333;
    position: relative;
    transition: all 0.3s ease;
}

/* Yellow/Gold Ring Effect */
.value-icon-circle::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid #ffd700;
    /* Gold accent */
    opacity: 0.5;
    transition: all 0.3s ease;
}

.value-icon-circle i {
    font-size: 32px;
    color: #fff;
    transition: all 0.3s ease;
}

.value-content-new h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.value-content-new p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* HOVER EFFECTS */
.value-item-new:hover .value-icon-circle {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.value-item-new:hover .value-icon-circle::after {
    border-color: var(--brand-blue);
    opacity: 0;
}

.value-item-new:hover .value-content-new h4 {
    color: var(--brand-blue);
}

/* --- MOBILE MENU & RESPONSIVE STYLES --- */

/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--brand-blue);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .main-header {
        padding: 0 15px;

        /* Mobil Menüde Düz Mantık (Listeleme) */
        .has-dropdown .dropdown-menu {
            position: static;
            width: 100%;
            box-shadow: none;
            opacity: 1;
            visibility: visible;
            transform: none;
            border: none;
            background: rgba(255, 255, 255, 0.05);
            /* Karanlık temanın üzerinde belli belirsiz */
            padding-left: 15px;
            margin-top: 10px;
            /* Varsayılan kapalı yapıyoruz ancak menü zaten JS ile açılıyor, listelerde gömülü kalması için display flex kullanıyoruz */
            display: none;
        }

        .has-dropdown.active .dropdown-menu {
            display: flex;
        }

        .dropdown-menu a {
            color: #ddd;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 15px;
            font-size: 0.9rem !important;
        }

        .dropdown-menu a:hover {
            background: transparent;
            color: white;
            padding-left: 20px;
        }
    }

    /* Header Layout for Mobile */
    .main-header .container {
        justify-content: space-between;
        /* Logo left, Btn right */
    }

    /* Hide Desktop Nav */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
        /* Hidden by default */
        text-align: center;
        border-top: 1px solid #eee;
    }

    /* Show Nav when Active */
    .main-nav.active {
        display: block;
        animation: slideDownMenu 0.3s ease forwards;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    /* Show Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
    }

    /* Hide Desktop CTA if desired, or keep it */
    .header-cta {
        display: none;
    }

    /* "Daha İyisi İçin" Section Mobile */
    .values-wrapper {
        flex-direction: column;
    }

    .values-left {
        padding: 60px 20px;
        min-height: 400px;
        /* Ensure image height */
    }

    .experience-box h2 {
        font-size: 4rem;
        /* Smaller font */
    }

    .values-right {
        padding: 50px 20px;
    }

    /* "Neden Maker Metal" Section Mobile */
    .advantages-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .advantage-item {
        margin-bottom: 20px;
        /* Spacing between stacked items */
    }
}

@media (max-width: 768px) {

    /* --- MOBILE TOP BAR --- */
    .top-bar {
        display: block;
        /* Show top bar */
        height: auto;
        padding: 10px 0;
        background: #111;
        /* Dark background */
        text-align: center;
    }

    .top-bar .container {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        /* Bit more spacing */
        font-size: 0.9rem;
    }

    /* Reorder: Phone First, Email Second */
    .contact-info .phone-wrapper {
        order: 1;
        display: block;
        /* Ensure it takes full width/lines if needed */
    }

    .contact-info>a.top-link {
        order: 2;
    }

    /* Hide Separator */
    .contact-info .sep {
        display: none;
    }

    .top-bar::before {
        display: none;
        /* Remove red skew on mobile */
    }

    /* Fix Header Overlap */
    .header-wrapper {
        position: relative;
        /* Flow naturally on mobile */
        top: 0;
    }



    .phone-wrapper {
        display: block;
        /* Stack phones if needed, or keep inline */
    }

    /* --- MOBILE ADJUSTMENTS --- */
    .hero-slider {
        height: 315px;
        /* Reduced by 50% */
    }

    .hero-content {
        display: none;
        /* Hide text and buttons */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- URGENT MOBILE FIXES --- */
@media (max-width: 900px) {

    /* 1. Hide Triangle Shape Covering Title */
    .structures-section::before,
    .structures-section::after {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
        border: none !important;
    }

    /* 2. Reduce Excessive Spacing Between About & Production Sections */
    .about-section {
        padding-bottom: 30px !important;
        /* Reduce bottom space */
    }

    .structures-section {
        padding-top: 30px !important;
        /* Reduce top space */
    }

    .about-image {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Ensure Title is Visible */
    .structures-section .section-header {
        position: relative;
        z-index: 10;
        margin-top: 0 !important;
    }

    /* 3. References Section Fixes */
    .references-section {
        padding-top: 30px !important;
        /* Reduce top space */
    }

    .references-section .section-header {
        text-align: center !important;
    }

    .references-section .section-header p {
        white-space: normal !important;
        /* Fix overflow */
        padding: 0 20px !important;
        width: auto !important;
        max-width: 100% !important;
    }

    /* 4. Floating Buttons Fix (Side-by-Side & Smaller) */
    .floating-buttons {
        bottom: 25px !important;
        right: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        /* Side by side */
        gap: 10px !important;
        align-items: center !important;
        z-index: 9999 !important;
    }

    .float-btn {
        width: 35px !important;
        /* Reduced from 50px+ */
        height: 35px !important;
        line-height: 35px !important;
        font-size: 18px !important;
        /* Smaller icon */
        margin: 0 !important;
        /* Remove defaults */
    }

    /* 5. Footer Redesign (Mobile) */
    /* Main Logo Increase */
    .footer-col img {
        height: auto !important;
        width: 200px !important;
        /* Increased size (approx 100% bigger than typical 100px) */
        max-width: 80%;
        /* Prevent overflow */
        display: block;
        margin: 0 auto 20px auto;
        /* Center it */
    }

    .footer-col p {
        text-align: center;
    }

    /* Footer Bottom Bar */
    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
        padding: 20px 0 !important;
    }

    .credits-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .credits-link {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: #fff;
        /* Assuming dark footer */
        opacity: 0.8;
    }

    .yaman-logo {
        height: 25px !important;
        /* Adjust based on logo ratio */
        width: auto !important;
        filter: brightness(0) invert(1);
        /* White logo if needed */
    }
}

/* --- KURUMSAL SAYFASI OPTİMİZASYONLARI --- */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 30px;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 30px;
}

.lined-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.lined-heading::before,
.lined-heading::after {
    content: '';
    height: 3px;
    background: var(--brand-gradient);
    flex: 1;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .internal-header {
        padding: 60px 0 30px !important;
    }

    .internal-header h1 {
        font-size: 1.5rem !important;
    }

    .internal-header p {
        font-size: 0.8rem !important;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobilde Resmi üste alıyoruz */
    .about-content-grid .about-image {
        order: -1;
    }

    .lined-heading {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    /* İkonların mobilde alt alta sıralanması */
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

/* --- İLETİŞİM SAYFASI YENİ TASARIMI (contact.php) --- */

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    /* Form alanına daha geniş yer vermek için */
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
}

.contact-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-gradient);
    margin-top: 15px;
    border-radius: 2px;
}

.contact-subtitle {
    color: var(--secondary-color);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* İletişim Kartları */
.contact-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 114, 255, 0.2);
}

.cic-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 114, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--brand-blue);
    flex-shrink: 0;
    transition: 0.3s;
}

.contact-info-card:hover .cic-icon {
    background: var(--brand-gradient);
    color: #fff;
}

.cic-text h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
    border-bottom: none;
    padding-bottom: 0;
}

.cic-text p,
.cic-text a {
    color: #555;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.cic-text a:hover {
    color: var(--brand-blue);
}

/* Harita */
.contact-map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Form Alanı ve Çerçeve (Frame) Efekti */
.contact-form-wrapper {
    position: relative;
    padding: 20px;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 10px solid #f0f0f0;
    z-index: 1;
    transform: translate(20px, -20px);
    pointer-events: none;
    /* İçindeki forma tıklanmaya engel olmasın */
}

.contact-form-inner {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modern-form .form-group {
    margin-bottom: 25px;
}

.modern-form label {
    display: block;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.custom-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.1);
}

.anti-spam-box {
    background: rgba(0, 114, 255, 0.05);
    padding: 15px;
    border-radius: 6px;
    border: 1px dashed var(--brand-blue);
    margin-bottom: 25px;
}

.btn-submit {
    width: 100%;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: 6px;
    letter-spacing: 1px;
}

/* Mobil Görünüm İletişim */
@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modern-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-inner {
        padding: 30px 20px;
    }

    .contact-form-wrapper::before {
        transform: translate(10px, -10px);
        width: 90%;
        height: 90%;
        border-width: 5px;
    }
}