@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --navy-blue: #1C2E4A;
    --gold: #A88645;
    --gold-hover: #8f7238;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 12px 0;
}
.navbar-brand {
    max-width: min(55%, 420px);
    margin-right: 1.5rem;
    flex-shrink: 0;
}
.navbar-brand .site-logo {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.navbar-brand .site-logo-placeholder {
    letter-spacing: 0.5px;
}
@media (max-width: 991px) {
    .navbar-brand {
        max-width: 70%;
    }
}
.nav-link {
    color: var(--navy-blue) !important;
    font-weight: 600;
    margin: 0 10px;
}
.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

/* Hero / Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 420px;
    overflow: hidden;
}
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100%;
}
.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}
/* Eski ::before karartması — varsayılan kapalı (yalnızca metinli slaytta overlay div kullanılır) */
.hero-slide::before {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}
/* Başlık/yazı olan slaytlarda karartma katmanı */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(rgba(28, 46, 74, 0.75), rgba(28, 46, 74, 0.8));
}
/* Güvenlik: clear class + eski ::before kalırsa yine kapalı */
.hero-slide.hero-slide--clear::before,
.hero-slide--clear::before {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
}
.hero-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 5;
}
.carousel-indicators {
    z-index: 5;
}

/* Fallback single hero */
.hero {
    background: linear-gradient(rgba(28, 46, 74, 0.8), rgba(28, 46, 74, 0.8)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    height: 80vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    color: white;
}

.btn-gold {
    background-color: var(--gold);
    color: white;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 5px;
    border: none;
    transition: 0.3s;
}
.btn-gold:hover {
    background-color: var(--gold-hover);
    color: white;
}

.section-padding {
    padding: 80px 0;
}
.section-title {
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}
.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: 0.3s;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.project-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.project-content {
    padding: 20px;
}
.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.product-card {
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-4px);
}
.product-card .card-img-top,
.product-card .product-thumb {
    height: 200px;
    object-fit: cover;
}
.product-img-wrap {
    overflow: hidden;
    border-radius: 0.375rem 0.375rem 0 0;
}
.product-thumb {
    transition: transform 0.3s ease;
}
.product-img-wrap:hover .product-thumb,
.product-thumb:hover {
    transform: scale(1.04);
}
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-header {
    color: white;
    text-align: center;
    padding: 4rem 0;
    background-color: #1C2E4A;
    background-size: cover;
    background-position: center;
}
.page-header .page-header-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.page-header .page-header-subtitle {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.page-header.no-overlay {
    color: #1C2E4A;
}
.page-header.no-overlay .page-header-title,
.page-header.no-overlay .page-header-subtitle {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.85), 0 1px 3px rgba(0, 0, 0, 0.25);
}
.page-header.no-overlay.has-image {
    color: #fff;
}
.page-header.no-overlay.has-image .page-header-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.page-header.no-overlay.has-image .page-header-subtitle {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.cta-section {
    background-color: #8c7343;
    color: white;
    padding: 60px 0;
}
.cta-info i {
    color: #fff;
    margin-right: 10px;
}

footer {
    background-color: #f1f1f1;
    padding: 40px 0 20px;
    color: #555;
}
.footer-title {
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--gold);
}

.feature-box {
    transition: all 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    background-color: var(--navy-blue);
    color: white;
}
.feature-box:hover h5,
.feature-box:hover p {
    color: white !important;
}

.contact-map {
    min-height: 320px;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
}
@media (min-width: 768px) {
    .contact-map {
        min-height: 400px;
    }
    .contact-map iframe {
        min-height: 400px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    text-decoration: none;
    transition: 0.3s;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

.category-filter .btn {
    margin: 0 4px 8px;
}

.alert-success-custom {
    background: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
    padding: 1rem;
    border-radius: 8px;
}

/* Firma logoları (referanslar) */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 576px) {
    .client-logos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .client-logos-grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}
.client-logo-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(28, 46, 74, 0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 1.25rem;
    transition: 0.25s ease;
    text-decoration: none;
}
.client-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    border-color: rgba(168, 134, 69, 0.35);
}
.client-logo-card img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    opacity: 0.92;
    transition: 0.25s ease;
}
.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-slider, .hero {
        height: 46vh;
        min-height: 260px;
        max-height: 400px;
    }
    .hero-slide {
        background-position: center center;
    }
    .hero-slide .display-4 {
        font-size: clamp(1.5rem, 4.5vw, 2.25rem);
        margin-bottom: 0.75rem !important;
    }
    .hero-slide .lead {
        font-size: 1rem;
    }
    .hero-slide .btn-lg {
        padding: 0.5rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Telefon — slider daha alçak; görsel cover ile ortalanır, ekranı boğmaz */
@media (max-width: 575.98px) {
    .hero-slider, .hero {
        height: min(38vh, 240px);
        min-height: 180px;
        max-height: 240px;
    }
    .hero-slide {
        background-size: cover;
        background-position: center center;
        padding: 0.75rem 0;
    }
    .hero-slide video {
        object-fit: cover;
        object-position: center center;
    }
    .hero-slide .display-4 {
        font-size: 1.25rem;
        line-height: 1.25;
        margin-bottom: 0.4rem !important;
    }
    .hero-slide .lead {
        font-size: 0.875rem;
        margin-bottom: 0.4rem !important;
    }
    .hero-slide p.mb-4 {
        font-size: 0.8rem;
        margin-bottom: 0.6rem !important;
    }
    .hero-slide .btn-lg {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}
