/* Body wrapper background for blending */
body.iletisim-page {
    background-color: #fff;
}

/* Contact Page Body (Grey Section) */
.contact-main-section {
    background: linear-gradient(180deg, #f3f3fb 0%, #ffffff 100%);
    border-top-left-radius: 120px;
    padding-top: 80px; 
    position: relative;
    z-index: 1;
}

/* Grey box that goes behind the hero's bottom-right corner to fill it with grey */
.contact-main-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: 0;
    width: 50%;
    height: 120px;
    background-color: #f3f3fb; /* Match the top color of the gradient */
}

.contact-map-section {
    background-color: #ffffff; /* Match the bottom color of the gradient */
}

/* Contact Hero (White Section) */
.contact-hero-section {
    position: relative;
    background-color: #fff;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px; /* Size of the squares */
    background-position: center top;
    min-height: 180px; /* Further reduced height */
    padding-top: 40px; /* Further reduced top padding */
    border-bottom-right-radius: 120px;
    z-index: 2; /* Sits above the main section and its ::before */
}

.contact-page-title {
    font-weight: 300;
    margin-bottom: 50px; /* space before the curve */
}

/* Custom Primary Button */
.btn-primary-custom {
    background-color: #0c1839;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #1a235a;
    color: #fff;
}

/* Custom Text Color */
.text-primary-custom {
    color: #1a235a;
}

/* Form Controls */
.form-control-custom {
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #333;
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control-custom::placeholder {
    color: #999;
}

.form-control-custom:focus {
    border-color: #1a235a;
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 90, 0.1);
    outline: none;
}

/* Directions Button (Map overlay) */
.directions-btn {
    top: 20px;
    left: 20px;
    z-index: 10;
    border-radius: 4px;
    background-color: #0c1839;
}

/* Map WhatsApp Button (If present in original, though in design it's just a green pin) */
.map-whatsapp-pin {
    position: absolute;
    top: 40%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 10;
}
