/* Gallery Section Styling */
.gallery-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.gallery-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Controls */
.gallery-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.gallery-carousel .owl-nav button {
    position: absolute;
    width: 50px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.5) !important;
    pointer-events: auto;
}

.gallery-carousel .owl-nav button.owl-prev {
    left: 0;
}

.gallery-carousel .owl-nav button.owl-next {
    right: 0;
}

.gallery-carousel .owl-nav button span {
    font-size: 24px;
    color: #36424A;
}

/* Dots Navigation */
.gallery-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.gallery-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.gallery-carousel .owl-dots .owl-dot.active span {
    background-color: #40DAC5;
}

/* General Styling */
.background-colored {
    background-color: #f8f9fa;
}

.btn-rounded {
    border-radius: 30px;
    padding: 12px 30px;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

.icon-box {
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.icon-box .icon i {
    font-size: 42px;
    color: #40DAC5;
}

.icon-box:hover .icon i {
    color: #36424A;
}

.bg-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .gallery-item {
        height: 70vh;
    }
}

@media (max-width: 767px) {
    .gallery-item {
        height: 50vh;
    }
    
    .gallery-carousel .owl-nav button {
        width: 40px;
        height: 60px;
    }
    
    .p-t-150 {
        padding-top: 80px !important;
    }
    
    .p-b-150 {
        padding-bottom: 80px !important;
    }
}

/* Contact Footer Styling */
.contact-footer {
    background-color: #C4C1A0;
    padding: 40px 0;
    color: #36424A;
}

.contact-footer h4 {
    font-family: 'Termina', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-footer p {
    font-family: 'Brother', sans-serif;
    margin-bottom: 5px;
    font-size: 14px;
}

.directions-link {
    color: #36424A;
    font-size: 14px;
    text-decoration: underline;
    display: inline-block;
    margin-top: 10px;
}

.directions-link:hover {
    color: #40DAC5;
}

.footer-contact {
    text-align: right;
}

.contact-phone {
    font-family: 'Termina', sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-email {
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-social {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #36424A;
    font-size: 18px;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background-color: #40DAC5;
    color: #ffffff;
}

@media (max-width: 991px) {
    .footer-office, .footer-contact {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .contact-social {
        justify-content: center;
    }
}

/* Floating Contact Card Styling */
.floating-contact-card {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    padding: 25px;
    z-index: 999;
    transform: translateY(calc(100% + 30px));
    transition: transform 0.5s ease;
}

.floating-contact-card.visible {
    transform: translateY(0);
}

.floating-contact-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 150px;
    height: 60px;
    background-color: #40DAC5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #36424A;
    font-size: 16px;
    font-weight: 900;
    font-family: "Termina", "Brother1816", "Poppins", "Helvetica", "Arial", sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease;
    transform: translateY(0);
    padding: 0 20px;
    text-align: center;
    text-transform: uppercase; /* Added to match the all-caps in your image */
}

.floating-contact-toggle:hover, .floating-contact-toggle.active {
    background-color: #36424A;
    color: #fff;
}

.floating-contact-toggle.active {
    transform: translateY(calc(100% + 30px));
}

.floating-contact-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 16px;
    color: #36424A;
    transition: color 0.3s ease;
}

.floating-contact-close:hover {
    color: #40DAC5;
}

.floating-contact-card h4 {
    color: #40DAC5;
    font-family: 'Termina', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
}

.floating-contact-card p {
    color: #36424A;
    margin-bottom: 20px;
    font-size: 14px;
}

.floating-contact-form .form-control {
    border: 2px solid #eee;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.floating-contact-form .form-control:focus {
    border-color: #40DAC5;
    box-shadow: none;
}

.btn-teal {
    background-color: #40DAC5;
    border-color: #40DAC5;
    color: #36424A;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-teal:hover {
    background-color: #36424A;
    border-color: #36424A;
    color: #fff;
}

@media (max-width: 576px) {
    .floating-contact-card {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}


#header {
    line-height: 100px;
}

#mainMenu nav {
    line-height: 100px;
}


.ktl-video-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*border: 15px solid rgb(196, 193, 160);*/
    border: 8px solid #CEB586;
    z-index: 10;
    pointer-events: none;
    box-sizing: border-box;
}

.ktl-video-border::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 2px solid #8A7142;
    box-sizing: border-box;
    pointer-events: none;
}

@media (max-width: 768px) {
    .ktl-video-border {
        border-width: 5px;
    }

    .ktl-video-border::after {
        top: 1px;
        left: 1px;
        right: 1px;
        bottom: 1px;
        border-width: 1px;
    }
}

.inverted-divider {
    transform: rotate(180deg);
}

