:root {
    --primary-color: #FFC107;
    /* Construction Yellow */
    --primary-dark: #FFB300;
    --secondary-color: #212121;
    /* Dark Grey/Black */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    /* Increased from 80px */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Project Cards Refinement */
.project-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Remove padding for edge-to-edge images if desired, or keep for spacing */
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 250px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Ensures images fill space without stretching */
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

.project-card h3,
.project-card p {
    padding: 1rem 1.5rem;
}

.project-card h3 {
    margin-bottom: 0;
}

.project-card p {
    color: #666;
    font-size: 0.95rem;
    flex-grow: 1;
    /* Ensures text takes up space and aligns bottoms */
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1588417688229-373a6a1a1f1b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* Services */
.services {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    flex: 1 1 300px;
    max-width: 350px;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About */
.about {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Contact */
.contact {
    padding: 5rem 5%;
    background: var(--secondary-color);
    color: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    left: 30px;
    background-color: #25D366;
}

.call-btn {
    right: 30px;
    background-color: #007bff;
    /* Or primary color */
}

.search-btn {
    /* User asked for search button right bottom, but usually call is better there. 
       I will put search above call or next to it if needed, but user said "right bottom search".
       Let's stick to user request: Left WhatsApp, Right Search. 
       Wait, usually right bottom is for chat/call. Search is usually in header.
       User said: "sol altta wahtsap buttonu sağ altta arama buttonu" (Search button).
       Maybe they mean "Call" (Arama in Turkish can mean Search or Call).
       Given the context of a business, "Arama" likely means "Call Us". 
       I will implement it as a CALL button but label it/icon it clearly.
    */
    right: 30px;
    background-color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    padding: 5rem 5%;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.testimonial-card h4 {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Statistics */
.stats {
    padding: 4rem 5%;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

/* Footer */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about {
        flex-direction: column;
    }
}