/* ==========================================
   GLOBAL & TYPOGRAPHY
   ========================================== */
body {
    font-family: 'Montserrat', sans-serif; /* Arial yerine lüks segment Montserrat getirildi */
    background-color: #fafafa;
    color: #1a1a1a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Genişletilmiş ve Şeffaf Navbar */
.navbar {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%) !important;
    z-index: 1050;
}

/* Scroll Edildiğinde Devreye Giren Degrade Geçiş */
.navbar.scrolled {
    padding: 15px 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95) 0%, rgba(15, 15, 15, 0.85) 70%, rgba(20, 20, 20, 0) 100%) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Logo Alanı */
.navbar-brand img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}
.navbar.scrolled .navbar-brand img {
    max-height: 50px;
}

/* Bold Menü Linkleri */
.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    margin-left: 20px;
}
.nav-link:hover, .nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ==========================================
   HERO / SLIDER SECTION
   ========================================== */
.slider-section {
    height: 100vh;
    position: relative;
    background-color: #000;
}
.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}
.carousel-item img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

/* Bouncing Arrow Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}
.scroll-down-arrow {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
    text-decoration: none;
}
.scroll-down-arrow:hover {
    color: #fff;
}

/* Common Section Styling */
section {
    padding: 100px 0;
}
.section-title {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* ==========================================
   PREMIUM HISTORY SECTION
   ========================================== */
#history {
    background-color: #ffffff;
    position: relative;
}
.history-badge {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #c5a880;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}
.history-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin-bottom: 30px;
}
.history-main-title span {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: 400;
    color: #c5a880;
}
.history-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}
.history-text strong {
    color: #111;
    font-weight: 700;
}

/* Features Area */
.history-features-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #111;
}
.feature-list-row {
    display: flex;
    gap: 30px;
}
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.feature-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #c5a880;
    font-weight: 700;
}

/* Signature Block */
.history-quote {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    border-left: 3px solid #c5a880;
    padding-left: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
}
.signature-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.sig-box span {
    display: block;
}
.sig-box span:first-child {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sig-box span:last-child {
    font-size: 0.85rem;
    color: #666;
}

/* Media Grid Düzeni */
.history-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: stretch; /* Elemanların boylarını eşitler */
}

/* Video ve Görsel Kutularının Sabitliği */
.history-media-item {
    position: relative;
    overflow: hidden;
}

/* Video Arka Plan Döngüsü İçin Esneklik */
.history-media-item video {
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.history-media-item:hover video {
    transform: scale(1.03);
}

/* ==========================================
   GALLERY / MEDIA POOL STYLES
   ========================================== */
#gallery {
    padding: 100px 0;
    background-color: #fafafa;
}
.gallery-header-area {
    text-align: center;
    margin-bottom: 60px;
}
.gallery-header-area h6 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.gallery-header-area h2 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111;
    text-transform: uppercase;
}

/* Gallery Navigation Filter */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    list-style: none;
    padding: 0;
}
.gallery-nav-link {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #444;
    background-color: transparent;
    border: 1px solid #e0e0e0;
    padding: 10px 28px !important;
    border-radius: 50rem !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-nav-link:hover,
.gallery-nav-link.active {
    color: #fff !important;
    background-color: #c5a880 !important;
    border-color: #c5a880 !important;
    box-shadow: 0 6px 15px rgba(197, 168, 128, 0.25);
}
.gallery-nav-link::after {
    display: none !important;
}

/* Asymmetric Grid Blueprint */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    display: none;
}
.gallery-item.portrait { grid-row: span 2; }
.gallery-item.landscape { grid-column: span 2; }

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:not(.portrait):not(.landscape) img,
.gallery-item:not(.portrait):not(.landscape) video { height: 280px; }
.gallery-item.portrait img,
.gallery-item.portrait video { height: 580px; }
.gallery-item.landscape img,
.gallery-item.landscape video { height: 280px; }

/* Hover Overlays */
.gallery-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-view-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 2;
    opacity: 0;
    padding-bottom: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-view-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item:hover .gallery-view-text {
    opacity: 1;
    transform: translate(-50%, -50%);
}
.gallery-item:hover .gallery-view-text::after { width: 100%; }
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.gallery-action { text-align: center; margin-top: 50px; }
.btn-load-more {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    background-color: transparent;
    border: 2px solid #111;
    padding: 14px 45px !important;
    border-radius: 50rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
}
.btn-load-more:hover {
    background-color: #c5a880;
    border-color: #c5a880;
    color: #fff;
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.3);
}

/* Lightbox Customization */
.gallery-lightbox .modal-content { background: transparent; border: none; }
.gallery-lightbox .modal-body { padding: 0; position: relative; }
.gallery-lightbox .btn-close { position: absolute; top: -40px; right: 0; filter: invert(1); opacity: 0.8; }
.lightbox-media { max-height: 85vh; width: 100%; object-fit: contain; display: block; margin: 0 auto; }

