/* Global Styles */
:root {
    /* "Navy Bright" Theme */
    --primary-red: #0f172a;
    /* Deep Navy */
    --accent-red: #334155;
    /* Slate/Lighter Navy */
    --gold: #ca8a04;
    /* Darker Gold/Bronze for contrast on white */
    --text-dark: #1e293b;
    /* Very dark slate */
    --text-light: #f8fafc;
    /* Almost white */
    --white: #ffffff;
    --gray-bg: #f1f5f9;
    /* Very light cool gray */
    --light-border: #cbd5e1;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--gray-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ... existing styles ... */

/* ... existing styles ... */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.08);
    /* Soft Navy Shadow */
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.logo .highlight {
    color: var(--primary-red);
}

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

.nav-link::after {
    background-color: var(--primary-red);
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    /* Navy Gradient */
    border-radius: 6px;
    /* Slightly rounded */
    letter-spacing: 0.5px;
    font-weight: 500;
}

.hero-card {
    background: var(--white);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    /* Navy shadow */
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.hero-card p {
    color: #666;
}

.tarihce-text h3 {
    color: var(--primary-red);
}

.tarihce-text p {
    color: #444;
}

.highlight-box {
    background-color: #fdf5f5;
    border-left: 5px solid var(--primary-red);
}

.highlight-box p {
    color: #333;
}

.faq-item {
    background: var(--white);
}

.faq-question {
    background: var(--white);
    color: var(--text-dark);
}

.faq-question:hover {
    color: var(--primary-red);
    background-color: #fafafa;
}

.faq-question.active {
    color: var(--primary-red);
    background-color: #fffafb;
    border-bottom: 1px solid #eee;
}

.welcome-box {
    width: 240px;
    /* Smaller width */
    padding: 15px;
    /* Smaller padding */
    background: var(--white);
    border-left: 4px solid var(--primary-red);
}

.welcome-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.welcome-box h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.welcome-box p {
    font-size: 0.8rem;
    margin-bottom: 12px;
    color: #666;
}

.welcome-btn {
    padding: 6px 15px;
    font-size: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    /* Increased from 1200px to allow more space */
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    border-radius: 2px;
}

.bg-light {
    background-color: #fcfcfc;
}

.bg-dark {
    background-color: #0f0f0f;
    color: var(--white);
}

.text-white {
    color: var(--white);
}

/* Top Bar Ticker */
.top-bar {
    background-color: #0a0a0a;
    color: var(--gold);
    height: 45px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.ticker-wrap {
    width: 100%;
    height: 100%;
    padding-left: 100%;
    box-sizing: content-box;
    display: flex;
    align-items: center;
}

.ticker {
    display: inline-block;
    height: 45px;
    line-height: 45px;
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    animation: ticker 35s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-size: 0.95rem;
    color: #e0e0e0;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ticker-item::after {
    content: "✦";
    position: absolute;
    right: 0;
    color: var(--gold);
    font-size: 0.8rem;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    white-space: nowrap;
    /* Single line */
    color: var(--primary-red);
    /* Navy */
    animation: fadeInRight 1s ease-out;
    /* Animation */
    display: flex;
    align-items: center;
}

.logo .highlight {
    color: var(--primary-red);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Reduced gap for single line */
}

/* ... existing nav-link styles ... */

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    /* Slightly reduced font size */
    color: #333;
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping */
}

/* ... existing styles ... */

/* Search Bar Styles */
.search-item {
    display: flex;
    align-items: center;
}

.search-container {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 5px 12px;
    border: 1px solid var(--light-border);
    transition: var(--transition);
}

.search-container:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    width: 100px;
    /* Compact width */
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

.search-btn {
    border: none;
    background: transparent;
    color: var(--primary-red);
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 5px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-contact {
    white-space: nowrap;
    /* Ensure button text doesn't wrap */
}

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

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

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

/* Dropdown Menu */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-red);
    border-radius: 0 0 5px 5px;
    z-index: 1000;
    flex-direction: column;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

.dropdown-item {
    padding: 12px 20px;
    color: #333;
    font-size: 0.9rem;
    border-bottom: 1px solid #f9f9f9;
    transition: var(--transition);
    white-space: nowrap;
    display: block;
    font-weight: 500;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #fdf5f5;
    color: var(--primary-red);
    padding-left: 25px;
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 32, 0.4);
    color: var(--white);
}

