/* 
   Kement Dekorasyon Custom Stylesheet
   Theme Colors: Navy Blue, Gold, White, Light Grey
*/

:root {
    --primary-navy: #0a1128; /* Koyu premium lacivert */
    --secondary-navy: #162447; 
    --primary-gold: #d4af37; /* Lüks altın rengi */
    --gold-light: rgba(212, 175, 55, 0.1);
    --light-grey: #f8f9fa;
    --text-muted: #6c757d;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.fw-black {
    font-weight: 900;
}

.tracking-wider {
    letter-spacing: 2px;
}

/* Utilities */
.text-navy { color: var(--primary-navy) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }
.text-gold { color: var(--primary-gold) !important; }
.bg-gold { background-color: var(--primary-gold) !important; }
.bg-gold-light { background-color: var(--gold-light) !important; }
.bg-light-grey { background-color: var(--light-grey) !important; }

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.transition-all {
    transition: all var(--transition-speed) ease-in-out;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #c5a02e;
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline-navy {
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    background: transparent;
}

.btn-outline-navy:hover {
    background-color: var(--primary-navy);
    color: var(--white);
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
    border: none;
}

.btn-gold:hover {
    background-color: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Navbar */
.top-bar {
    font-size: 0.85rem;
}

.social-links a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-gold);
    opacity: 1;
}

#mainNavbar {
    transition: all 0.4s ease;
}

#mainNavbar.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
}

.navbar-nav .nav-link {
    color: var(--primary-navy);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero-section {
    min-height: 65vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.6) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 0;
}

/* Hero Animations */
.title-animation, .desc-animation, .btn-animation, .subtitle-animation {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.title-animation { animation-delay: 0.2s; }
.desc-animation { animation-delay: 0.4s; }
.btn-animation { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.experience-badge {
    bottom: -30px;
    right: -30px;
    border: 5px solid var(--white);
    min-width: 180px;
}

@media (max-width: 991px) {
    .experience-badge {
        right: 20px;
        bottom: -20px;
    }
}

.icon-box {
    transition: all 0.3s ease;
}

.icon-box:hover {
    background-color: var(--primary-gold) !important;
    color: var(--white) !important;
    transform: rotate(10deg);
}

/* Services Section */
.service-card {
    cursor: pointer;
}

.service-card:hover {
    background-color: var(--primary-navy) !important;
    border-color: var(--primary-navy) !important;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 17, 40, 0.15);
}

.service-card:hover h4, 
.service-card:hover p {
    color: var(--white) !important;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Process Section */
.process-step {
    position: relative;
    z-index: 2;
}

.process-row:hover .process-line {
    opacity: 1 !important;
}

.process-step:hover {
    border-color: var(--primary-gold) !important;
    transform: scale(1.05);
}

.process-step:hover i {
    color: var(--primary-gold) !important;
}

/* Blog Section */
.blog-card {
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.blog-img-wrap {
    height: 240px;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.05);
}

/* FAQ Accordion */
.custom-accordion .accordion-button {
    padding: 1.5rem;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-gold);
    background-color: var(--white);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a1128'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

/* Footer */
.hover-gold:hover {
    background-color: var(--primary-gold) !important;
    color: var(--primary-navy) !important;
    transform: translateY(-3px);
}

.hover-white:hover {
    color: var(--white) !important;
    padding-left: 5px;
}

.footer-links a, .contact-info a {
    display: inline-block;
}

/* Floating Actions */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Sol alt köşe istendi */
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.phone-btn {
    background-color: var(--primary-navy);
    border: 2px solid var(--primary-gold);
}

.phone-btn:hover {
    background-color: var(--primary-gold);
    color: var(--primary-navy) !important;
    transform: scale(1.1);
}

/* Pulse Animation for WhatsApp */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.5);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Tooltips Customization */
.tooltip-inner {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--primary-navy);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        left: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
    }
    .float-btn i {
        font-size: 1.2rem !important;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .py-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
