* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll için padding düzeltmesi */
html {
    scroll-padding-top: 80px; /* Header yüksekliği kadar */
  }
  

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: #f7f7f7;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* --- Kurumsal Renk Paleti --- */
:root {
    --primary-yellow: #FFD700;
    --dark-gray: #2c2c2c;
    --light-bg: #ffffff;
    --medium-gray: #555;
}

/* ====================== */
/* FLUID GENEL SINIFLAR */
/* ====================== */
.container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: clamp(15px, 3vw, 20px) 0;
}

.section-padding {
    padding: clamp(40px, 8vh, 60px) 0;
}

.section-subtext {
    text-align: center;
    max-width: min(800px, 90vw);
    margin: 0 auto clamp(30px, 5vh, 40px) auto;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--medium-gray);
    padding: 0 clamp(10px, 3vw, 20px);
}

h1, h2, h3 {
    color: var(--dark-gray);
    margin-bottom: clamp(8px, 1.5vh, 15px);
    font-weight: bold;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
    text-transform: uppercase;
    padding: 0 clamp(10px, 3vw, 20px);
}

/* ====================== */
/* FLUID BUTON STİLİ */
/* ====================== */
.btn {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--dark-gray);
    padding: clamp(8px, 1.5vw, 10px) clamp(15px, 3vw, 25px);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    white-space: nowrap;
}

.btn:hover {
    background-color: #FFC700;
    color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ====================== */
/* FLUID HEADER */
/* ====================== */
#main-header {
    background-color: #333;
    padding: 0;
    height: clamp(70px, 12vh, 85px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #000000;
    display: flex;
    align-items: center;
    width: 100%;
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(10px, 3vw, 20px);
}

nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

nav ul {
    list-style: none;
    display: flex;
    gap: clamp(8px, 2vw, 20px);
    margin: 0;
    padding: 0;
    white-space: nowrap;
    width: max-content;
    min-width: 100%;
}

nav ul li {
    flex-shrink: 0;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    padding: clamp(3px, 0.8vh, 5px) clamp(6px, 1.5vw, 10px);
    font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    display: block;
}

nav ul li:nth-child(-n+4) {
    padding-top: clamp(5px, 1vh, 10px);
}

nav ul li:last-child {
    padding-top: 0;
}

nav ul li a:hover {
    color: var(--primary-yellow);
}

.contact-btn {
    color: #000000 !important;
    font-weight: 800;
}

.section-divider {
    border: none;
    height: 3px;
    background-color: #000000;
    width: 100%;
    margin: 0;
}

/* ====================== */
/* FLUID HERO SECTION */
/* ====================== */
#hero-section {
    min-height: 100vh;
    height: auto;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: clamp(20px, 3vw, 20px) clamp(40px, 8vh, 60px); /* ÜST: 20px → 10px */
    
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    color: var(--light-bg);
    z-index: 5;
    text-align: center;
    width: 100%;
    max-width: min(900px, 90vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0px, 2vh, 20px);
   
}

.hero-logo {
    margin-bottom: 0px
}

.hero-logo img {
    width: clamp(180px, 30vw, 350px); /* Büyüt */
}

.hero-logo img {
    width: clamp(180px, 25vw, 300px);
    height: auto;
    max-width: 100%;
    margin-bottom: -5px; 
}

.hero-content h1 {
    font-size: clamp(1.6rem, 6vw, 3.5rem);
    margin-bottom: clamp(3px, 0.8vh, 8px);
    color: var(--primary-yellow);
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: -5px;
}

.hero-content h2 {
    font-size: clamp(1.3rem, 4.5vw, 2.5rem);
    color: var(--light-bg);
    margin-bottom: clamp(8px, 1.5vh, 15px);
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    margin-bottom: 5px;
    color: #ddd;
    max-width: min(600px, 85vw);
    line-height: 1.4;
    padding: 0 clamp(10px, 3vw, 20px);
}

.hero-cta-btn {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    padding: clamp(10px, 2vh, 15px) clamp(25px, 5vw, 40px);
    background-color: var(--primary-yellow);
    color: var(--dark-gray);
    border: 2px solid var(--primary-yellow);
    transition: all 0.3s ease;
    margin-top: clamp(5px, 1vh, 10px);
}

.hero-cta-btn:hover {
    background-color: #FFC700;
    color: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ====================== */
/* ANİMASYONLAR */
/* ====================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* ====================== */
/* FLUID HAKKIMIZDA */
/* ====================== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 5vw, 40px);
    align-items: center;
}

@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
    }
}

.about-text {
    flex: 3;
    width: 100%;
}

.about-image {
    flex: 2;
    text-align: center;
    width: 100%;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 90vw), 1fr));
    gap: clamp(15px, 3vw, 20px);
    margin-top: clamp(20px, 4vh, 30px);
}

.value-item {
    background-color: var(--light-bg);
    padding: clamp(15px, 3vw, 20px);
    border-radius: 5px;
    border-left: 5px solid var(--primary-yellow);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    color: var(--primary-yellow);
    margin-bottom: clamp(3px, 0.8vh, 5px);
}

/* ====================== */
/* FLUID MAKİNA PARKURU */
/* ====================== */
.machine-card {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 5vw, 100px);
    align-items: center;
    margin-bottom: clamp(40px, 8vh, 70px);
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid #eee;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .machine-card {
        flex-direction: row;
        align-items: flex-start;
    }
}