.tour-container {
    height: calc(100vh - 100px);
    padding-bottom: 20px;
}

.maps-section > iframe {
    border: solid #8A7142;
    border-width: 4px 0 4px 0;
    box-sizing: border-box;
}

.grid-2-columns > .grid-item img {
    width: 100%;
}




/* Tours Grid Layout */
.custom-tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

/* Custom Tour Image Container */
.custom-tour-container {
  position: relative;
  width: 100%;
}

/* Decorative Frame */
.custom-tour-frame {
  position: relative;
  border: 8px solid #CEB586;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Image Container - This will handle the overflow */
.custom-tour-image-container {
  position: relative;
  overflow: hidden; /* Important for zoom effect */
}

/* Main Image */
.custom-tour-image-container img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Image Zoom Effect on Hover */
.custom-tour-container:hover .custom-tour-image-container img {
  transform: scale(1.1);
}

/* Inner Border */
.custom-tour-frame:after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid #8A7142;
  pointer-events: none;
  z-index: 2;
}

/* Overlay Link */
.custom-tour-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.2);
  text-decoration: none;
  transition: background 0.3s ease;
  z-index: 3;
}

.custom-tour-link:hover {
  background: rgba(0,0,0,0.4);
}

/* Button Style */
.custom-tour-button {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

/* Button Hover Effect */
.custom-tour-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #40DAC5;
  transition: width 0.3s ease;
  z-index: -1;
}

.custom-tour-link:hover .custom-tour-button {
  border-color: #40DAC5;
}

.custom-tour-link:hover .custom-tour-button:before {
  width: 100%;
}

/* Button Text */
.custom-tour-button-text {
  color: #ffffff;
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-align: center;
  font-family: 'Termina', sans-serif;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Section Title */
.custom-tours-title {
  text-align: center;
  margin-bottom: 30px;
}

.custom-tours-description {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .custom-tours-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 20px;
  }
  
  .custom-tour-frame {
    border-width: 5px;
    padding: 5px;
  }
  
  .custom-tour-frame:after {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-width: 1px;
  }
  
  .custom-tour-button {
    padding: 8px 20px;
  }
  
  .custom-tour-button-text {
    font-size: 14px;
  }
}




/* Enhanced Location Section Styling */
#iletisim-section {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
}

/* Stronger overlay with gradient for better text contrast */
#iletisim-section .bg-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.4) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#iletisim-section .container {
    position: relative;
    z-index: 2;
}

/* Main heading styling */
#iletisim-section .heading-text h4 {
    color: #40DAC5;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 24px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Enhanced KONUM title - overrides regular h4 styling */
#iletisim-section .heading-text h4.konum-title {
    color: #40DAC5;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-size: 38px;
    text-transform: uppercase;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid #40DAC5;
}

/* Main heading styling with underline fix */
#iletisim-section .heading-text h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

/* Specifically target and remove the ::before pseudo-element */
#iletisim-section .heading-text h2::before {
    display: none !important;
    content: none !important;
    background-color: transparent !important;
    width: 0 !important;
    height: 0 !important;
}

#iletisim-section .lead {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

/* Enhanced description text container */
#iletisim-section .description-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid #40DAC5;
    backdrop-filter: blur(10px);
    max-width: 95%;
}

#iletisim-section .description-box p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Information boxes with solid backgrounds */
#iletisim-section .info-box {
    background-color: rgba(54, 66, 74, 0.85);
    border-left: 4px solid #40DAC5;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

#iletisim-section .info-box h4 {
    color: #40DAC5;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
}

#iletisim-section .info-box h4 i {
    margin-right: 10px;
    font-size: 22px;
}

#iletisim-section .list-icon li {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
}

#iletisim-section .list-icon i.fa-check-circle {
    color: #40DAC5;
    margin-right: 10px;
    font-size: 18px;
}

/* Map button styling */
#iletisim-section .map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #40DAC5;
    color: #36424A;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#iletisim-section .map-button i {
    margin-right: 10px;
    font-size: 18px;
}

#iletisim-section .map-button:hover {
    background-color: #ffffff;
    color: #36424A;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #iletisim-section .bg-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.7) 100%);
    }
    
    #iletisim-section .heading-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    #iletisim-section .heading-text h4 {
        font-size: 20px;
    }
    
    #iletisim-section .heading-text h4.konum-title {
        font-size: 30px;
        letter-spacing: 2px;
    }
    
    #iletisim-section .heading-text h2 {
        font-size: 26px;
    }
    
    #iletisim-section .lead {
        font-size: 16px;
    }
    
    #iletisim-section .info-box {
        padding: 15px;
    }
    
    #iletisim-section .description-box {
        padding: 15px 20px;
    }
    
    #iletisim-section .description-box p {
        font-size: 16px;
    }
}



