/* Global Styles */
:root {
    --primary: #FF0000;
    --secondary: #333333;
    --light-gray: #F5F5F5;
    --dark-gray: #666666;
    --white: #FFFFFF;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #CC0000;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo i {
    font-size: 26px;
    color: var(--primary);
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary);
}

.logo-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: var(--primary);
    margin-top: -5px;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--secondary);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    display: none;
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    color: var(--dark-gray);
}

.social-media a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
#hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1617886322168-72b886573c5b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Services Section */
#services {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--dark-gray);
    font-size: 14px;
}

/* About Section */
#about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 22px;
    margin: 20px 0 15px;
    color: var(--secondary);
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Map Section */
#map-section {
    padding: 60px 0;
    background-color: var(--white);
}

#map-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

#map-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
#gallery {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

#lightbox-caption {
    color: var(--white);
    margin-top: 20px;
    font-size: 16px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 35px;
    cursor: pointer;
}

/* Contact Section */
#contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 3px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--dark-gray);
}

.contact-form {
    flex: 1;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.success-message {
    background-color: #D4EDDA;
    color: #155724;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

/* Newsletter Section */
#newsletter {
    padding: 60px 0;
    background-color: var(--secondary);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
    color: #CCC;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
}

/* Footer */
footer {
    background-color: #222;
    color: #CCC;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 24px;
    color: var(--primary);
    margin-right: 10px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a {
    color: #CCC;
    font-size: 14px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #CC0000;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .social-media {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .mobile-menu.show {
        display: block;
    }
    
    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu a {
        display: block;
        padding: 8px 0;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
    }
    
    .mobile-social {
        display: flex;
        gap: 20px;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #EEE;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}




wrapper {
    width: 100%;
    height: 200px; /* İstediğin yüksekliği verebilirsin */
    display: flex;
    justify-content: center; /* yatay ortalama */
    align-items: center;     /* dikey ortalama */
    overflow: hidden;        /* taşma olursa kes */
    background-color: #f2f2f2; /* arka plan isteğe bağlı */
  }
  
  .image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* orantılı kes ve ortala */
  }

  .image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }


  
  



  #hero {
    position: relative;
    width: 100%;
    height: 100vh; /* ekranın tamamını kaplar */
    background-image: url("indir\(4\).jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  #hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* siyah yarı saydam katman */
    z-index: 1;
  }
  
  #hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
  }
  