
/* --------------------Home-------------------- */
#home{
    background-image: url("../Images/arkaplan.png");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    position: relative;
}
#home #home-container{
    position: absolute;
    top: 30%;
    left: 5.5%;
    line-height: 1;
    letter-spacing: 0;
    max-width: 70rem;
    margin-left: 0rem;
}
#home #home-container h1{
    font-size: 5rem;
    font-family: "Kanit", sans-serif;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}
#home #home-container h2{
    font-size: 1.8rem;
    font-family: "kanit", sans-serif;
    margin-top: 1rem;
    max-width: 65rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}
#home #home-container a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22rem;
    background-color: #67D3DD;
    color: white;
    height: 4.2rem;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: "Kanit", sans-serif;
    margin-top: 2.5rem;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 7px 2rem #42979f65;
    z-index: 0;
}
#home #home-container a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #00eaff;
    color: white;
    transition: left 0.5s;
    z-index: -1;
}
#home #home-container a:hover::before {
    left: 0;
}
#home #home-container a:hover{
    box-shadow: 0 7px 2rem #42979fbb;
}





/* --------------------About-------------------- */
#about{
    width: 100%;
}
#about #history{
    color: black;
}
#about #history #about-container{
    width: 60%;
    margin: 0 auto;
    text-align: start;
    box-shadow: 0 7px 2rem #00000065;
    padding: 3rem 5rem;
    border-radius: 1rem;
    margin-top: 5rem;
    font-family: "Rajdhani", sans-serif;
}
#about #history #about-container:hover{
    box-shadow: 0 5px 4rem #67D3DD;
}
#about #history #about-container:hover h1 {
    color: #007e8a;
}
#about #history #about-container:hover .button{
    background-color: #67D3DD;
}
#about #history #about-container:hover h2{
    color: rgba(0, 0, 0, 0.763);
}
#about #history #about-container h1{
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}
#about #history #about-container h2{
    font-size: 1.8rem;
    width: 95%;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.518);
}
#about #history #about-container .button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18rem;
    background-color: #67d3dd89;
    color: white;
    height: 4rem;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: "Kanit", sans-serif;
    margin-top: 3rem;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 7px 2rem #42979f65;
    z-index: 0;
    border-radius: 5px;
}





/* --------------------Product-------------------- */
/* see all categories */
#link-categories{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: black;
    width: 86%;
    margin: 0 auto;
    margin-top: -3rem;
    font-size: 1.4rem; 
    transition: 0.2s;
    font-weight: 900;
}
#link-categories:hover{
    color: #67D3DD; 
}
#link-categories #title-categories .fa-chevron-right{
    font-size: 1.2rem;
    transition: 0.1s;
}





/* --------------------Contact Us-------------------- */
/* Autocomplete arka plan rengini kaldır */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #e1fdff inset !important;
    -webkit-text-fill-color: #000 !important;
}
.contact-us-title{
    padding-top: 5rem;
    margin-top: 7rem;;
    margin-bottom: 2rem;
}


#contact-us{
    width: 100%;
    background-color: #b9f9ffff;
    padding-bottom: 5rem;
}
#contact-us #contact-us-container{
    width: 80%;
    margin: 0 auto;
}
#contact-us #contact-us-container #l-contact-us-container{
    display: flex;
    align-items: center;
    justify-content: space-between;    
}

/* contact */
#contact-us #contact-us-container #l-contact-us-container #contact{
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}
#contact-us #contact-us-container #l-contact-us-container #contact h1{
    color: rgba(0, 0, 0, 0.879);
}
#contact-us #contact-us-container #l-contact-us-container #contact .social-title{
    font-size: 2.8rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact .email-title{
    font-size: 2.8rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social{
    display: flex;
    flex-direction: column;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social .contact-write{
    font-size: 1.8rem;
    color: rgba(0, 0, 0, 0.677);
    margin-left: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* #contact-us #contact-us-container #l-contact-us-container #contact #social a{
    color: black;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social a:hover .fa-instagram{
    color: #FE116B;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social a:hover .fa-facebook{
    color: #086DFF;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social a:hover .fa-whatsapp{
    color: #2CD46B;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social a .social{
    display: flex;
    align-items: center;
    justify-content: start;
    margin: 2rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social a .social p{
    font-size: 1.6rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact #social a .social .fa-brands{
    font-size: 3rem;
    margin-right: 0.7rem;
} */
#contact-us #contact-us-container #l-contact-us-container #contact #email{
    margin-top: 3.5rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact #email .mail{
    display: flex;
    align-items: center;
    justify-content: start;
    margin-left: 1rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact #email .e-mail{
    margin-top: 0.8rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact #email .phone{
    margin-top: 1.5rem;
}
#contact-us #contact-us-container #l-contact-us-container #contact #email .mail p{
    font-size: 1.6rem;
    font-weight: 600;
}
#contact-us #contact-us-container #l-contact-us-container #contact #email .mail .mail-numb{
    font-size: 2rem;
    margin-right: 0.7rem;
}


/* message */
#contact-us #contact-us-container #l-contact-us-container #message{
    width: 50%;
}
#contact-us #contact-us-container #l-contact-us-container #message form{
    display: flex;  
    flex-direction: column;
    font-size: 1.6rem;
    border: 2px solid #67D3DD;
    padding: 2rem 5rem;
    border-radius: 3px;
    background-color: #e1fdff;
}
#contact-us #contact-us-container #l-contact-us-container #message form input[type="text"],input[type="email"],#mesage{
    border: none;
    border-bottom: 2px solid #67D3DD;
    margin-bottom: 3rem;
    height: 2.5rem;
    font-size: 1.7rem;
    background-color: rgba(255, 255, 255, 0);
}
#contact-us #contact-us-container #l-contact-us-container #message form input:focus{
    outline: none;
    box-shadow: none;
}
#contact-us #contact-us-container #l-contact-us-container #message form textarea{
    min-width: 100%;
    max-width: 100%;
    height: auto;
}
#contact-us #contact-us-container #l-contact-us-container #message form textarea:focus{
    outline: none;
    box-shadow: none;
}
#contact-us #contact-us-container #l-contact-us-container #message form label{
    font-weight: bold;
    margin-bottom: 0.5rem;
}
#contact-us #contact-us-container #l-contact-us-container #message form input[type="submit"]{
    width: 15rem;
    box-sizing: content-box;
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    border: none;
    background-color: #67d3dd;
    color: white;
    font-size: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: "Kanit", sans-serif;
    transition: 0.5s;
    box-shadow: 0 7px 2rem #67d3dd85;
}
#contact-us #contact-us-container #l-contact-us-container #message form input[type="submit"]:hover{
    background-color: #00eaff;
    box-shadow: 0 7px 2rem #67d3dd;
}