/* Complete Image Border Styling - Fixed Hover */
.featured-image-container {
    position: relative;
    border: 8px solid #CEB586;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    overflow: hidden;
    /* No transition on the container itself */
}

.featured-image-container::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #8A7142;
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
}

.featured-image-container img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Hover Effects - ONLY zoom the image, container stays in place */
.featured-image-container:hover {
    /* Removed the translateY and box-shadow change */
}

#proje-section:hover .featured-image-container .image-wrapper img,
#mimari-section:hover .featured-image-container .image-wrapper img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .featured-image-container {
        border-width: 5px;
        padding: 5px;
    }
    
    .featured-image-container::after {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
    }
    
    .image-wrapper {
        margin: 5px;
    }
}




.gallery-container {
    max-width: 1600px;
    margin: 0 auto; /* This centers the container horizontally */
    padding: 0 15px; /* Optional: adds some padding on the sides */
    box-sizing: border-box; /* Ensures padding is included in width calculation */
    width: 100%; /* Makes the container responsive */
}

/* Optional additional styling for better responsiveness */
@media (max-width: 1640px) {
    .gallery-container {
        padding: 0 20px; /* Slightly more padding on smaller screens */
    }
}

/* Ensure images within the gallery are responsive */
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
}



/* Gallery hero section with refined darkness and transparent brown */
.custom-gallery-hero {
    position: relative;
    height: 460px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.custom-gallery-hero .custom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Base overlay with more transparent brown tones */
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.72) 0%, 
                rgba(138, 113, 66, 0.12) 100%); /* Reduced brown opacity from 0.35 to 0.2 */
}

/* Additional darker overlay for increased darkness */
.custom-gallery-hero .custom-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* Slightly increased from 0.3 to 0.35 */
}

.custom-gallery-hero .custom-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    padding: 0 20px;
}

.custom-hero-content {
    text-align: center;
}

/* Larger text size while keeping the original style */
.custom-gallery-title {
    color: #ffffff;
    font-size: 72px; /* Increased from default */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .custom-gallery-hero {
        height: 320px; /* Kept shorter for mobile */
    }
    
    .custom-gallery-title {
        font-size: 52px; /* Responsive size for mobile */
    }
}




@media (min-width: 576.2px) {
    .mobile-content {
        display: none !important;
    }
}

@media (max-width: 576.2px) {
    .non-mobile-content {
        display: none !important;
    }
}



/* Hide floating contact toggle on mobile when not scrolled */
@media (max-width: 576.2px) {
    .floating-contact-toggle {
        opacity: 0;
        transform: translateY(100px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Show it when page is scrolled */
    body.is-scrolled .floating-contact-toggle {
        opacity: 1;
        transform: translateY(0);
    }
}




#kvkk-section {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Container styles */
#kvkk-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Modal content styles */
#kvkk-section .modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* Modal header styles */
#kvkk-section .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}

#kvkk-section .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

#kvkk-section .btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    color: #6c757d;
    position: relative;
}

#kvkk-section .btn-close::before {
    content: "×";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Modal body styles */
#kvkk-section .modal-body {
    padding: 25px;
}

/* Table styles */
#kvkk-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

#kvkk-section table, 
#kvkk-section td, 
#kvkk-section th {
    border: 1px solid #ddd;
}

#kvkk-section td, 
#kvkk-section th {
    padding: 12px 15px;
    text-align: left;
}

/* List styles */
#kvkk-section ol, 
#kvkk-section ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

#kvkk-section ol li, 
#kvkk-section ul li {
    margin-bottom: 8px;
}

/* Paragraph styles */
#kvkk-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Link styles */
#kvkk-section a {
    color: #0066cc;
    text-decoration: none;
}

#kvkk-section a:hover {
    text-decoration: underline;
}

/* Strong text styles */
#kvkk-section strong {
    font-weight: 600;
}

/* Section padding */
#kvkk-section.p-t-130 {
    padding-top: 130px;
}

#kvkk-section.p-b-0 {
    padding-bottom: 0;
}

/* Elementor container overrides */
#kvkk-section .elementor-container {
    width: 100%;
}

#kvkk-section .elementor-widget-container {
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #kvkk-section .modal-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #kvkk-section .btn-close {
        margin-top: 10px;
        align-self: flex-end;
    }
    
    #kvkk-section .modal-title {
        font-size: 1.1rem;
    }
    
    #kvkk-section table {
        display: block;
        overflow-x: auto;
    }
}