.btn-contact::after {
    display: none;
}

/* Slider */
.slider-section {
    position: relative;
    height: 85vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: #050505;
    overflow: hidden;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Navy Gradient Overlay */
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('images/slider.jpg');
    background-size: cover;
    background-position: center;
    animation: zoomEffect 25s infinite alternate;
}

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

    to {
        transform: scale(1.15);
    }
}

.slider-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-title .text-highlight {
    background: linear-gradient(to right, #ff3333, #ff9999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-slogan {
    font-size: 1.6rem;
    margin-bottom: 45px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.5);
    background: linear-gradient(135deg, var(--accent-red), var(--primary-red));
}

/* Social Icons in Slider */
.social-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s backwards;
}

.social-icons a {
    color: var(--white);
    font-size: 1.6rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-5px) rotate(10deg);
}

/* Hero Cards (Standard Flow - No Overlap) */
.hero-cards {
    margin-top: 50px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

/* ... existing styles ... */

.welcome-box {
    width: 180px !important;
    /* Force smaller width */
    padding: 10px !important;
    /* Minimal padding */
    background-color: #ffffff !important;
    /* Force solid white */
    border-left: 3px solid var(--primary-red);
    bottom: 15px;
    right: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    /* Stronger shadow */
    opacity: 1;
}

.cards-grid-hero {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.hero-card {
    background: var(--card-bg);
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.hero-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.hero-card:hover::before {
    transform: scaleX(1);
}

.hero-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    /* Solid color instead of gradient text */
    background: rgba(128, 0, 32, 0.1);
    /* Light red background */
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 25px;
    transition: var(--transition);
    display: inline-block;
}

.hero-card:hover .hero-icon {
    transform: scale(1.1) rotate(5deg);
}

.hero-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.hero-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive for Hero Cards */
@media (max-width: 1024px) {
    .cards-grid-hero {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid-hero {
        grid-template-columns: 1fr;
    }

    .hero-cards {
        margin-top: 30px;
        /* Reset negative margin for mobile */
        padding: 0 20px 40px 20px;
    }

    .slide-title {
        font-size: 2.2rem;
        /* Smaller title on mobile */
    }
}

/* ... existing styles ... */

.welcome-box {
    width: 180px !important;
    /* Force smaller width */
    padding: 10px !important;
    /* Minimal padding */
    background: var(--white);
    border-left: 3px solid var(--primary-red);
    bottom: 15px;
    right: 15px;
}

.welcome-icon {
    font-size: 1.4rem;
    /* Smaller icon */
    margin-bottom: 5px;
}

.welcome-box h4 {
    font-size: 0.9rem;
    /* Smaller header */
    margin-bottom: 4px;
    line-height: 1.2;
}

.welcome-box p {
    font-size: 0.75rem;
    /* Tiny text */
    margin-bottom: 8px;
    color: #666;
    line-height: 1.3;
}

.welcome-btn {
    padding: 5px 12px;
    /* Smaller button */
    font-size: 0.7rem;
}

.close-welcome {
    top: 5px;
    right: 8px;
    font-size: 1.1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-top: 4px solid var(--primary-red);
    /* Navy top border */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    letter-spacing: 1px;
}

/* Response for Services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Visibility Fix */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        /* Establish context for z-index */
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--white) !important;
        /* Force Solid White */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        /* Visible Shadow */
        z-index: 999;
        /* High z-index */
        border-top: 1px solid #eee;
        /* Separator */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }
}

/* Tarihçe Section */
.tarihce-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.tarihce-text {
    flex: 1;
}

.tarihce-text h3 {
    color: var(--primary-red);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
}

.tarihce-text p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
    color: #444;
}

