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

/* Franchise Section Styles */
.home-franchise {
    width: 100%;
    background-image: url(../img/background-1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.franchise-section {
    width: 100%;
    padding: 80px 0;
    background: transparent;
}

.franchise-container {
    width: 90%;
    margin: 0 auto;
}

.franchise-title {
    color: #ff0000;
    font-size: 45px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
}

.franchise-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #ff0000, #ff5e00);
    animation: width 2s ease-in-out infinite alternate;
}

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

.franchise-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

.franchise-left {
    width: 65%;
    padding-right: 30px;
}

.franchise-right {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.franchise-subtitle {
    font-size: 34px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.franchise-brand {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.franchise-text {
    color: #333;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
}

.franchise-item {
    margin-bottom: 25px;
    position: relative;
    background-color: transparent;
    transition: all 0.5s ease;
}

.franchise-item:hover {
    background-color: rgba(255, 240, 240, 0.4);
    transform: translateX(5px);
    box-shadow: none !important;
}

.franchise-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, #ff0000, #ff5e00);
    transition: height 0.3s ease;
}

.franchise-item:hover::before {
    height: 80%;
}

.franchise-item-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
}

.franchise-item-text {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

.franchise-image {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.franchise-img {
    max-width: 100%;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(0.98);
}

.franchise-img:hover {
    transform: scale(1.04);
    filter: brightness(1.05);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Icon container for franchise store images */
.franchise-store-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.franchise-store-icon {
    width: 80px;
    height: 80px;
    margin: 0 10px;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
    .franchise-container {
        width: 95%;
    }
}

@media screen and (max-width: 992px) {
    .franchise-left,
    .franchise-right {
        width: 100%;
        padding-right: 0;
    }
    
    .franchise-right {
        margin-top: 40px;
    }
    
    .franchise-title {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    .franchise-section {
        padding: 60px 0;
    }
    
    .franchise-title {
        font-size: 35px;
        margin-bottom: 40px;
    }
    
    .franchise-subtitle {
        font-size: 24px;
    }
    
    .franchise-brand {
        font-size: 20px;
    }
    
    .franchise-store-icons {
        flex-wrap: wrap;
    }
    
    .franchise-store-icon {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    .franchise-container {
        width: 95%;
    }
    
    .franchise-title {
        font-size: 30px;
    }
    
    .franchise-subtitle {
        font-size: 22px;
    }
    
    .franchise-brand {
        font-size: 18px;
    }
    
    .franchise-text,
    .franchise-item-text {
        font-size: 14px;
    }
}

/* FAQ Section Styles */
.faq-section {
    width: 100%;
    padding: 80px 0;
    background-image: url(../img/background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-top: 2px solid #c7c7c7;
    overflow: hidden;
}

.faq-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.faq-title {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 240, 240, 0.9));
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin: 0;
}

.faq-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ff0000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(to right, rgba(255, 235, 235, 1), rgba(255, 245, 245, 1));
}

.faq-item.active .faq-icon::before,
.faq-question:hover .faq-icon::before {
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 20px;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Responsive styles for FAQ section */
@media screen and (max-width: 768px) {
    .faq-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    .faq-question h3 {
        font-size: 18px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
}

@media screen and (max-width: 576px) {
    .faq-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
    
    .faq-question {
        padding: 16px 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* Contact Section Styles */
.contact-section {
    width: 100%;
    padding: 80px 0;
    background-image: url(../img/background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-top: 2px solid #c7c7c7;
    overflow: hidden;
}

.contact-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    overflow: hidden;
}

.contact-left {
    flex: 1;
    min-width: 300px;
}

.contact-right {
    flex: 1;
    min-width: 300px;
    animation: none;
    box-shadow: none !important;
}

.contact-title {
    font-size: 40px;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #ff0000, #ff5e00);
}

.contact-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 500px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0000, #ff5e00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.contact-info-item:hover .contact-info-icon i {
    animation: iconJump 0.5s ease;
}

@keyframes iconJump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.contact-info-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.contact-info-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.5;
}

.contact-form-container {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: none !important;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff0000, #ff5e00);
    z-index: 2;
}

.contact-form-container:hover {
    transform: none;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
    overflow: hidden;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f7f7f7;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff0000;
    box-shadow: none !important;
    outline: none;
    background-color: #fff;
    background-image: linear-gradient(to right, rgba(255, 0, 0, 0.05), transparent);
    background-size: 200% 100%;
    animation: shine 2s infinite;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select {
    color: #999;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.form-submit-btn {
    background: linear-gradient(to right, #ff0000, #ff5e00);
    color: white;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 15px;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.form-submit-btn:hover {
    background: linear-gradient(to right, #e60000, #e65500);
    transform: translateY(-3px);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.form-submit-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%;
    }
}

/* Responsive styles for contact section */
@media screen and (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-left,
    .contact-right {
        width: 100%;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    .contact-title {
        font-size: 28px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .contact-form-title {
        font-size: 22px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
    }
}

@media screen and (max-width: 576px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 26px;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .contact-info-text h3 {
        font-size: 18px;
    }
    
    .contact-info-text p {
        font-size: 14px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }
    
    .form-submit-btn {
        font-size: 15px;
        padding: 12px 18px;
    }
}

/* Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add subtle hover effect to form inputs */
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    transform: translateY(-2px);
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid #e0e0e0 !important;
}

/* Franchise Image Reveal Effect */
.franchise-img {
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(0.98);
}

.franchise-img:hover {
    transform: scale(1.04);
    filter: brightness(1.05);
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Add a reveal animation to franchise items */
.franchise-item {
    position: relative;
    background-color: transparent;
    transition: all 0.5s ease;
}

.franchise-item:hover {
    background-color: rgba(255, 240, 240, 0.4);
    transform: translateX(5px);
    box-shadow: none !important;
}

.franchise-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, #ff0000, #ff5e00);
    transition: height 0.3s ease;
}

.franchise-item:hover::before {
    height: 80%;
}

/* Hover etrafında çıkan kare belirtileri iptal etmek için outline ve box-shadow değerlerini kaldıralım */
*:hover {
    outline: none !important;
}

/* Submit butonu ve diğer butonlar için de gölge kaldırma */
.form-submit-btn:hover,
.socials-link:hover {
    box-shadow: none !important;
}

/* Story card için özel düzenleme */
.story-card:hover {
    transform: translateY(-10px);
    box-shadow: none !important;
    background-color: rgba(255, 255, 255, 0.8);
}
