@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Parkinsans:wght@300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');

/*
font-family: "Quicksand", sans-serif;
font-family: "Jura", sans-serif;
font-family: "Parkinsans", sans-serif;
font-family: "Montserrat", sans-serif;
font-family: "Poppins", sans-serif;
*/

/* Fix for horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.home {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url(./img/background-1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* ---------------------------- HEADER ---------------------------- */

.header {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.header-logo {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.header-logo-text {
    color: #F0F0F0;
    font-weight: 600;
    font-size: 30px;
    margin-left: 19%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 15px;
    font-family: "Montserrat", sans-serif;
}

.header-logo-img {
    position: absolute;
    top: 0;
    height: 235px;
    left: 20%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #555;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #000;
    background-color: rgba(0,0,0,0.05);
}

.navbar-container {
    width: 60%;
    display: flex;
    align-items: end;
    justify-content: right;
    height: 100%;
    padding-bottom: 20px;
}

.navbar {
    display: flex;
    justify-content: center;
    column-gap: 40px;
    list-style: none;
    margin-right: 100px;
}

.navbar-list-item {
    color: #535353;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
}


/* ---------------------------- HERO ---------------------------- */

.hero {
    background-color: transparent;
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-left: 50px;
}

.hero-header {
    font-size: 100px;
    color: #787782;
    line-height: 1.1;
    text-shadow: 2px 2px 0px #000000;
    position: relative;
}

.hero-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #787782, #999);
    animation: width 3s ease-in-out infinite alternate;
}

@keyframes width {
    0% {
        width: 100px;
    }
    100% {
        width: 200px;
    }
}

.hero-text {
    margin-top: 10px;
    color: #666666;
    font-size: 18px;
}

.hero-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 800px;
}

.hero-right-img {
    height: 650px;
    position: absolute;
    margin-top: 90px;
}

.hero-right-img2 {
    height: 750px;
    position: absolute;
}


/* ---------------------------- PRODUCTS ---------------------------- */

.pastas {
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 100px;
    padding-bottom: 250px;
    width: 100%;
    overflow: hidden;
}

.pasta-card {
    width: 430px;
    height: 430px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pasta-card:hover {
    transform: translateY(-15px);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.pasta-card-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 430px;
}

.pasta-card-img2 {
    height: 430px;
    position: absolute;
    transition: all 0.3s ease;
}

.pasta-card:hover .pasta-card-img2 {
    transform: scale(1.05) rotate(5deg);
}

.pasta-card-img {
    height: 380px;
    border-radius: 100%;
    position: absolute;
    transition: all 0.5s ease;
}

.pasta-card-text {
    color: #535353;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.2;
    margin-top: 60px;
}


/* ---------------------------- STORY ---------------------------- */

.story {
    width: 100%;
    padding-left: 40%;
    padding-bottom: 250px;
    position: relative;
}

/* Custom animation for story-img to avoid transform conflicts */
@keyframes cleanFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.story-img {
    position: absolute;
    left: -20%;
    border-radius: 100%;
    top: -20%;
    animation: cleanFadeIn 1.2s ease-in-out forwards;
    will-change: opacity;
    transform: none !important;
}

.story-header-container {
    display: flex;
    flex-direction: column;    
}

.story-header {
    color: red;
    font-family: "Jura", sans-serif;
    font-size: 40px;
}

.story-description {
    width: 80%;
    color: #555555;
    font-size: 18px;
}

.story-card-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin-top: 40px;
}

.story-card-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    margin-bottom: 20px;
}

.story-card {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    transition: all 0.4s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    background-color: rgba(255, 255, 255, 0.8);
}

.story-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.story-card-texts {
    display: flex;
    flex-direction: column;
}

.story-card-header {
    color: #555555;
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
}

.story-card-description {
    color: #7c7c7c;
}


/* ---------------------------- STORY ---------------------------- */

.order {
    background-image: url(./img/background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
}

.order-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-left-img-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 800px;
}

.order-left-img2 {
    height: 750px;
    position: absolute;
    animation: pulse 6s ease-in-out infinite;
}

.order-left-img {
    height: 800px;
    position: absolute;
    animation: float 5s ease-in-out infinite;
}

.order-right {
    width: 50%;
    display: flex;
    align-items: left;
    justify-content: center;
    flex-direction: column;
}

.order-right-images-container {
    display: flex;
    align-items: center;
    justify-content: left;
}

.order-right-images {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 10px;
}