/* ------------------TRANSİTİON---------------- */
/* home */
#home-container h1{
    transform: translateX(-40px);
    transition: transform 0.5s ease;
    transition-delay: 0.07s;
    opacity: 0;
}
#home-container h2{
    transform: translateX(-40px);
    transition: transform 0.5s ease;
    transition-delay: 0.04s;
    opacity: 0;
}
#home-container a{
    transform: translateX(-40px);
    transition: transform 0.5s ease;
    opacity: 0;
}

#home-container.active h1{
    opacity: 1;
    transform: translateX(0);
}
#home-container.active h2{
    opacity: 1;
    transform: translateX(0);
}
#home-container.active a{
    opacity: 1;
    transform: translateX(0);
}
/* about */
#about a #about-container{
    transform: translateX(-30px);
    transition: transform 0.5s ease;
    opacity: 0;
}
#about a #about-container h1{
    transform: translateX(-30px);
    transition: transform 0.4s ease;
    opacity: 0;
}
#about a #about-container h2{
    transform: translateX(-30px);
    transition: transform 0.3s ease;
    opacity: 0;
}

#about a #about-container.active{
    transform: translateX(0px);
    opacity: 1;
}
#about a #about-container h1.active{
    transform: translateX(0px);
    opacity: 1;
}
#about a #about-container h2.active{
    transform: translateX(0px);
    opacity: 1;
}
/* contact */
#contact-us #l-contact-us-container #contact{
    transform: translateX(-40px);
    transition: transform 0.5s ease;
    opacity: 0;
}
#contact-us #l-contact-us-container #message{
    transform: translateX(-40px);
    transition: transform 0.5s ease;
    opacity: 0;
}

#contact-us #l-contact-us-container #contact.active{
    transform: translateX(0px);
    opacity: 1;
}
#contact-us #l-contact-us-container #message.active{
    transform: translateX(0px);
    opacity: 1;
}





@media (max-width: 1200px) {
    /* ----------CONTACT US---------- */
    #contact-us #contact-us-container{
        width: 90%;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email{
        margin-left: 3rem;
    }
    /* ----------ABOUT---------- */
    #about #history #about-container{
        width: 90%;
        padding: 2rem 4rem;
    }
}






