/*
Theme Name: Utrecht Instruments Theme
Theme URI: http://utrechtinstruments.com
Author: Cline
Author URI: http://cline.bot
Description: A professional theme for Utrecht Instruments, focusing on scientific equipment.
Version: 1.0
Text Domain: utrecht-instruments
*/

/* 1. Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* 2. Hero & Visual Effects */
.hero-gradient-text {
    background: linear-gradient(90deg, #1e40af, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.custom-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.custom-shadow-hover:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* 3. Dropdown Menu (Sadece Desktop - 1024px ve üstü) */
@media (min-width: 1024px) {
    .dropdown .dropdown-menu {
        display: none;
        position: absolute;
        background-color: white;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
        z-index: 100;
        border-radius: 0.5rem;
        min-width: 220px;
        border: 1px solid #e5e7eb;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: #374151;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        transition: all 0.2s;
    }

    .dropdown-menu a:hover {
        background-color: #f9fafb;
        color: #1d4ed8;
    }
}

/* 4. Mobil Menü Fix (JS açtığında Tailwind ile çakışmaması için) */
#mobile-menu:not(.hidden) {
    display: flex !important;
    flex-direction: column;
    position: relative; /* Veya absolute, tasarımına göre */
    z-index: 9999;
}

/* 5. Contact Form Modal & Form Styles */
#contact-form-modal > div {
    max-height: 90vh;
    overflow-y: auto;
}

.contact-form-container .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-form-container .form-input,
.contact-form-container .form-textarea,
.wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #1f2937;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

.contact-form-container .form-input:focus,
.wpcf7-form-control:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}


/* CF7 Hata Mesajları Düzenlemesi */
.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}