/* 
    Arslanoğlu İnşaat - Premium Design System
    Color Palette:
    Gold: #D4AF37
    Dark Anthracite: #1a1a1a
    Black: #000000
    Soft White: #f8f9fa
*/

:root {
    --gold: #D4AF37;
    --gold-hover: #b8962e;
    --dark: #1a1a1a;
    --black: #000000;
    --light-gray: #f4f4f4;
    --text-muted: #6c757d;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
    color: white !important;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

/* Navbar Styling */
.navbar {
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-container {
    background: transparent;
    padding: 10px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.logo-img {
    height: 180px;
    /* Biraz daha büyütüldü */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo-container {
    padding: 5px 0;
}

.navbar.scrolled .logo-img {
    height: 100px;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: calc(100% - 20px);
}

.navbar.scrolled .nav-link {
    color: #fff !important;
}

/* Dropdown Styling */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 0 !important;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Bridge the hover gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.dropdown-item {
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding-left: 1.8rem;
}

.dropdown-toggle::after {
    vertical-align: middle;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* Buttons */
.btn-gold {
    background: var(--gold);
    border: 2px solid var(--gold);
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

/* Hero Slider Enhancements */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.45);
    animation: kenburns 20s infinite alternate;
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: var(--gold);
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: var(--transition);
}

.hero:hover .carousel-control-prev,
.hero:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%, 100%;
}

/* Slide Animations */
.carousel-item h1 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.carousel-item p {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.carousel-item .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

.carousel-item.active h1,
.carousel-item.active p,
.carousel-item.active .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Project Cards */
.project-card {
    position: relative;
    cursor: pointer;
}

.project-card img {
    transition: transform 0.6s ease;
}

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

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.9));
    opacity: 0;
    transition: var(--transition);
}

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

.project-img {
    height: 300px;
    object-fit: cover;
}

/* Gallery Hover */
.gallery-item {
    cursor: pointer;
}

.hover-zoom {
    transition: var(--transition);
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.4);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Footer Styling */
.footer {
    background: #0d0d0d;
    color: #fff;
}

.footer .text-muted,
.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-logo-box {
    display: inline-block;
    background: transparent;
    transition: var(--transition);
}

.footer-logo-box:hover {
    transform: translateY(-5px);
}

.footer-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gold);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: #000 !important;
    transform: translateY(-3px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bg-gold-transparent {
    background: rgba(212, 175, 55, 0.1);
}

/* Utilities */
.dark-section {
    background-color: var(--dark);
}

.light-muted {
    color: rgba(255, 255, 255, 0.6);
}

.transition-all {
    transition: var(--transition);
}

/* Page Header */
.page-header {
    margin-top: -100px;
    /* Offset for absolute navbar */
    padding-top: 180px !important;
}

/* Form Styling */
.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        background: rgba(0, 0, 0, 0.95);
        padding: 0.8rem 0;
    }

    .navbar .container {
        display: flex;
        justify-content: space-between !important;
        align-items: center;
    }

    .logo-container {
        position: relative;
        left: 0;
        top: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
        z-index: 1100;
    }

    .logo-img {
        height: 100px;
        width: auto;
        margin-bottom: -35px;
    }

    .navbar-toggler {
        border: 1px solid var(--gold) !important;
        background: rgba(212, 175, 55, 0.1);
        padding: 8px;
        margin-left: auto;
        position: relative;
        z-index: 1101;
        right: 30px;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-collapse {
        margin-top: 80px;
        background: rgba(0, 0, 0, 0.98);
        padding: 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .dropdown-menu {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        position: static !important;
        float: none;
        margin-top: 10px !important;
        box-shadow: none;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 10px 20px !important;
    }

    .dropdown-item:hover {
        background: rgba(212, 175, 55, 0.1) !important;
        color: var(--gold) !important;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }

    .carousel-caption .d-flex {
        flex-direction: column;
        gap: 10px !important;
        padding: 0 1.5rem;
    }
    
    .carousel-caption .btn {
        width: 100%;
        padding: 12px 20px !important;
    }

    .page-header {
        padding-top: 100px !important;
    }
}