/* ==========================================
   HIGH-END ARCHITECTURAL CONTACT SECTION
   ========================================== */
#contact {
    background-color: #ffffff;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}
.contact-title-side { position: relative; }
.contact-title-side .contact-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #c5a880;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}
.contact-title-side h2 {
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #111111;
    text-transform: uppercase;
}

.architect-info-grid {
    margin-top: 60px;
    border-top: 1px solid #eaeaea;
    padding-top: 40px;
}
.info-block { margin-bottom: 35px; }
.info-block span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c5a880;
    display: block;
    margin-bottom: 8px;
}
.info-block p,
.info-block a {
    font-size: 1.15rem;
    font-weight: 300;
    color: #111111;
    text-decoration: none;
    transition: color 0.3s ease;
}
.info-block a:hover { color: #c5a880; }

.premium-contact-form { padding-left: 30px; }
.premium-form-group { position: relative; margin-bottom: 50px; }
.premium-form-group .form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 0 !important;
    color: #111111 !important;
    padding: 12px 0 !important;
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: none !important;
}
.premium-form-group .form-control:focus { border-bottom-color: #c5a880 !important; }
.premium-form-group .form-control::placeholder {
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}
.premium-form-group .form-control:focus::placeholder {
    opacity: 0.3;
    transform: translateX(5px);
}

.btn-premium-send {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #111111;
    background-color: transparent;
    border: 1px solid #111111;
    padding: 18px 65px !important;
    border-radius: 50rem !important;
    cursor: pointer;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-premium-send:hover {
    background-color: #c5a880;
    border-color: #c5a880;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(197, 168, 128, 0.25);
    transform: translateY(-2px);
}

/* ==========================================
   HIGH-END ARCHITECTURAL FOOTER
   ========================================== */
footer {
    background-color: #111111;
    color: #ffffff;
    padding: 100px 0 40px 0;
}
.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c5a880;
    margin-bottom: 25px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom p {
    font-size: 0.8rem;
    font-weight: 300;
    color: #555555;
    margin: 0;
    letter-spacing: 1px;
}
.footer-bottom a { color: #777777; text-decoration: none; transition: color 0.3s ease; }
.footer-bottom a:hover { color: #c5a880; }

.footer-logo-wrapper { margin-bottom: 35px; display: inline-block; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.footer-logo-wrapper img {
    height: auto;
    width: 100px;
    max-width: 180px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: all 0.4s ease;
}
footer:hover .footer-logo-wrapper img {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}
.footer-description {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    max-width: 350px;
    margin-top: 15px;
    color: #aaaaaa !important;
}

/* ==========================================
   COMBINED MEDIA QUERIES (RESPONSIVE)
   ========================================== */
@media (max-width: 1199px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item.landscape { grid-column: span 1; }
}

@media (max-width: 991px) {
    /* Global Adjustments */
    section { padding: 70px 0; }

    /* Navbar Mobile */
    .navbar { background: #0f0f0f !important; padding: 15px 0; }
    .navbar-brand img { max-height: 45px !important; }
    .nav-link { margin: 12px 0; padding-left: 10px; font-size: 0.9rem; }
    .navbar-toggler { border-color: rgba(255,255,255,0.4); }

    /* History Mobile */
    .history-main-title { font-size: 2.2rem; }
    .feature-list-row { flex-direction: column; gap: 0; }
    .signature-meta { flex-direction: column; gap: 15px; }
    .history-media-grid { grid-template-columns: 1fr; }

    /* DÜZELTME: Mobilde resimlerin sünmesini engeller */
    .history-media-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
    }

    /* Gallery Mobile */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.portrait img, .gallery-item.portrait video { height: 400px; }

    /* Contact Mobile */
    .contact-title-side h2 { font-size: 3.2rem; }
    #contact { padding: 90px 0; }
    .premium-contact-form { padding-left: 0; margin-top: 50px; }

    /* Footer Mobile */
    footer { padding: 70px 0 30px 0; }
    .footer-bottom { margin-top: 50px; }
}

@media (max-width: 575px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.portrait img, .gallery-item.portrait video { height: 350px; }

}

@media (max-width: 768px) {
    /* 1. Slider kapsayıcılarının tam ekran (100vh) zorlamasını mobilde kapatıyoruz */
    .slider-section,
    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        height: auto !important;
        min-height: auto !important;
    }

    /* 2. Görseli enine %100 oturtup, boyunu orijinal oranında serbest bırakıyoruz */
    #heroCarousel .carousel-item img {
        width: 100% !important;
        height: auto !important;
        object-fit: initial !important; /* Kırpma mantığını tamamen devre dışı bırak */
    }
}