/*
 * BuildTech CMS - Ortak CSS Dosyası
 * Tüm sayfalarda kullanılan ortak stiller
 * Tekrar eden CSS kurallarını merkezi bir yerde toplar
 */

/* ========================================
   ORTAK ANİMASYONLAR
   ======================================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ========================================
   HERO SECTION - ORTAK STİLLER
   ======================================== */

/* Hero section base - carousel stilleri style.css'te */

/* Carousel stilleri style.css'te tanımlı - burada tekrar etmiyoruz */

/* Page Header - Hero Section Variant */
.page-header {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: -65px;
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-family: var(--font-display) !important;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 12px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
    text-align: center;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
    margin: 0 auto;
}

/* ========================================
   BREADCRUMB - ORTAK STİLLER
   ======================================== */

.breadcrumb-section {
    background: #dfeade !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(17, 55, 54, 0.1);
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb-item {
    font-weight: 600;
}

.breadcrumb-item a {
    color: #010101;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--font-primary) !important;
}

.breadcrumb-item a:hover {
    color: #113736;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #010101;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #010101;
    font-weight: 600;
}

/* ========================================
   SECTION TITLE - ORTAK STİLLER
   ======================================== */

.section-title {
    font-family: var(--font-display) !important;
    color: var(--artein-black);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2xl);
    text-align: center;
    position: relative;
    font-size: 3rem;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dfeade, #113736);
    border-radius: 2px;
}

/* ========================================
   CARD COMPONENTS - ORTAK STİLLER
   ======================================== */

/* Service Cards */
.service-card {
    background: var(--artein-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--artein-gray-200);
    padding: var(--space-xl);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    margin-bottom: var(--space-lg);
    font-size: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(17, 55, 54, 0.1), rgba(1, 1, 1, 0.05));
    transition: all 0.3s ease;
}

.service-icon:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(17, 55, 54, 0.2), rgba(1, 1, 1, 0.1));
}

.service-icon i {
    font-size: 2.5rem !important;
    color: var(--artein-dark) !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.service-card h4 {
    color: var(--artein-black);
    margin-bottom: var(--space-md);
    font-weight: var(--fw-semibold);
}

.service-card p {
    color: var(--artein-gray-600);
    margin-bottom: 0;
}

/* Project Cards */
.project-card {
    background: var(--artein-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--artein-gray-200);
    overflow: hidden;
    height: 100%;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card-body {
    padding: var(--space-xl);
}

.project-card-body h5 {
    color: var(--artein-black);
    margin-bottom: var(--space-md);
    font-weight: var(--fw-semibold);
}

.project-card-body p {
    color: var(--artein-gray-600);
    margin-bottom: var(--space-md);
}

/* Value Cards */
.value-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17, 55, 54, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(223, 234, 222, 0.3);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dfeade, #113736);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(17, 55, 54, 0.2);
}

.value-icon {
    font-size: 4rem;
    color: #113736;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    color: #0a2524;
}

.value-card h4 {
    font-family: var(--font-display) !important;
    font-size: 1.8rem;
    color: #113736;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    font-family: var(--font-primary) !important;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   BUTTON STYLES - ORTAK STİLLER
   ======================================== */

.btn-artein-primary {
    background: var(--artein-dark);
    color: var(--artein-white);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-artein-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--artein-black);
    color: var(--artein-white);
    text-decoration: none;
}

.btn-artein-secondary {
    background: transparent;
    color: var(--artein-dark);
    border: 2px solid var(--artein-dark);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
}

.btn-artein-secondary:hover {
    background: var(--artein-dark);
    color: var(--artein-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   CONTENT SECTIONS - ORTAK STİLLER
   ======================================== */

.content-section {
    padding: 80px 0;
    background: #fff;
}

.story-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 100px 0;
    position: relative;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    font-family: var(--font-primary) !important;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.story-highlight {
    background: linear-gradient(135deg, #113736, #0a2524);
    color: #dfeade;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-highlight::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(223, 234, 222, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.story-highlight h3 {
    font-family: var(--font-display) !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.story-highlight p {
    font-family: var(--font-primary) !important;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   GRID LAYOUTS - ORTAK STİLLER
   ======================================== */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ========================================
   FORM STYLES - ORTAK STİLLER
   ======================================== */

.contact-form {
    background: var(--artein-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--artein-gray-200);
}

.contact-form .form-control {
    border: 2px solid var(--artein-gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--artein-orange);
    box-shadow: 0 0 0 0.2rem rgba(241, 146, 30, 0.25);
}

.contact-form .form-label {
    color: var(--artein-black);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-sm);
}

/* ========================================
   FLOATING ELEMENTS - ORTAK STİLLER
   ======================================== */

.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(17, 55, 54, 0.1), rgba(1, 1, 1, 0.05));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(1, 1, 1, 0.05), rgba(17, 55, 54, 0.1));
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

/* ========================================
   RESPONSIVE DESIGN - ORTAK STİLLER
   ======================================== */

@media (max-width: 768px) {
    /* Hero section responsive stilleri style.css'te */
    
    /* Carousel responsive stilleri style.css'te tanımlı */
    
    .page-header {
        margin-top: -55px;
        min-height: calc(100vh - 55px);
        background-attachment: scroll;
    }
    
    .page-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .values-grid,
    .projects-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .story-highlight,
    .quote-section {
        padding: 2rem;
    }
    
    .value-card,
    .principle-card,
    .team-card {
        padding: 2rem;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .project-card-body {
        padding: var(--space-lg);
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
}

@media (max-width: 576px) {
    .hero-section .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-section .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Hero section responsive stilleri style.css'te */
}

/* ========================================
   UTILITY CLASSES - ORTAK STİLLER
   ======================================== */

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.w-100 {
    width: 100%;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.375rem;
}

.shadow {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* ========================================
   LOADING ANIMATIONS - ORTAK STİLLER
   ======================================== */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
