/* Global Styles */
:root {
    --primary-color: #2e7d32; /* Dark green */
    --secondary-color: #66bb6a; /* Medium green */
    --dark-color: #1b5e20; /* Darker green */
    --light-color: #f1f8e9; /* Light green tinted white */
    --accent-color: #81c784; /* Light green */
    --transition: all 0.3s ease;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

body > * {
    margin: 0 !important;
    padding: 0 !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    min-width: 0;
}

section,
.gallery,
.gallery-container,
.section,
#main,
#content,
#root {
    max-width: 100vw;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    will-change: transform; /* Hardware acceleration için */
}

/* Lazy loading için placeholder stil */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Gallery images için özel stil */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    backface-visibility: hidden; /* Performance için */
    transform: translateZ(0); /* Hardware acceleration için */
}

/* Smooth Scroll için ek ayarlar */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Daha gelişmiş smooth scroll için JavaScript ile kullanılacak sınıf */
.smooth-scroll {
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

/* Scroll Bar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: white;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
    border: 2px solid white;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark-color);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: #777;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader-logo img {
    max-width: 180px;
    display: block;
    margin: 0 auto 1.5rem auto;
    opacity: 0;
    animation: logoFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) 0.1s forwards;
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.loader-animated-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: textFadeInUp 1.2s cubic-bezier(0.4,0,0.2,1) 1s forwards;
}

@keyframes textFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-text {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.loader-text:nth-child(3) {
    margin-top: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    transition: var(--transition);
}

.header.sticky {
    background-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #fff;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
}

.nav-logo {
    display: none !important;
}

.header.sticky .nav-logo {
    display: flex !important;
}

.nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0;
}

.nav ul li {
    margin: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 60px;
}

.nav ul li a {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    padding: 0 0.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav ul li a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section with green overlay */
.hero {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    box-sizing: border-box;
    background-image: linear-gradient(rgba(27, 94, 32, 0.8), rgba(46, 125, 50, 0.8)), url('suadiye_bitmis/msk01_View010000.jpg');
    background-size: cover;
    background-position: center;
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(27, 94, 32, 0.7);
    color: white;
    padding: 2rem;
    text-align: center;
    transform: translateY(0);
    transition: all 0.5s ease;
    animation: fadeInUp 1.5s ease forwards;
}

.hero-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-caption p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero:hover .hero-caption {
    background-color: rgba(46, 125, 50, 0.85);
    padding: 2.5rem 2rem;
}

/* Animation Classes */
.animated-text {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Projects Section */
.projects, .gallery, .featured-project {
    padding: 6rem 1.5rem;
    background-color: var(--light-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid white;
    border-radius: 4px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
}

.project-info p {
    color: #777;
}

/* Features Section */
.features, .about, .contact {
    padding: 5rem 1.5rem;
    background-color: white;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--secondary-color);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature p {
    color: #777;
}

/* Gallery Section */
.gallery {
    position: relative;
}

.gallery-container#galeri-container,
.gallery-container#sosyal-tesis-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 1rem !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
    height: auto !important;
}

.gallery-container#galeri-container .gallery-item,
.gallery-container#sosyal-tesis-container .gallery-item {
    height: 250px !important;
    width: 100% !important;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--accent-color);
}

.gallery-container#galeri-container .gallery-item img,
.gallery-container#sosyal-tesis-container .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .gallery-container#galeri-container,
    .gallery-container#sosyal-tesis-container {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0.7rem !important;
        padding: 0 0.2rem;
    }
    .gallery-container#galeri-container .gallery-item,
    .gallery-container#sosyal-tesis-container .gallery-item {
        min-width: 100vw !important;
        max-width: 100vw !important;
        width: 100vw !important;
        flex: 0 0 100vw !important;
        scroll-snap-align: start;
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    .gallery-container#galeri-container,
    .gallery-container#sosyal-tesis-container {
        gap: 0.5rem !important;
    }
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--primary-color);
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.about-text .btn-secondary {
    margin-top: 1rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--accent-color);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    padding: 2rem;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.quote {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 2rem;
    color: var(--accent-color);
}

