/*
 * Main Custom CSS 
 * Zeytinburnu Çilingir Theme
 * 
 * Note: Core styling is handled by Tailwind CSS classes in templates.
 * This file contains custom element styling, keyframes, and global overrides.
 */

/* -- CSS Variables are defined in style.css -- */

/* 1. Base Styles & Overrides */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header */
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading), sans-serif;
}

body,
p,
a,
span,
.font-sans {
    font-family: var(--font-body), sans-serif;
}

/* 3. Lucide Icons global fix */
.lucide {
    stroke-width: 2px;
}

/* 4. Custom Utilities */
.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

/* 5. Custom Animations */
@keyframes bounce-slight {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.animate-bounce-slight {
    animation: bounce-slight 2s infinite ease-in-out;
}

/* 6. Form Styles (WPForms overrides & basic tags) */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

button[type="submit"],
.wpcf7-submit {
    background-color: var(--color-success);
    color: white;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

button[type="submit"]:hover,
.wpcf7-submit:hover {
    background-color: #218838;
}

/* 7. WordPress Content Alignments */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}