:root {
    --primary-red: #ff0000;
    --dark-red: #cc0000;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.hide {
    transform: translateY(-100%);
}

.logo {
    padding: 0 20px;
    text-align: center;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.hamburger {
    display: none;
    position: fixed;
    top: 25px;
    right: 20px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #ff0000;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:last-child {
    top: 16px;
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    top: 8px;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff0000;
}

main {
    margin-top: 130px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 0 0 50px 50px;
    box-shadow: var(--box-shadow);
}

.hero h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-slogan {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-red);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

section {
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-red);
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-red), var(--dark-red));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
    word-break: break-word;
}

.contact-info div:hover {
    background-color: var(--light-gray);
    border-radius: 10px;
}

.contact-info i {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-right: 1.5rem;
}

footer {
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: auto;
        background: white;
        transition: 0.3s;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .navbar.active {
        left: 0;
    }

    .navbar ul {
        flex-direction: column;
        padding: 20px 0;
    }

    .navbar ul li {
        margin: 0;
        text-align: center;
    }

    .navbar ul li a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }

    main {
        margin-top: 100px;
    }

    .contact-info {
        padding: 1rem;
        margin: 0 1rem;
    }

    .contact-info div {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
    }

    .contact-info i {
        margin-bottom: 0.5rem;
    }

    .contact-info div span {
        font-size: 0.9rem;
        word-wrap: break-word;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 150px;
    }

    main {
        margin-top: 140px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero-slogan {
        font-size: 1.2rem;
    }

    .contact-info {
        margin: 0 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }

    section {
        padding: 3rem 2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    header {
        position: relative;
    }

    main {
        margin-top: 20px;
    }

    .hero {
        padding: 2rem 1rem;
    }
}

@media (hover: none) {
    .service-card:hover {
        transform: none;
    }

    .cta-button:hover {
        transform: none;
    }

    nav ul li a:hover::after {
        width: 0;
    }
}

#hakkimizda p {
    max-width: 900px;
    margin: 1rem auto;
    line-height: 1.8;
    text-align: justify;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 1.5rem;
}

@media (max-width: 768px) {
    header {
        position: fixed;
        padding: 0.5rem;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: auto;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    main {
        margin-top: 120px;
    }
}

nav {
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

@supports (-ms-ime-align: auto) {
    nav {
        transition: none;
    }
    
    nav.active {
        left: 0;
        transition: all 0.3s ease;
    }

    .menu-toggle span {
        transform: translateZ(0);
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    nav {
        transition: none;
    }
    
    nav.active {
        left: 0;
        transition: all 0.3s ease;
    }
} 