﻿/*
Theme Name: Girişimci Plastik
Theme URI: https://girisimciplastik.com
Author: AI Developer
Description: Custom WordPress Theme for Girişimci Plastik
Version: 1.0
Text Domain: girisimciplastik
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #243E58; /* Slate Blue from Logo */
    --secondary-color: #4A8F3F; /* Green from Logo */
    --accent-color: #2B84B6; /* Light Blue from Logo */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    position: relative;
}

nav a.active {
    color: var(--secondary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    font-weight: 600;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #1a2f44;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 62, 88, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background-color: #000;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(36, 62, 88, 0.9) 0%, rgba(36, 62, 88, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Multi-page Common Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.page-header {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.page-content {
    padding: 80px 5%;
}

.content-block {
    margin-bottom: 60px;
}

.content-block h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-block p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Grids & Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.feature-card p {
    color: #666;
}

/* Infographic Grid */
.infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.info-item h4 {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.info-item span {
    font-size: 28px;
    font-weight: 700;
}

/* Product Detailed Blocks */
.product-detailed-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.product-detailed-block.reverse {
    flex-direction: row-reverse;
}

.product-image-large {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.product-text {
    flex: 1;
}

.product-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-text p {
    color: #555;
    margin-bottom: 20px;
}

.product-text ul {
    list-style: none;
}

.product-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.product-text ul li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-block h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p, .contact-item a {
    color: #555;
    font-size: 16px;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.modern-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.modern-form input, .modern-form select, .modern-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition);
}

.modern-form input:focus, .modern-form select:focus, .modern-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(109, 151, 115, 0.2);
}

/* Products Section (Homepage Grid) */
.products {
    padding: 100px 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: left;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-info p {
    color: #666;
    margin-bottom: 25px;
}

.link-arrow {
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow svg {
    transition: var(--transition);
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #aaa;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 14px;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header specific */
.header-logo-img {
    height: 110px;
    vertical-align: middle;
    max-width: 100%;
    width: auto;
    transition: height 0.3s ease;
}
.scrolled .header-logo-img {
    height: 80px;
}
.mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--primary-color);
}
.header-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Responsive */
@media (max-width: 900px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
    }
    .header-logo-img {
        height: 60px !important;
    }
    .mobile-toggle {
        display: block;
        z-index: 1000;
    }
    .header-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px 5% 40px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 20px;
        text-align: center;
    }
    body.menu-open .header-menu-wrapper {
        display: flex;
    }
    body.menu-open {
        overflow: hidden;
    }
    nav ul {
        flex-direction: column;
        margin-top: 0;
        gap: 15px;
    }
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    .header-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px !important;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-detailed-block, .product-detailed-block.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Internal Pages Mobile Headers */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 5% 50px !important;
    }
    .page-header h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    .page-header p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