.machine-image {
    flex: 0 0 auto;
    text-align: center;
    width: 100%;
    max-width: min(400px, 90vw);
}

.machine-image img {
    max-height: clamp(250px, 40vh, 350px);
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.machine-info {
    flex: 1;
    text-align: center;
    width: 100%;
}

@media (min-width: 992px) {
    .machine-info {
        text-align: left;
        padding-left: clamp(20px, 4vw, 40px);
    }
}

.machine-info h3 {
    color: var(--dark-gray);
    margin-bottom: clamp(10px, 2vh, 15px);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.machine-info .model-spec {
    margin-bottom: clamp(15px, 3vh, 20px);
    color: var(--medium-gray);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.machine-info .spec-label {
    font-weight: bold;
    margin-right: clamp(5px, 1vw, 10px);
}

.machine-info .spec-value {
    color: #444;
}

.outline-btn {
    background-color: transparent;
    border: 2px solid var(--primary-yellow);
    color: var(--dark-gray);
}

.outline-btn:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-gray);
}

/* ====================== */
/* FLUID SERTİFİKALAR */
/* ====================== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 90vw), 1fr));
    gap: clamp(20px, 4vw, 30px);
    margin-top: clamp(30px, 6vh, 40px);
}

.cert-item {
    text-align: center;
    background: #fff;
    padding: clamp(15px, 3vw, 20px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-image {
    width: 100%;
    height: clamp(150px, 25vh, 200px);
    margin-bottom: clamp(10px, 2vh, 15px);
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: clamp(8px, 1.5vw, 10px);
}

.cert-item p {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: bold;
    color: var(--dark-gray);
    line-height: 1.4;
}

/* ====================== */
/* FLUID İLETİŞİM FORMU */
/* ====================== */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 6vh, 50px);
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
    }
}

.contact-info {
    flex: 1;
    width: 100%;
}

.contact-info p {
    margin-bottom: clamp(8px, 1.5vh, 10px);
    color: #444;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.info-details {
    margin-top: clamp(15px, 3vh, 20px);
    padding-top: clamp(15px, 3vh, 20px);
    border-top: 1px dashed #ddd;
}

.contact-form-area {
    flex: 1;
    background-color: #fcfcfc;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid #eee;
    border-radius: 8px;
    width: 100%;
}

.form-group, .form-group-half {
    margin-bottom: clamp(12px, 2.5vh, 15px);
}

.form-group-half {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vh, 15px);
}

@media (min-width: 576px) {
    .form-group-half {
        flex-direction: row;
    }
}

.form-group input, .form-group-half input, .form-group textarea {
    width: 100%;
    padding: clamp(10px, 2vh, 12px);
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.form-group-half input {
    flex: 1;
}

.form-submit-btn {
    width: 100%;
    text-transform: uppercase;
    padding: clamp(12px, 2.5vh, 15px);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ====================== */
/* FLUID HARİTA */
/* ====================== */
#map-section {
    line-height: 0;
}

#map-section .container {
    padding: 0;
}

#map-section iframe {
    width: 100%;
    height: clamp(300px, 50vh, 450px);
    border-radius: 8px;
    display: block;
}

/* ====================== */
/* FOOTER */
/* ====================== */
.page-wrapper {
    flex: 1;
}

#main-footer {
    background-color: var(--dark-gray);
    color: #aaa;
    text-align: center;
    padding: clamp(10px, 2vh, 15px) 0;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    width: 100%;
}

#main-footer p {
    margin: clamp(3px, 0.8vh, 5px) 0;
    padding: 0 clamp(10px, 3vw, 20px);
}

/* ====================== */
/* ÖZEL DURUMLAR İÇİN */
/* ====================== */
@media (max-width: 400px) {
    html {
        font-size: 14px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    #hero-section {
        min-height: 100vh;
        padding-top: clamp(50px, 10vh, 70px);
    }
    
    .hero-logo img {
        width: clamp(100px, 20vw, 180px);
    }
    
    .hero-content h1 {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }
    
    .hero-content h2 {
        font-size: clamp(1.1rem, 3vw, 1.5rem);
    }
}
@media (max-width: 768px) {
    #hero-section {
        min-height: 85vh; /* 100vh yerine 85vh */
        padding: clamp(20px, 4vh, 30px) clamp(10px, 3vw, 20px) clamp(30px, 6vh, 40px);
    }
    
    /* Mobilde logo'yu biraz küçült */
    .hero-logo img {
        width: clamp(200px, 22vw, 180px); /* 180px yerine 140px */
    }
}

/* KÜÇÜK TELEFONLARDA DAHA KISA */
@media (max-width: 480px) {
    #hero-section {
        min-height: 60vh; /* Daha da kısa */
    }
    
    .hero-logo img {
        width: clamp(160px, 20vw, 150px);
    }
}

/* iPad'de fotoğrafı kısalt */
@media only screen and (min-width: 768px) and (max-width: 1366px) {
    #hero-section {
        min-height: 70vh !important;
        max-height: 700px;
    }
}

/* iPad Pro yatay modda daha kısa */
@media only screen 
and (min-width: 1024px) 
and (max-width: 1366px) 
and (orientation: landscape) {
    #hero-section {
        min-height: 80vh !important;
        max-height: 600px;
    }
}