@media (max-width: 992px) {
    html{
        font-size: 55% !important;
    }
    /* ----------CONTACT US---------- */
    #contact-us #contact-us-container{
        width: 90%;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact{
        flex-direction: column;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email{
        margin-left: 0rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email .e-mail{
        margin-top: 1.5rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #social a .social{
        margin: 1rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email .e-mail{
        margin-top: 1rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email .phone{
        margin-top: 2rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact h1{
        margin-top: 2rem;
    }
}






@media (max-width: 768px) {
    /* ----------HOME---------- */
    #home #home-container{
        top: 40%;
        left: 1%;
        width: auto;
        min-width: 0;
        margin-left: 3rem;
    }
}






@media (max-width: 576px) {
    /* ----------HOME---------- */
    #home #home-container{
        top: 30%;
        left: 3%;
        width: auto;
        min-width: 0;
        margin-left: 0rem;
    }
    #home {
        background-image: url(../Images/arkaplan_responsive.jpg);
        background-attachment: scroll;
    }
    /* ----------ABOUT---------- */
    #about #history #about-container h2{
        width: 100%;
    }
    #about #history #about-container{
        padding: 3rem 3rem;
    }
    /* ----------PRODUCTS---------- */
    #link-categories{
        font-size: 2.1rem; 
    }
    /* ----------CONTACT US---------- */
    #contact-us #contact-us-container{
        width: 95%;
    }
    #contact-us #contact-us-container #l-contact-us-container{
        flex-direction: column;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 85%;
        margin-bottom: 5rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #message{
        width: 90%;
    }
    .contact-us-title{
        margin-top: 6rem;
        margin-bottom: 0rem;
    }
    .cnt-cnt{
        display: flex;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email .phone{
        margin-top: 1rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact h1{
        font-size: 2.5rem;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #social .contact-write{
        margin:0;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #social{
        align-items: center;
        justify-content: center;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email{
        align-items: center;
        justify-content: center;
    }
    .cnt-cnt{
        text-align: center;
    }
    .email-title{
        text-align: center;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact #email{
        margin-top: 0rem;
    }
}






@media (max-width: 500px) {
    html{
        font-size: 40% !important;
    }
    /* ----------ABOUT US---------- */
    #about #history #about-container{
        width: 96%;
    }
    /* ----------CONTACT US---------- */
    #contact-us #contact-us-container{
        width: 100%;
    }
    #contact-us #contact-us-container #l-contact-us-container #contact{
        width: 80%;
    }
    #contact-us #contact-us-container #l-contact-us-container #message{
        width: 98%;
    }
    #contact-us #contact-us-container #l-contact-us-container #message form{
        padding: 2rem 3rem;
    }
}




/* 1. This centers the button in the middle of your page section */
.button-container {
    display: flex;
    justify-content: center;  /* Horizontal center */
    align-items: center;      /* Vertical center */
    width: 100%;
    padding: 50px 0;          /* Adds breathing room top and bottom */
}

/* 2. This creates the Big, Long, Bold button */
.big-long-button {
    /* Layout */
    display: flex;
    justify-content: center;  /* Centers text horizontally inside button */
    align-items: center;      /* Centers text vertically inside button */
    
    /* Size - "Long and Big" */
    width: 90%;               /* Makes it long */
    max-width: 800px;         /* Prevents it from getting too wide on desktop */
    padding: 25px 0;          /* Makes it "Big" (height) */
    
    /* Text Styling */
    color: #ffffff !important;/* Plain White */
    font-family: sans-serif;  /* Clean, plain font */
    font-weight: 800;         /* Extra Bold */
    font-size: 1.4rem;        /* Large text */
    text-decoration: none;    /* Removes underline */
    text-transform: uppercase;/* Optional: makes it look more "button-like" */
    
    /* Background & Border */
    background-color: #000000;/* Black background (change to your brand color) */
    border-radius: 12px;      /* Rounded corners (use 50px for a pill shape) */
    
    /* Interaction */
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

/* Hover effect so users know it's clickable */
.big-long-button:hover {
    background-color: #333333;
    transform: scale(1.02);    /* Slight grow effect */
}

/* Space out the icon from the text */
.big-long-button i {
    margin-left: 15px;
}











@media (max-width: 370px) {
    #home #home-container {
        max-width: 100%;
        min-width: auto; /* min-width'i kaldırman daha iyi olur */
    }
}





/* ------------------DEALERSHIP FORM---------------- */

.dealership-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #222;
}

.required {
    color: #cc0000;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

/* The Big Black Button */
.form-footer {
    margin-top: 30px;
    text-align: center;
}

.big-black-btn {
    width: 100%;
    max-width: 300px; /* Long but contained */
    background-color: #1a1a1a;
    color: white;
    padding: 18px;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.big-black-btn:hover {
    background-color: #444;
}













/* ------------------BRANDS BLOCK SMALL SIZE---------------- */
/* Only affects the section with the .home-brands class */
.home-brands .product {
    height: auto !important; /* Forces the block to wrap tightly around the image */
    padding-bottom: 10px !important; /* Adjust this value to set the exact gap you want */
    min-height: unset !important; /* Removes any minimum height restrictions */
}

/* Removes the gap caused by the empty product-title div */
.home-brands .product-title {
    display: none !important;
}

/* Ensures the image container doesn't have forced bottom margin */
.home-brands .p-img {
    margin-bottom: 0 !important;
}

/* Specifically targeting mobile and tablets */
@media (max-width: 768px) {
    .home-brands .product {
        height: auto !important;
        padding-bottom: 5px !important; /* Even tighter for mobile */
        min-height: unset !important;
    }
    .home-brands .product-title {
        display: none !important;
    }
    .home-brands .p-img {
    margin-bottom: 0 !important;
    }
}

/* Update button color and remove top spacing for homepage only */
.home-button-wrapper {
    margin-top: -20px !important; /* Shifts the button up to reduce extra space */
    padding-top: 0 !important;
}

.home-button-wrapper .big-long-button {
    background-color: #64D0D9 !important; /* Your requested hexcode */
    border-color: #64D0D9 !important;
    color: #FFFFFF !important; /* Ensures text remains readable */
    transition: background-color 0.3s ease;
}

/* Optional: Darken slightly on hover for better user experience */
.home-button-wrapper .big-long-button:hover {
    background-color: #55b3bc !important; 
}






