
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: black;
}



.top-bar {
    background-color: white;
    color: black;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 14px;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar .icon {
    width: 16px;
}

.copyable {
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
}

.copyable:hover {
    color: #ff9900;
}

.top-bar .open-time {
    font-weight: bold;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: black;
    height: auto;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}


header .logo {
    margin: 0;
    padding: 0; 
    flex: 1;
    text-align: center;
}

header .logo img {
    height: 200px;
}

header nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

header nav ul {
    list-style-type: none;
    padding: 0px;
    margin: 0;
    margin-right: 300px;
}

header nav ul li {
    display: inline-block;
    margin: 20px;
}

header nav ul li a {
    color: black;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    position: relative;
}

header nav ul li a:hover {
    color: #ff9900;
}

header nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff9900;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

header nav ul li a:hover:after {
    transform: scaleX(1);
}


#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 50vh;
    padding: 50px 20px;
    background-image: url(img/arac1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    background-repeat: no-repeat;
    overflow: hidden;
}

#home h2, #home p {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 40px;
    margin: 0;
    padding: 10px 20px;
    opacity: 0;
    animation: slideIn 1s forwards;
    position: relative;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}











#services {
    text-align: center;
    padding: 50px 20px;
}

#services h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.service-item {
    width: 30%;
    text-align: center;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}




#about {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

#about h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    height: 500px;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeIn 1.2s ease-out forwards;
}

.about-text {
    max-width: 400px;
    height: 500px;
    text-align: left;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.2s;
}

.about-text h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.about-text h4 {
    font-size: 20px;
    color: #333;
    margin-top: 20px;
}


@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


#contact {
    padding: 50px;
    background-color: #f7f7f7;
    text-align: center;
}

#contact h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    text-align: left;
    padding: 30px;
}

.contact-info h3 {
    font-size: 24px;
    color: #555;
    margin-bottom: 15px;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-line p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.info-line img {
    width: 20px;
    height: 20px;
}

form {
    flex: 1;
    text-align: left;
    padding: 20px;
}

form label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
}

form input::placeholder, form textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

form button {
    padding: 10px 20px;
    background-color: #ff9900;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #b96f00;
}



