@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

:root {
    --primary-color: #E67E22;
    --dark-bg: #2C3E50;
    --light-bg: #F8F9FA;
    --text-color: #333333;
    --white: #ffffff;
    --transition: 0.3s ease-in-out;
}

/* GENEL AYARLAR */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { color: var(--text-color); background-color: var(--light-bg); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* BUTONLAR */
.btn-primary { background-color: var(--primary-color); color: white; padding: 12px 28px; border-radius: 5px; font-weight: bold; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { background-color: #D35400; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3); }

/* TOP BAR */
.top-bar { background-color: var(--dark-bg); color: white; padding: 10px 0; font-size: 14px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.contact-info span { margin-right: 20px; }
.contact-info i { color: var(--primary-color); margin-right: 5px; }
.social-links a { color: white; margin-left: 15px; font-size: 16px; }
.social-links a:hover { color: var(--primary-color); }

/* HEADER & NAV */
header { background-color: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 10px 0; position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
nav ul { display: flex; gap: 25px; }
nav a { color: var(--text-color); font-weight: 600; text-transform: uppercase; font-size: 14px; }
nav a:hover, nav a.active { color: var(--primary-color); }

/* MOBİL MENÜ BUTONU */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--dark-bg); cursor: pointer; }

/* HERO SECTION */
.hero-section { 
    background: linear-gradient(rgba(44, 62, 80, 0.75), rgba(44, 62, 80, 0.75)), url('../img/hero-bg.jpg'); 
    background-size: cover; 
    background-position: center; 
    height: 80vh; 
    min-height: 500px;
    display: flex; 
    align-items: center; 
    text-align: center; 
    color: white; 
}
.hero-content { max-width: 900px; margin: 0 auto; padding: 20px; }
.hero-content h1 { font-size: 48px; margin-bottom: 20px; font-weight: 800; line-height: 1.2; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 20px; margin-bottom: 35px; opacity: 0.9; }

/* ÖZELLİKLER (FEATURES) SECTION */
.features-section { padding: 80px 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: center; }
.feature-box { padding: 40px; border-radius: 12px; background: var(--light-bg); transition: var(--transition); }
.feature-box:hover { background: var(--white); box-shadow: 0 15px 40px rgba(0,0,0,0.1); transform: translateY(-10px); }
.feature-box i { font-size: 50px; color: var(--primary-color); margin-bottom: 20px; }
.feature-box h3 { font-size: 20px; margin-bottom: 15px; color: var(--dark-bg); }

/* SLIDER (GALERİ) */
.section-title { text-align: center; margin-bottom: 50px; padding-top: 50px; }
.section-title h2 { font-size: 32px; color: var(--dark-bg); font-weight: 800; }
.section-title .line { width: 80px; height: 4px; background-color: var(--primary-color); margin: 15px auto 0; border-radius: 2px; }

.slider-wrapper { position: relative; padding: 0 60px; }
.slider-track { display: flex; gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 30px; }
.slider-track::-webkit-scrollbar { height: 8px; }
.slider-track::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }
.slide { flex: 0 0 calc(33.333% - 17px); scroll-snap-align: start; }
.gallery-card { background: white; padding: 10px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); text-align: center; height: 100%; }
.gallery-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.gallery-card p { margin: 15px 0; font-weight: 600; }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--primary-color); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; transition: 0.3s; z-index: 5; }
.slider-btn:hover { background: var(--dark-bg); scale: 1.1; }
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* HİZMETLER GRID */
.services-section { padding: 80px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-box { background: white; padding: 40px 25px; border-radius: 12px; border-bottom: 4px solid transparent; transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-box:hover { border-bottom-color: var(--primary-color); transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

/* CTA (CALL TO ACTION) SECTION */
.cta-section { background: var(--primary-color); color: white; padding: 70px 0; text-align: center; }
.cta-section h2 { font-size: 32px; margin-bottom: 20px; }
.cta-section .btn-white { background: white; color: var(--primary-color); padding: 15px 40px; border-radius: 5px; font-weight: 800; display: inline-block; margin-top: 20px; }

/* FOOTER */
footer { background-color: var(--dark-bg); color: white; padding: 80px 0 20px; }
.footer-flex { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-col { flex: 1; min-width: 280px; }
.footer-col h4 { color: var(--primary-color); margin-bottom: 25px; font-size: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary-color); }
.footer-col p, .footer-col ul li { color: #CBD5E1; margin-bottom: 12px; }
.footer-col ul a { color: #CBD5E1; }
.footer-col ul a:hover { color: var(--primary-color); padding-left: 10px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; margin-top: 50px; color: #94A3B8; font-size: 14px; }

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; border-radius: 50%; width: 60px; height: 60px; text-align: center; font-size: 35px; line-height: 62px; z-index: 9999; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }

/* MOBİL UYUMLULUK */
@media (max-width: 992px) {
    .slide { flex: 0 0 calc(50% - 15px); }
    .hero-content h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .mobile-menu-btn { display: block; }
    nav { display: none; width: 100%; padding-top: 20px; } /* Menü açılır-kapanır hale gelecek JS ile */
    nav ul { flex-direction: column; gap: 15px; text-align: center; }
    
    .hero-section { height: 60vh; }
    .hero-content h1 { font-size: 28px; }
    
    .slide { flex: 0 0 100%; }
    .slider-wrapper { padding: 0 10px; }
    .slider-btn { display: none; }
    
    .footer-flex { flex-direction: column; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .mobile-menu-btn { 
        display: block; 
        z-index: 1001;
    }

    /* Menünün kapalı hali */
    .main-nav {
        display: none; 
        position: absolute;
        top: 100%; /* Header'ın hemen altından başlar */
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    /* JavaScript ile .active class'ı geldiğinde menü açılır */
    .main-nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}