/*
Theme Name: Olcay Hortum
Theme URI: https://olcayhortum.com
Author: Olcay Hortum
Author URI: https://olcayhortum.com
Description: Modern ve profesyonel endüstriyel hortum teması. Glassmorphism tasarım, premium görsel kartlar ve responsive yapı.
Version: 2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olcayhortum
Tags: business, industrial, modern, responsive, one-page
*/

:root {
    --primary: #0066ff;
    --primary-glow: rgba(0, 102, 255, 0.4);
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 120px 0;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #004dc7);
    color: var(--white);
    box-shadow: 0 10px 15px -3px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Navbar (Glassmorphism) */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1000;
    transition: var(--transition);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: auto;
    max-height: 70px;
    max-width: 300px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--dark);
    border-radius: 10px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 400px;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 24px;
        color: var(--dark);
    }

    /* Menu Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .logo img {
        max-height: 50px;
    }
}

/* Mobile Hero Background Fix */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    background-image: url('assets/images/about_hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    line-height: 1;
    margin-bottom: 32px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 24px;
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
    }
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--white), var(--light));
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 48px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .about-text h2 {
        font-size: 36px;
    }
}

/* Products Section */
.products {
    background-color: var(--light);
}

.products h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 80px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card-visual {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card-visual:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary);
}

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-body {
    padding: 30px;
}

.card-body h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.card-body p {
    color: var(--secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--light), var(--white));
}

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

.contact-content-centered h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-text p {
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--dark);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

footer a {
    color: var(--white);
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary);
}

footer h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover img {
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .products h2,
    .contact-content-centered h2 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .product-grid-modern {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }
}