footer {
    background-color: #333;
    color: white;
    padding: 50px 0;
    text-align: center;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

footer .footer-content div {
    flex: 1;
    padding: 10px;
}

footer .footer-content .logo-social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-content .logo-social img {
    width: 250px;
}

footer .footer-content .social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer .footer-content .social-media a img {
    width: 30px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

footer .footer-content .social-media a:hover img {
    transform: scale(1.3);
    opacity: 1;
}

footer .footer-content .social-media a img {
    cursor: pointer;
}

footer .footer-content .contact-info h3,
footer .footer-content .about-us h3 {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
}

footer .footer-content .contact-info p,
footer .footer-content .about-us p {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

footer hr {
    border: 0;
    border-top: 1px solid #81807d;
    margin: 20px 0;
}

footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
}

footer .footer-bottom .left {
    text-align: left;
}

footer .footer-bottom .right {
    text-align: right;
}

footer .footer-bottom p {
    font-size: 12px;
    margin: 0;
}


@media (max-width: 768px) {

    header {
        position: relative;
        height: 100px; 
        background-color: white;
    }


    .top-bar {
        left: 0;
        right: 0;
    }

    .top-bar span {
        flex: 1 1 auto;
        font-size: 5px;
    }


    body {
        margin: 0;
        font-family: Arial, sans-serif;
    }
    
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        color: black;
        height: 10vh;
        padding: 10px 20px;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .hamburger {
        cursor: pointer;
        z-index: 1100;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: black;
        transition: all 0.3s ease;
    }

    .hamburger:hover span {
        background-color: #ff9900;
    }
    
    body.menu-active nav ul {
        display: flex;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        height: auto;
        top: 100%;
        left: 0;
        width: 100%;
        align-items: stretch;
        z-index: 999;
        list-style-type: none;
        margin: 0;
        padding: 0;
        border: none;
    }

    nav ul li {
        position: relative;
        overflow: hidden;
    }
    
    nav ul li a {
        text-decoration: none;
        color: black;
        font-size: 14px;
        font-weight: bold;
        display: block;
        padding: 0px 18px;
        transition: all 0.3s ease;
        text-align: left;
        box-sizing: border-box;
    }
    
    nav ul li a:hover::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #ff9900;
        transition: all 0.3s ease-in-out;
    }
    

    body.menu-active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    body.menu-active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    body.menu-active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    


    
    
    header .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    header .logo img {
        height: 130px;
        margin: 0 auto;
    }



    #home h2, #home p {
        font-size: 18px;
        margin: 0;
        padding: 5px 10px;
    }


    #services h2 {
        font-size: 26px;
    }

    .service-item {
        width: 45%;
        padding: 10px;
    }

    .service-item img {
        width: 100%;
        height: auto;
    }


    #about h2 {
        font-size: 26px;
    }

    .about-container {
        gap: 20px;
        display: flex;
        justify-items: center;
        align-items: center;
    }

    .about-image img {
        height: 350px;
        display: flex;
        justify-items: center;
        align-items: center;
    }

    .about-text h3 {
        font-size: 18px;
    }

    .about-text p {
        font-size: 14px;
    }

    #contact h2 {
        font-size: 22px;
    }

    .contact-container {
        flex-direction: column;
        gap: 20px;
    }
    .contact-container .contact-info .info-line {
        display: flex;
        justify-items: center;
        align-items: center;
    }

    .contact-info h3 {
        font-size: 18px;
    }

    .info-line p {
        font-size: 14px;
    }

    .form {
        display: flex;
        justify-items: center;
        align-items: center;
    }

    form input, form textarea {
        font-size: 12px;
    }

    form button {
        font-size: 14px;
    }


    footer .footer-content {
        flex-direction: column;
        display: flex;
        justify-items: center;
        align-items: center;
        gap: 20px;
    }

    footer .footer-content div {
        padding: 10px;
    }

    footer .footer-content .logo-social img {
        width: 200px;
        display: flex;
        justify-items: center;
        align-items: center;
    }

    footer .footer-content .social-media a img {
        width: 25px;
        display: flex;
        justify-items: center;
        align-items: center;
    }

    footer .footer-content .contact-info h3 {
        font-size: 16px;
    }

    footer .footer-content .about-us h3 {
        font-size: 16px;
    }
    footer .footer-content .about-us p {
        text-align: left;
        margin: 0 auto;
        width: 54%;
    }
    
    footer .footer-content .about-us hr {
        width: 54%;
        margin: 10px auto;
    }

    footer p {
        font-size: 12px;
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }
    
    footer .left {
        text-align: left;
    }
    
    footer .right {
        text-align: right;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        padding: 15px 30px;
    }

    header .logo img {
        height: 150px;
    }

    header nav ul {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    header nav ul li a {
        font-size: 18px;
        padding: 5px 10px;
    }

    #home {
        height: 60vh;
        padding: 30px 20px;
    }

    #home h2, #home p {
        font-size: 32px;
        padding: 10px 20px;
    }

    .services-list {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .service-item {
        width: 45%;
        padding: 20px;
    }

    .about-container {
        flex-direction: row;
        gap: 20px;
    }

    .about-image img {
        height: 400px;
    }

    .about-text {
        max-width: 500px;
    }

    .about-text h3 {
        font-size: 22px;
    }

    .about-text p {
        font-size: 14px;
    }

    .contact-container {
        flex-direction: row;
        gap: 20px;
    }

    .contact-info, form {
        flex: 1;
    }

    form input, form textarea {
        font-size: 14px;
    }

    form button {
        font-size: 16px;
    }

    footer .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }

    footer .footer-content .logo-social img {
        width: 200px;
    }

    footer .footer-content .social-media a img {
        width: 30px;
    }

    footer .footer-content .about-us p {
        font-size: 14px;
        width: 100%;
    }
}