.order-right-img {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.order-right-img:hover {
    transform: scale(1.1);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.order-right-header {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 50px;
    color: #414141;
}


/* ---------------------------- STORY ---------------------------- */

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 0 100px 0;
    width: 100%;
    overflow: hidden;
}

.socails-header {
    font-size: 30px;
    font-family: "Jura", sans-serif;
    color: #414141;
    margin-bottom: 30px;
}

.socials-links {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

.socials-link {
    height: 40px;
    width: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.socials-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.facebook {
    background-color: white;
    color: #337fff;
    font-size: 40px;
}

.instagram {
    background-color: #ee3d78;
    color: #F0F0F0;
}

.twitter {
    background-color: #222222;
    color: #F0F0F0;
}

.whatsapp {
    background-color: #00d95f;
    color: #F0F0F0;
}

.youtube {
    background-color: #ff0000;
    color: #F0F0F0;
}

.socails-subscribe {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
    width: 100%;
}

.socails-subscribe-header {
    font-size: 40px;
    font-family: "Montserrat", sans-serif;
    color: #222222;
    margin-bottom: 20px;
}

.socails-subscribe-text {
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    color: #666666;
    margin-bottom: 40px;
}

.socails-subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    width: 60%;
}

.socails-subscribe-form-input {
    height: 60px;
    width: 80%;
    border-radius: 30px;
    background-color: #F0F0F0;
    border: 2px solid #b4b4b4;
    padding: 15px;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease;
}

.socails-subscribe-form-input:focus {
    transform: scale(1.02);
    box-shadow: none !important;
    outline: none !important;
    border-color: #d17049;
}

.socails-subscribe-form-btn {
    height: 60px;
    width: 180px;
    border-radius: 30px;
    border: 2px solid #d17049;
    background-color: #eb7f55;
    font-size: 18px;
    color: #F0F0F0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.socails-subscribe-form-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}


/* ---------------------------- FOOTER ---------------------------- */

.footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 80px;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.footer-img {
    height: 250px;
    z-index: 100;
    transition: all 0.4s ease;
}

.footer-img:hover {
    transform: translateY(-10px);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.footer-img-logo {
    height: 300px;
}

.footer-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(90deg,rgba(255, 123, 2, 1) 0%, rgba(255, 187, 69, 1) 100%);
}

/* ---------------------------- RESPONSIVE ---------------------------- */

@media screen and (max-width: 1200px) {
    .hero-header {
        font-size: 80px;
    }
    
    .pastas {
        column-gap: 50px;
    }
    
    .story {
        padding-left: 35%;
    }
    
    .footer {
        column-gap: 50px;
    }
}

@media screen and (max-width: 992px) {
    .header-logo-img {
        left: 10%;
    }
    
    .navbar {
        margin-right: 50px;
        column-gap: 20px;
    }
    
    .hero-header {
        font-size: 60px;
    }
    
    .hero-right-img {
        height: 550px;
    }
    
    .hero-right-img2 {
        height: 650px;
    }
    
    .pastas {
        flex-wrap: wrap;
        row-gap: 50px;
        padding-bottom: 150px;
    }
    
    .pasta-card {
        width: 350px;
        height: 350px;
    }
    
    .pasta-card-img-container {
        height: 350px;
    }
    
    .pasta-card-img2 {
        height: 350px;
    }
    
    .pasta-card-img {
        height: 300px;
    }
    
    .story-img {
        height: 800px;
        left: -10%;
    }
    
    .order-right-header {
        font-size: 40px;
    }
    
    .order-left-img,
    .order-left-img2 {
        height: 550px;
    }
    
    .order-left-img-container {
        height: 550px;
    }
    
    .footer-img {
        height: 200px;
    }
    
    .footer-img-logo {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .home {
        height: auto;
    }
    
    .header {
        flex-direction: column;
        height: auto;
        position: relative;
        margin-bottom: 20px;
    }
    
    .header-logo {
        width: 100%;
    }
    
    .header-logo-img {
        position: relative;
        left: 0;
        height: 180px;
    }
    
    .navbar-container {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 20px;
        top: -90px;
        z-index: 100;
    }
    
    .navbar {
        margin-right: 0;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: -100vh;
        left: 0;
        width: 100%;
        z-index: 99;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        text-align: center;
        transition: top 0.3s ease;
    }
    
    .navbar.active {
        top: 0;
    }
    
    .navbar-list {
        margin: 10px 0;
    }
    
    .hero {
        flex-direction: column;
        height: auto;
        padding: 30px 0;
    }
    
    .hero-left {
        width: 100%;
        padding: 30px;
        text-align: center;
        order: 2;
        margin-top: 30px;
    }
    
    .hero-right {
        width: 100%;
        order: 1;
    }
    
    .hero-header {
        font-size: 50px;
    }
    
    .hero-text {
        line-height: 1.6;
        margin-top: 20px;
    }
    
    .hero-text br {
        display: none;
    }
    
    .hero-right-img-container {
        height: 600px;
    }
    
    .hero-right-img {
        height: 450px;
        margin-top: 60px;
    }
    
    .hero-right-img2 {
        height: 550px;
    }
    
    .pastas {
        padding-top: 80px;
        padding-bottom: 100px;
        gap: 60px;
    }
    
    .pasta-card {
        margin-bottom: 30px;
    }
    
    .pasta-card-text {
        margin-top: 80px;
    }
    
    .story {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        padding-top: 450px;
        padding-bottom: 150px;
    }
    
    .story-img {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 400px;
    }
    
    .story-description {
        width: 100%;
        margin: 25px 0 40px;
    }
    
    .story-card-container {
        width: 100%;
    }
    
    .story-card-row {
        margin-bottom: 40px;
    }
    
    .story-card {
        padding: 15px;
    }
    
    .order {
        flex-direction: column;
        padding: 80px 0;
    }
    
    .order-left {
        width: 100%;
        order: 1;
    }
    
    .order-right {
        width: 100%;
        order: 2;
        padding: 40px 20px;
        text-align: center;
    }
    
    .order-right-header {
        margin-bottom: 40px;
    }
    
    .order-right-images-container {
        justify-content: center;
    }
    
    .order-right-images {
        row-gap: 20px;
    }
    
    .socials {
        padding: 70px 0 120px;
    }
    
    .socails-header {
        margin-bottom: 40px;
    }
    
    .socials-links {
        column-gap: 20px;
    }
    
    .socails-subscribe {
        margin-top: 60px;
    }
    
    .socails-subscribe-text {
        margin-bottom: 50px;
    }
    
    .socails-subscribe-form {
        width: 90%;
    }
    
    .footer {
        flex-wrap: wrap;
        height: auto;
        padding-top: 70px;
        padding-bottom: 100px;
        row-gap: 50px;
    }
    
    .footer-bottom {
        height: 100%;
    }
}

@media screen and (max-width: 576px) {
    .navbar {
        flex-wrap: wrap;
        row-gap: 15px;
        justify-content: center;
    }
    
    .hero-header {
        font-size: 40px;
    }
    
    .hero-text {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .story-card-row {
        flex-direction: column;
        row-gap: 40px;
    }
    
    .story-card {
        width: 100%;
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .story-card-icon {
        margin-bottom: 20px;
    }
    
    .story-card-texts {
        padding: 0 15px;
        align-items: center;
    }
    
    .story-card-description {
        margin-top: 10px;
    }
    
    .socails-header {
        text-align: center;
        font-size: 24px;
        padding: 0 15px;
    }
    
    .socails-subscribe-header {
        font-size: 30px;
        text-align: center;
        padding: 0 15px;
    }
    
    .socails-subscribe-text {
        text-align: center;
        font-size: 16px;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .socails-subscribe-form {
        flex-direction: column;
        row-gap: 20px;
        width: 90%;
    }
    
    .socails-subscribe-form-input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .socails-subscribe-form-btn {
        width: 200px;
        margin-top: 10px;
    }
    
    .footer {
        padding: 60px 15px 100px;
        justify-content: space-around;
    }
    
    .footer-img {
        height: 150px;
        margin: 0 10px;
    }
    
    .footer-img-logo {
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .hero-right-img-container {
        height: 450px;
    }
    
    .hero-right-img {
        height: 350px;
    }
    
    .hero-right-img2 {
        height: 400px;
    }
    
    .pasta-card {
        width: 300px;
        height: 300px;
        margin-bottom: 50px;
    }
    
    .pasta-card-img-container {
        height: 300px;
    }
    
    .pasta-card-img2 {
        height: 300px;
    }
    
    .pasta-card-img {
        height: 250px;
    }
    
    .pasta-card-text {
        font-size: 20px;
        margin-top: 60px;
    }
    
    .story {
        padding-top: 350px;
        padding-bottom: 100px;
    }
    
    .story-img {
        height: 300px;
    }
    
    .story-header {
        font-size: 35px;
    }
    
    .story-description {
        padding: 0 10px;
        margin: 30px 0 50px;
    }
    
    .order-left-img,
    .order-left-img2 {
        height: 350px;
    }
    
    .order-left-img-container {
        height: 350px;
    }
    
    .order-right-header {
        font-size: 30px;
        padding: 0 10px;
    }
    
    .navbar-list-item {
        font-size: 16px;
    }
    
    .socials {
        padding: 50px 0 80px;
    }
    
    .footer {
        padding: 50px 10px 80px;
    }
    
    .footer-img {
        height: 200px;
        margin: 0 5px;
    }
    
    .footer-img-logo {
        height: 220px;
    }
}

/* Animation Styles */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shine {
    0% {
        background-position: -100px;
    }
    40%, 100% {
        background-position: 300px;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Tüm hover efektlerinde genel kural */
*:hover {
    outline: none !important;
}