* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    min-height: 100vh;
    color: #1f1b14;
}

.layout {
    min-height: 100vh;
    display: flex;
}

.hero {
    width: 75%;
    background-image: linear-gradient(rgba(30, 30, 30, 0.28), rgba(30, 30, 30, 0.28)), url("img/bg-image.webp");
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    padding: 60px;
}
.hero-card {
    width: min(95%, 1680px);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px;
    border-radius: 10px;
}

.hero-slider {
    width: 100%;
    max-width: 800px;
    margin-top: auto;
    position: relative;
    /* height: clamp(140px, 18vw, 280px); */
    height: 100%;
    max-height: 350px;
}

.hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.hero-card-img.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-card h1 {
    margin-top: auto;
    font-size: clamp(24px, 2.2vw, 40px);
    letter-spacing: 1px;
    font-weight: 700;
    color: #3d2c09;
    line-break: anywhere;

}

.hero-card h2 {
    font-size: clamp(24px, 2.2vw, 40px);
    font-weight: 700;
    color: #3d2c09;

}

.hero-card-img {
    width: 100%;
    max-width: 800px;
    object-fit: contain;
    margin-top: auto;
}

@media (min-width: 768px) {
    .hero-card h1 {
        font-size: clamp(32px, 3vw, 50px);
    }

    .hero-card h2 {
        font-size: clamp(32px, 3vw, 50px);
    }
}

@media (min-width: 1200px) {
    .hero-card h1 {
        font-size: clamp(24px, 2.2vw, 40px);
    }

    .hero-card h2 {
        font-size: clamp(24px, 2.2vw, 40px);
    }
}

@media (min-width: 1560px) {
    .hero-card h1 {
        font-size: clamp(32px, 3vw, 50px);
    }

    .hero-card h2 {
        font-size: clamp(32px, 3vw, 50px);
    }
}

.logo-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12%;
    margin-top: auto;
}

@media (min-width: 768px) {
    .logo-row {
        gap: 15%;
    }
}

.logo-row img {
    width: 100%;
    object-fit: contain;
}

.logo-row img.first {
    max-width: clamp(80px, 8vw, 153px);
}

.logo-row img.second {
    max-width: clamp(80px, 12vw, 230px);
}

.logo-row img.third {
    max-width: clamp(80px, 13.5vw, 258px);
}

@media (min-width: 768px) {
    .logo-row img.first {
        max-width: clamp(100px, 8vw, 153px);
    }

    .logo-row img.second {
        max-width: clamp(130px, 13vw, 230px);
    }

    .logo-row img.third {
        max-width: clamp(150px, 13.5vw, 258px);
    }
}

.form-panel {
    width: 25%;
    min-width: 450px;
    background: #b98f26;
    color: #1f1b14;
    padding: 24px;

}

.form-panel h2 {
    margin: 0;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: bold;
}

.form-panel h3 {
    margin: 10px 0 20px;
    font-size: clamp(20px, 1.5vw, 28px);
    font-weight: 500;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .form-panel {
        padding: 40px;
        padding-top: 60px;
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.3);
    padding: 18px 20px;
    font-size: 18px;
    color: #3d2c09;
    outline: none;
}

input.input-error {
    border-color: #d93025;
}

input::placeholder {
    color: rgba(31, 27, 20, 0.72);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 16px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group label,
.consent {
    position: relative;
}

.checkbox-group label .checkmark,
.consent .checkmark {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.checkbox-group label,
.consent {
    cursor: pointer;
}

.checkbox-group label .checkmark::after,
.consent .checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 7px;
    display: inline-block;
    transform: rotate(45deg);
    height: 12px;
    width: 6px;
    border-bottom: 3px solid #78b13f;
    border-right: 3px solid #78b13f;
    transition: all 0.2s ease;
    opacity: 0;
}

.checkbox-group input,
.consent input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    pointer-events: none;
}

.checkbox-group input:checked+.checkmark,
.consent input:checked+.checkmark {
    background: #fff;
}

.checkbox-group input:checked+.checkmark::after,
.consent input:checked+.checkmark::after {
    opacity: 1;
}


.consent {
    font-size: 14px;
    color: #3d2c09;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #3d2c09;
    position: relative;
}
.consent button{
    margin: 0;
    padding: 0;
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #3d2c09;
    text-decoration: underline;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
}
a {
    color: #3d2c09;
    text-decoration: underline;
}

button {
    margin-top: 16px;
    border: 1px solid #3d2c09;
    background: #3d2c09;
    color: #ffffff;
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms;
}

button:hover {
    opacity: 0.92;
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* â”€â”€ Toast Notification â”€â”€ */

.toast-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.toast-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    text-align: center;
    z-index: 1000;
    min-width: 340px;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.toast-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    margin: 0;
    letter-spacing: 0;
    font-weight: 400;
    opacity: 1;
}

.toast-close:hover {
    color: #333;
    opacity: 1;
}

.toast-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.toast-icon svg {
    width: 34px;
    height: 34px;
}

.toast-success .toast-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.toast-error .toast-icon {
    background: #ffebee;
    color: #c62828;
}

.toast-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.toast-success .toast-title {
    color: #2e7d32;
}

.toast-error .toast-title {
    color: #c62828;
}

.toast-message {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.kvkk-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.kvkk-modal.active {
    display: block;
}

.kvkk-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.kvkk-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    margin: 5vh auto;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeIn .3s ease;
}

.kvkk-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.kvkk-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.kvkk-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.kvkk-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #3d2c09;
    position: absolute;
    right: 20px;
    top: 0;
    display: none;
}

.kvkk-btn {
    background: #111;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.kvkk-btn:hover {
    opacity: 0.8;
}

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

body.modal-open {
    overflow: hidden;
}

@media (max-width: 1200px) {
    .layout {
        flex-direction: column;
    }

    .hero,
    .form-panel {
        width: 100%;
        min-width: 0;
    }

    .hero {
        min-height: 62vh;
        padding: 24px;
    }

    .hero-card {
        width: 100%;
        min-height: 360px;
        padding: 32px 18px;
    }

    .hero-card h2 {
        margin: 20px 0 40px;
    }
}
@media (max-width: 768px) {
    .hero {
        min-height: 42vh;
        max-height: 500px;
    }
}


