/*
Theme Name: Kaya Plastik Theme
Theme URI: https://kayaplastik.com
Author: Yakup Çelik
Description: Kaya Plastik Kurumsal Web Sitesi Teması.
Version: 1.1
*/

:root {
    --background: #ffffff;
    --foreground: #1f2937;
    --primary: #2563EB;
    --primary-light: #60A5FA;
    --primary-dark: #1E40AF;
    --primary-foreground: #ffffff;
    --secondary: #f8f9fa;
    --light-border: #e5e7eb;
    --font-sans: 'Inter', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

/* Reset Lists Globally */
ul,
ol {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

li {
    list-style: none !important;
}

/* Utility Classes mimicking Tailwind */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.grid {
    display: grid;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Sticky Header Specifics */
#desktop-menu-pill ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    /* gap-x-1 */
    margin: 0;
    padding: 0;
}

#desktop-menu-pill li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#desktop-menu-pill li a {
    display: block;
    padding: 0.5rem 1rem;
    /* px-4 py-2 */
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.2s;
    text-decoration: none;
}

/* Default state (Transparent header) */
header:not(.scrolled) #desktop-menu-pill li a {
    color: rgba(255, 255, 255, 0.9);
}

header:not(.scrolled) #desktop-menu-pill li a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Scrolled state */
header.scrolled #desktop-menu-pill li a {
    color: #374151;
    /* text-gray-700 */
}

header.scrolled #desktop-menu-pill li a:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Borderless Form Design & Focus Fix */
input,
textarea,
select {
    outline: none !important;
    box-shadow: none !important;
}

.form-input-borderless {
    display: block;
    width: 100%;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    /* border-gray-200 */
    padding: 0.75rem 0;
    /* py-3 */
    font-size: 1rem;
    color: #1f2937;
    outline: none !important;
    transition: all 0.3s ease;
}

.form-input-borderless:focus {
    border-bottom-color: #0E2A47;
    /* primary */
    box-shadow: none;
}

.form-label-minimal {
    display: block;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 600;
    /* font-semibold */
    color: #6b7280;
    /* text-gray-500 */
    margin-bottom: 0.25rem;
    /* mb-1 */
    transition: all 0.3s ease;
}

.form-group:focus-within .form-label-minimal {
    color: #0E2A47;
    /* text-primary */
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    /* border-gray-100 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* shadow-md */
    transform: translateY(-2px);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 3rem;
    /* w-12 */
    height: 3rem;
    /* h-12 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    /* rounded-xl */
    background-color: rgba(14, 42, 71, 0.05);
    /* bg-primary/5 */
    color: #0E2A47;
    /* text-primary */
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background-color: #0E2A47;
    /* bg-primary */
    color: #ffffff;
    /* text-white */
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}