.text-main {
    color: #ed7c04 !important;
}

.bg-main {
    background-color: #ed7c04 !important;
}
.text-main-hover {
    color: #ed7c04 !important;
}
/* Custom overrides for navigation colors */
/* Base navbar background and link colors */
.navbar.header-light.bg-white {
    background-color: #ffffff; /* keep white background */
}

.navbar .navbar-nav .nav-link {
    color: #0d6efd; /* bootstrap-like blue */
}

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-item:hover > .nav-link,
    .navbar .navbar-nav .nav-link:focus {
        color: #0a58ca; /* darker blue on hover */
    }

/* Dropdown caret icon color on hover */
.navbar .dropdown-toggle:hover,
.navbar .dropdown:hover > .dropdown-toggle {
    color: #0a58ca;
}

/* Dropdown menu links */
.dropdown-menu a {
    color: #0d6efd;
}

    .dropdown-menu a:hover,
    .dropdown-menu a:focus {
        color: #0a58ca;
    }

/* Active state for nav links */
.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link.active {
    color: #0a58ca;
}

/* Social icons in header keep their original unless hovered */
.header-social-icon a:hover {
    color: #0a58ca;
}

/* Top bar social hover (uses text-fast-blue-hover in theme). Ensure compatible blue */
.text-fast-blue-hover:hover {
    color: #0d6efd !important;
}

/* Spacing for nav icons */
.navbar .navbar-nav .nav-link i {
    margin-right: 8px;
}

/* Sticky Buttons Container */
.sticky-buttons-container {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.sticky-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

    .sticky-button i {
        font-size: 22px;
        color: #ffffff;
    }

    .sticky-button span {
        position: absolute;
        right: 55px;
        background-color: inherit;
        color: #ffffff;
        padding: 8px 15px;
        border-radius: 20px;
        white-space: nowrap;
        font-size: 13px;
        font-weight: 500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }

    .sticky-button:hover span {
        opacity: 1;
        visibility: visible;
        right: 60px;
    }

    .sticky-button:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    }

.whatsapp-button {
    background-color: #25D366;
}

    .whatsapp-button:hover {
        background-color: #128C7E;
    }

.quote-button {
    background-color: #ed7c04;
}

    .quote-button:hover {
        background-color: #d46f03;
    }

.blog-button {
    background-color: #667eea;
}

    .blog-button:hover {
        background-color: #5568d3;
    }

@media (max-width: 768px) {
    .sticky-buttons-container {
        right: 8px;
    }

    .sticky-button {
        width: 40px;
        height: 40px;
    }

        .sticky-button i {
            font-size: 18px;
        }

        .sticky-button span {
            font-size: 12px;
            padding: 6px 12px;
        }
}

/* Prevent CLS for hero slider */
.one-third-screen {
    min-height: 400px;
}

@media (min-width: 768px) {
    .one-third-screen {
        min-height: 33.33vh;
    }
}

/* Homepage buttons spacing */
.gap-3 {
    gap: 1rem;
}

@media (max-width: 576px) {
    .gap-3 {
        gap: 0.5rem;
    }
}

/* Products page specific styles */
.products-page .product-cards-row {
    row-gap: 40px !important;
}

.products-page .product-cards-row .col {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

.products-page .product-cards-row .col a:first-child {
    display: block;
    overflow: hidden;
    height: 250px;
}

.products-page .product-cards-row .col img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

.products-page .product-cards-row .col .position-relative {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-page .product-cards-row .col .position-relative p {
    flex: 1;
}

@media (max-width: 991px) {
    .products-page .product-cards-row {
        row-gap: 30px !important;
    }
}

@media (max-width: 575px) {
    .products-page .product-cards-row {
        row-gap: 25px !important;
    }
    
    .products-page .product-cards-row .col a:first-child {
        height: 200px;
    }
    
    .products-page .product-cards-row .col img {
        height: 200px !important;
    }
}

/* Services page specific styles */
.services-page .service-cards-row {
    row-gap: 40px !important;
}

.services-page .service-cards-row .col {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

.services-page .service-cards-row .col a:first-child {
    display: block;
    overflow: hidden;
    height: 250px;
}

.services-page .service-cards-row .col img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

.services-page .service-cards-row .col .position-relative {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-page .service-cards-row .col .position-relative p {
    flex: 1;
}

/* Blog detail: content headings match Hizmetlerimiz / service pages (alt-font, text-extra-dark-gray, font-weight-500, margin-20px-bottom) */
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    font-family: inherit;
    color: #2d2d2d;
    font-weight: 500;
    margin-bottom: 20px;
}
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    margin-top: 25px;
}
.blog-post-content h1:first-child,
.blog-post-content h2:first-child,
.blog-post-content h3:first-child,
.blog-post-content h4:first-child,
.blog-post-content h5:first-child,
.blog-post-content h6:first-child {
    margin-top: 0;
}

@media (max-width: 991px) {
    .services-page .service-cards-row {
        row-gap: 30px !important;
    }
}

@media (max-width: 575px) {
    .services-page .service-cards-row {
        row-gap: 25px !important;
    }
    
    .services-page .service-cards-row .col a:first-child {
        height: 200px;
    }
    
    .services-page .service-cards-row .col img {
        height: 200px !important;
    }
}