.testimonial-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author h4 {
    margin-bottom: 0.3rem;
    color: var(--accent-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 2.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-media {
    display: flex;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 1.5rem 1.5rem;
    background-image: url(pdf_sayfalari/sayfa_2.jpg);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.footer-logo, .footer-links, .footer-newsletter {
    flex: 1;
    min-width: 250px;
}

.footer-logo p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3, .footer-newsletter h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
}

/* Featured Project Section */
.featured-project {
    padding: 6rem 1.5rem;
    background-color: var(--light-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
}

.featured-image {
    flex: 1;
    min-width: 300px;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 3px solid var(--accent-color);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-project:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--primary-color);
}

.featured-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.featured-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.featured-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.highlight-item span {
    font-weight: 600;
    color: var(--dark-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .featured-project, .about-content, .contact-container {
        flex-direction: column;
    }
    
    .featured-image {
        width: 100%;
        max-width: 600px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 18px;
        top: 10px;
        z-index: 200;
    }
    .header {
        position: fixed;
        width: 100vw;
        min-width: 0;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 101;
        text-align: right;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 80px 30px 30px;
        align-items: flex-end;
    }
    
    .nav ul li {
        margin: 0 0 1.2rem 0;
        height: auto;
    }
    
    .nav ul li a {
        font-size: 1.1rem;
        padding: 0.7rem 0;
        height: auto;
    }
    
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
        color: white;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .gallery-container#galeri-container,
    .gallery-container#sosyal-tesis-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
        gap: 0.7rem !important;
        padding: 0 0.2rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .hero {
        background-image: linear-gradient(rgba(27, 94, 32, 0.8), rgba(46, 125, 50, 0.8)), url('suadiye_bitmis/msk01_View010000.jpg');
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        height: 100vh;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .hero {
        background-position: center center;
        background-size: cover;
        height: 100vh;
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .section-header h2, .featured-content h2 {
        font-size: 1.8rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .gallery-container#galeri-container,
    .gallery-container#sosyal-tesis-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
        gap: 0.7rem !important;
        padding: 0 0.2rem;
    }
    
    .featured-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Project Details Section */
.project-details {
    padding: 6rem 1.5rem;
    background-color: white;
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    background-color: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.detail-card.reverse {
    flex-direction: row-reverse;
}

.detail-image {
    flex: 1;
    min-width: 300px;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.detail-card:hover .detail-image img {
    transform: scale(1.05);
}

.detail-content {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.detail-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="%232e7d32" fill-opacity="0.03" /></svg>') repeat;
    z-index: -1;
    opacity: 0.5;
}

.detail-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.detail-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.detail-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.detail-features {
    list-style: none;
    margin-bottom: 2rem;
}

.detail-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.detail-features li i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.detail-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.detail-amenities li {
    background-color: white;
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-left: 3px solid var(--secondary-color);
}

.detail-amenities li:hover {
    transform: translateY(-5px);
}

.detail-amenities li span {
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .detail-card, .detail-card.reverse {
        flex-direction: column;
    }
    
    .detail-image {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .detail-content h3 {
        font-size: 1.5rem;
    }
    
    .detail-amenities {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox Styles */
.lightbox-image {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-image:hover {
    opacity: 0.9;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s, transform 0.5s;
    cursor: zoom-in;
}

.lightbox-content.show {
    opacity: 1;
    transform: scale(1);
}

.lightbox-content.zoomed {
    max-width: none;
    max-height: none;
    transform: scale(1.5);
    cursor: zoom-out;
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--secondary-color);
    text-decoration: none;
}

.zoom-controls {
    position: absolute;
    bottom: 15px;
    right: 25px;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.zoom-btn:hover {
    background-color: var(--secondary-color);
}

#lightbox-caption {
    margin: auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 50px;
    font-size: 1.1rem;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

@keyframes fade-in {
    from {opacity: 0}
    to {opacity: 1}
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        max-width: 95%;
    }
    
    .zoom-controls {
        bottom: 70px;
        right: 15px;
    }
}

/* Luxury Living Section */
.luxury-living {
    padding: 6rem 1.5rem;
    background-color: white;
    position: relative;
}

.luxury-living::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="%2366bb6a" fill-opacity="0.2" /></svg>') repeat;
    z-index: 0;
    opacity: 0.3;
}

.luxury-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.luxury-item {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.luxury-item:hover {
    transform: translateY(-10px);
}

.luxury-item.reverse {
    flex-direction: row-reverse;
}

.luxury-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.luxury-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.luxury-item:hover .luxury-image img {
    transform: scale(1.05);
}

.luxury-content {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    background-color: white;
}

.luxury-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.luxury-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.luxury-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.luxury-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.luxury-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--light-color);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.luxury-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.luxury-feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.luxury-feature span {
    font-weight: 600;
    color: var(--primary-color);
}

.dream-quote {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dream-quote blockquote {
    font-size: 1.4rem;
    line-height: 1.6;
    font-style: italic;
    font-weight: 300;
}

@media (max-width: 992px) {
    .luxury-item, .luxury-item.reverse {
        flex-direction: column;
    }
    
    .luxury-image {
        height: 300px;
    }
    
    .dream-quote blockquote {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .luxury-content h3 {
        font-size: 1.5rem;
    }
    
    .luxury-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dream-quote {
        padding: 2rem 1.5rem;
    }
    
    .dream-quote blockquote {
        font-size: 1.1rem;
    }
}

/* Location Section Styles */
.location-section {
    background-color: var(--light-color);
}

.location-section .about-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.location-feature-column {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-feature {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--secondary-color);
}

.location-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.location-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.location-feature-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.location-feature-text p {
    margin-bottom: 0.3rem;
    color: #555;
    font-size: 0.95rem;
}

.location-map {
    border: 3px solid var(--accent-color);
}

@media (max-width: 768px) {
    .location-features {
        flex-direction: column;
    }
}

/* Dealer Contact Styles */
.dealer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.dealer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background-color: var(--light-color);
    border-radius: 8px;
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--secondary-color);
}

.dealer-contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.dealer-contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.dealer-contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.dealer-contact-item p, .dealer-contact-item a {
    word-break: break-all;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
    display: block;
}

.dealer-contact-item:last-child {
    min-height: 0 !important;
    padding-bottom: 0.6rem !important;
}

.dealer-contact-item .fab.fa-instagram {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.dealer-image {
    border: 3px solid var(--accent-color);
}

@media (max-width: 576px) {
    .dealer-contact-item {
        flex: 1 1 100%;
    }
}

/* Swipe Indicator Styles */
.swipe-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    color: var(--secondary-color);
    animation: swipeAnimation 2s infinite;
}

.swipe-indicator span {
    margin-right: 0.5rem;
    font-weight: 500;
}

.swipe-indicator i {
    font-size: 1.2rem;
}

@keyframes swipeAnimation {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .swipe-indicator {
        display: flex;
    }
    
    .gallery-container#galeri-container,
    .gallery-container#sosyal-tesis-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
        gap: 0.7rem !important;
        padding: 0 0.2rem;
    }
    .gallery-item {
        min-width: 0 !important;
        width: 100% !important;
    }
    body, html {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Documents Section Styles */
.documents-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.documents-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.documents-table th,
.documents-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.documents-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
}

.documents-table tr:hover {
    background-color: #f8f9fa;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #34495e;
}

.table-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-page,
.next-page {
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.prev-page:hover,
.next-page:hover {
    background-color: #34495e;
}

.page-info {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .documents-section {
        padding: 2rem 1rem;
    }
    
    .documents-table th,
    .documents-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .download-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Apartment Types Section */
.apartment-types {
    padding: 6rem 1.5rem;
    background-color: var(--light-color);
}

.apartment-types .section-header {
    margin-bottom: 4rem;
}

.apartment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.apartment-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.apartment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.apartment-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.apartment-card:hover .apartment-image img {
    transform: scale(1.1);
}

.apartment-type {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.apartment-content {
    padding: 2rem;
}

.apartment-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.apartment-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.apartment-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: #555;
    font-size: 0.95rem;
}

.apartment-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.detail-item span:first-child {
    color: #777;
}

.detail-item span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.apartment-cta {
    margin-top: 2rem;
    text-align: center;
}

.apartment-cta .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .apartment-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .apartment-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .apartment-features {
        grid-template-columns: 1fr;
    }
    
    .apartment-content {
        padding: 1.5rem;
    }
}

/* Apartment Plans Section */
.apartment-plans {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.apartment-types {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.apartment-type {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.apartment-type h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.apartment-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.apartment-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.apartment-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apartment-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

.apartment-gallery .gallery-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.apartment-gallery .prev-btn,
.apartment-gallery .next-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apartment-gallery .prev-btn:hover,
.apartment-gallery .next-btn:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .apartment-plans {
        padding: 2rem 1rem;
    }

    .apartment-type {
        padding: 1.5rem;
    }

    .apartment-gallery {
        grid-template-columns: 1fr;
    }

    .apartment-type h3 {
        font-size: 1.5rem;
    }
}

.sectionbar {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    background: var(--primary-color);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    box-shadow: 0 4px 16px rgba(46,125,50,0.08);
    position: relative;
    z-index: 2;
}
.sectionbar-btn {
    background: none;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    padding: 0.9rem 2.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
    margin: 0 0.2rem;
    box-shadow: 0 2px 8px rgba(46,125,50,0.04);
}
.sectionbar-btn.active, .sectionbar-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(102,187,106,0.12);
}

#kat-planlari-gallery.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-section {
    display: none;
    width: 100%;
}

.gallery-section.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-section .gallery-items {
    display: contents;
}

.gallery-section .gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--accent-color);
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-section .gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-section.active {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .gallery-section .gallery-item {
        min-width: 100vw !important;
        max-width: 100vw !important;
        width: 100vw !important;
        flex: 0 0 100vw !important;
        scroll-snap-align: start;
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .gallery-section.active {
        grid-template-columns: 1fr;
    }
}

#giris .gallery-container,
#toplanti-odasi .gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

#giris .gallery-item,
#toplanti-odasi .gallery-item {
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--accent-color);
}

#giris .gallery-item img,
#toplanti-odasi .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#giris .gallery-item:hover img,
#toplanti-odasi .gallery-item:hover img {
    transform: scale(1.1);
}

#giris .gallery-slider-controls,
#toplanti-odasi .gallery-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

#giris .prev-btn, #giris .next-btn,
#toplanti-odasi .prev-btn, #toplanti-odasi .next-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#giris .prev-btn:hover, #giris .next-btn:hover,
#toplanti-odasi .prev-btn:hover, #toplanti-odasi .next-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    #giris .gallery-container,
    #toplanti-odasi .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #giris .gallery-container,
    #toplanti-odasi .gallery-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 1200px) {
  .hero,
  .gallery,
  .section,
  .featured-project {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw;
    max-width: 100vw;
  }
}

.hero-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo-center img {
    max-width: 320px;
    width: 60vw;
    min-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 32px rgba(0,0,0,0.25));
}

@media (max-width: 768px) {
    .hero-logo-center img {
        max-width: 200px;
        width: 80vw;
    }
}

@media (max-width: 768px) {
    #giris .gallery-container,
    #sosyal-tesis .gallery-container,
    #toplanti-odasi .gallery-container,
    #kat-planlari-gallery.gallery-container,
    .gallery-section.active {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #giris .gallery-item,
    #sosyal-tesis .gallery-item,
    #toplanti-odasi .gallery-item,
    #kat-planlari-gallery .gallery-item,
    .gallery-section.active .gallery-item {
        min-width: 100vw !important;
        max-width: 100vw !important;
        width: 100vw !important;
        flex: 0 0 100vw !important;
        scroll-snap-align: start;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .sectionbar {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
        padding: 0.5rem 0.5rem !important;
    }
    .sectionbar-btn {
        width: 100% !important;
        text-align: left !important;
        padding-left: 1.5rem !important;
        border-radius: 10px !important;
        font-size: 1.1rem !important;
    }
}