.highlight-box {
    background-color: #fdf5f5;
    border-left: 5px solid var(--primary-red);
    padding: 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.highlight-box p {
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.tarihce-image {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.tarihce-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.tarihce-image:hover img {
    transform: scale(1.02);
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #000;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    text-align: left;
    padding: 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-red);
    background-color: #fafafa;
}

.faq-question.active {
    color: var(--primary-red);
    background-color: #fafafa;
    border-bottom: 1px solid #333;
}

.faq-question.active .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 25px;
    color: #555;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #111, #222);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-box:hover {
    background: rgba(128, 0, 32, 0.8);
    transform: translateY(-15px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-box i {
    font-size: 3rem;
    color: var(--white);
    /* White icons */
    /* Gold or Red depending on taste */
    margin-bottom: 25px;
    transition: var(--transition);
}

.contact-box:hover i {
    color: var(--white);
    transform: scale(1.2);
}

.contact-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-box p {
    color: #ccc;
    font-size: 1.1rem;
}

.contact-box:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background-color: #050505;
    color: #f4f4f4;
    padding-top: 80px;
    border-top: 2px solid var(--gold);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #aaa;
}

.footer-contact-details i {
    color: var(--white);
    /* White icons */
    width: 25px;
    text-align: center;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    color: #555;
    background: #000;
    font-size: 0.95rem;
}

/* Welcome Box */
.welcome-box {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    padding: 25px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid var(--primary-red);
}

.welcome-box.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.close-welcome {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.close-welcome:hover {
    color: var(--primary-red);
}

.welcome-content {
    text-align: center;
}

.welcome-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.welcome-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.welcome-box p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.welcome-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #25D366;
    /* WhatsApp Green */
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

/* Footer (Prestige Navy) */
.footer {
    background-color: #020617;
    /* Very Dark Navy */
    color: #94a3b8;
    /* Muted Blue-Gray text */
    padding: 80px 0 30px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    /* Subtle Gold Border */
}

.footer h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

.welcome-btn:hover {
    background-color: #128C7E;
    /* Darker WhatsApp Green */
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Mobile & Responsive Tweaks */
@media (max-width: 1024px) {

    .video-grid,
    .contact-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--text-dark);
        border-radius: 2px;
        transition: 0.3s;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        gap: 0;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
        width: 100%;
        display: flex;
        justify-content: center;
        /* Center items on mobile */
    }



    .search-item {
        display: none;
        /* Hide search on mobile */
    }

    .search-container {
        margin-left: 0;
        /* Remove left margin on mobile */
        width: 80%;
        /* Wider search on mobile */
        justify-content: space-between;
    }

    .search-input {
        width: 100%;
        /* Full width inside container */
    }

    /* Mobile Dropdown */
    .dropdown {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        box-shadow: none;
        background: transparent;
        border-top: none;
        padding-top: 0;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: flex;
        animation: none;
        /* Disable animation for smoother feel on mobile */
    }

    .dropdown-item {
        background: transparent;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--text-dark);
        padding: 10px 0;
    }

    .dropdown-item:hover {
        padding-left: 0;
        background: rgba(0, 0, 0, 0.03);
    }

    .video-grid,
    .contact-wrapper,
    .tarihce-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .welcome-box {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .tarihce-image img {
        margin-top: 30px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/slider-bg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
    margin-top: 50px;
    /* offset fixed nav */
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Page Content */
.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.page-content h2 {
    color: var(--primary-red);
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.page-content h3 {
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Mini Business Cards (Inside Slider) */
.hero-business-cards {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s backwards;
}

.mini-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    cursor: pointer;
    min-width: 180px;
}

.mini-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.mini-card i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.mini-card span {
    font-weight: 600;
    color: var(--primary-red);
    font-size: 1rem;
    white-space: nowrap;
}

.mini-card:hover i {
    color: var(--gold);
}

/* Specific Mobile Adjustment for Mini Cards */
@media (max-width: 768px) {
    .hero-business-cards {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 10px;
    }

    .mini-card {
        width: 90%;
        justify-content: center;
    }
}