:root {
    --primary-gray: #1E293B;
    --secondary-gray: #475569;
    --light-gray: #868e96;
    --bg-gray: #F1F5F9;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    background-color: var(--bg-gray);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 55px;
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-gray);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-text {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* Header */
.navbar {
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    filter: contrast(1.1) saturate(1.1) drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.navbar-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.navbar-info .info-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-info .info-icon {
    color: #FFD700;
    font-size: 0.9rem;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-gray);
    border-radius: 9px;
}

.navbar-info .info-text strong {
    display: block;
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-bottom: 2px;
}

.navbar-info .info-text span {
    display: block;
    font-size: 0.875rem;
    color: #212529;
    font-weight: 600;
    line-height: 1;
}

.navbar-toggler {
    border-color: var(--primary-gray);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(73, 80, 87, 0.25);
}

/* Menu */
.navbar-nav {
    gap: 1.5rem;
}

.navbar-nav .nav-link {
    color: #495057;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-gray);
}

/* Mega Menu */
.mega-menu {
    position: static !important;
}

.mega-menu .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-radius: 0;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.mega-menu-column h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-gray);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFD700;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 0.5rem;
}

.mega-menu-column ul li a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-gray);
    padding-left: 0.5rem;
}

.contact-info {
    color: var(--secondary-gray);
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--primary-gray);
}

.offcanvas-header {
    background: var(--primary-gray);
    color: #ffffff;
}

.offcanvas-body {
    background: #ffffff;
}

.offcanvas-body .contact-info {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

.offcanvas-body .contact-info div {
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    width: 100%;
    padding: 0;
    margin: 0;
}

.hero img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    display: block;
}

/* Hero Altı Section */
.hero-alti {
    background-color: var(--bg-gray);
}

.hero-alti-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    text-align: center;
}

.hero-alti-content p {
    margin-bottom: 1rem;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-gray);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gray), var(--primary-gray));
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-gray) 100%);
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card img {
    height: 400px;
    object-fit: cover;
}

.service-card .card-title {
    color: var(--primary-gray);
    font-weight: 600;
}

.service-card .card-text {
    color: var(--secondary-gray);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #343a40 0%, var(--primary-gray) 100%);
    color: #e9ecef;
    padding-top: 5rem;
    padding-bottom: 1rem;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

.footer-icon {
    margin-right: 0.5rem;
}

/* Bottom Action Buttons */
.floating-buttons {
    position: fixed;
    z-index: 1050;
}

/* Desktop: Right Side Icons */
@media (min-width: 769px) {
    .floating-buttons {
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .floating-btn {
        width: 60px;
        height: 60px;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #ffffff;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .floating-btn:last-child {
        border-bottom: none;
    }

    .floating-btn:hover {
        transform: translateX(-5px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .floating-btn .btn-text {
        display: none;
    }

    .floating-btn .btn-icon {
        display: block;
    }
}

/* Mobile: Bottom Bar with Text */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: row;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .floating-btn {
        flex: 1;
        height: 55px;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        color: #ffffff;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .floating-btn:last-child {
        border-right: none;
    }

    .floating-btn:active {
        filter: brightness(0.9);
    }

    .floating-btn .btn-icon {
        display: none;
    }

    .floating-btn .btn-text {
        display: block;
    }
}

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

.btn-phone {
    background: var(--primary-gray);
}

.btn-form {
    background: #FFA500;
}

/* WhatsApp Chat Style */
.whatsapp-header {
    background: #128C7E;
    color: #ffffff;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-body {
    background: #ECE5DD;
    padding: 1.5rem;
    min-height: 400px;
}

.chat-quick-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    background: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #2c3e50;
    display: block;
    position: relative;
}

.chat-message:hover {
    background: #DCF8C6;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.chat-message::after {
    content: '\f4ad';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #25D366;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-message:hover::after {
    opacity: 1;
}

.chat-message-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.chat-message-preview {
    font-size: 0.85rem;
    color: #667781;
    margin: 0;
}

/* Offcanvas Customization */
.offcanvas-header {
    background: var(--primary-gray);
    color: #ffffff;
}

.offcanvas-body {
    padding: 0;
}

.form-offcanvas-body {
    padding: 1rem;
    background: #ffffff;
}

.form-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-gray);
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-floating>label {
    color: #6c757d;
    font-size: 0.9rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    color: var(--primary-gray);
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating>textarea.form-control {
    height: auto;
}

.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-gray);
    box-shadow: 0 0 0 0.2rem rgba(68, 81, 133, 0.15);
}

.btn-submit {
    background: var(--primary-gray);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-submit:hover {
    background: #3a4470;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 81, 133, 0.3);
}

.phone-offcanvas-body {
    padding: 1.5rem;
}

.phone-info,
.address-info {
    display: flex;
    gap: 15px;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.phone-info:hover,
.address-info:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.phone-info i,
.address-info i {
    color: var(--primary-gray);
    width: 40px;
    text-align: center;
}

.phone-info a,
.address-info a {
    color: var(--primary-gray);
    font-weight: 600;
    font-size: 1.1rem;
}

.phone-info a:hover,
.address-info a:hover {
    color: #25D366;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 55px;
    }

    /* Mobile Full Screen Offcanvas */
    .offcanvas {
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .offcanvas-end {
        border-left: none;
    }
}

@media (min-width: 769px) {

    /* Desktop Offcanvas Normal Width */
    .offcanvas-end {
        width: 450px !important;
    }
}

/* Section Spacing */
.hero-alti {
    padding: 5rem 0;
}

.services-section {
    padding: 5rem 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {

    .hero-alti,
    .services-section,
    .testimonials-section {
        padding: 3.5rem 0;
    }

    footer {
        padding-top: 3.5rem;
    }
}

.testimonial-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.testimonial-quote {
    font-size: 2.5rem;
    color: #dee2e6;
    line-height: 0;
    margin-bottom: 1rem;
    opacity: 0.5;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
}

.swiper {
    width: 100%;
    padding: 20px 0 50px 0 !important;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.swiper-slide .testimonial-card {
    width: 100%;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--secondary-gray);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-gray);
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-gray);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}


img {
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
    object-fit: cover;
}

/* FAQ Accordion Styles */
.accordion-button:not(.collapsed) {
    color: var(--primary-gray);
    background-color: var(--bg-gray);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.accordion-button:focus {
    border-color: #8db5e6;
    box-shadow: 0 0 0 0.25rem rgba(49, 46, 129, 0.25);
}