/* 
   Şahin Isıtma Mekanik - Premium Design System 
   Inspired by: Bilgin Yacht
   Style: Ultra-Premium, Minimalist, Full-Screen Visuals
*/

/* --- fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Palette */
    --anthracite: #0b0f19;
    /* Deep proprietary dark */
    --anthracite-light: #1a202c;
    --gold: #C0A080;
    /* Premium metallic gold */
    --gold-light: #d4b89b;
    --white: #ffffff;
    --gray-soft: #f4f4f4;
    --text-muted: #94a3b8;

    /* Spacing */
    --section-spacing: 120px;

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--anthracite);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--white);
    background-color: var(--anthracite);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.4s var(--ease-out);
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Manrope', sans-serif;
    /* Clean, modern sans */
    font-weight: 300;
    /* Light weights look more premium */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.display-text {
    font-family: 'Playfair Display', serif;
    /* Editorial feel for key headings */
    font-weight: 400;
}

p {
    color: var(--text-muted);
    font-weight: 300;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) forwards;
    animation-delay: 0.2s;
}

/* UI Components */
.btn-premium {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--white);
    transition: width 0.4s var(--ease-out);
    z-index: -1;
}

.btn-premium:hover {
    color: var(--anthracite);
    border-color: var(--white);
}

.btn-premium:hover::before {
    width: 100%;
}

.btn-gold {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-gold:hover {
    color: var(--anthracite);
}

.btn-gold::before {
    background: var(--gold);
}

/* Navigation - Transparent & floating */
/* Navigation - Transparent & floating */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 60px;
    /* Reduced padding for limited height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 100%);
    /* Micro-overlay */
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Added shadow */
}

.logo small {
    font-size: 0.75rem;
    /* Increased size */
    color: #e2e8f0;
    /* Lighter / Higher Contrast */
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 3px;
    /* Slightly tighter for readability */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

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

nav ul li a {
    font-size: 0.85rem;
    /* Slightly larger for clarity */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    /* Pure white requested */
    opacity: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    /* Sharper shadow */
    font-weight: 600;
    position: relative;
    /* For ::after pseudo-element */
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #D85A32;
    /* Warm brand color */
    transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
    left: 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Hero Section - Full Screen */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    /* Lighter to keep visuals clear */
    transform: scale(1.05);
    /* Slight zoom for parallax feel later */
}

/* Overlay gradient for bottom text readability */
/* Overlay gradient */
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    /* Reduced height (was 50%) */
    background: linear-gradient(to top, var(--anthracite), transparent);
    opacity: 0.85;
    /* Slightly reduced intensity */
}

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

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    color: #fff;
    /* Improved contrast (was gold) */
    text-transform: uppercase;
    letter-spacing: 5px;
    /* Increased letter-spacing */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.6);
    /* Darker bg for better contrast */
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    /* Increased weight */
    backdrop-filter: blur(4px);
    /* Glassy touch */
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--white);
    /* Warm text shadow for "heat" feeling */
    text-shadow: 0 4px 15px rgba(192, 100, 60, 0.5), 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Call to Action Button - Specific Warm Tone */
/* Call to Action Button - Specific Warm Tone */
.btn-cta {
    background: #D85A32;
    /* Warm Terra Cotta / Orange */
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(216, 90, 50, 0.3);
    color: var(--white);
    padding: 18px 45px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy feel */
}

.btn-cta::before {
    display: none;
    /* Disable default slide effect for this specific button */
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    /* Micro-growth */
    box-shadow: 0 20px 40px rgba(216, 90, 50, 0.6), 0 0 30px rgba(216, 90, 50, 0.4);
    /* Intense Heat Glow */
    color: var(--white);
    border-color: transparent;
}

/* Brand Section (Herz) */
.brand-section {
    padding: var(--section-spacing) 0;
    background-color: var(--anthracite);
    text-align: center;
}

.brand-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-logo-large {
    max-width: 200px;
    margin: 0 auto 40px;
    /* filter: brightness(0) invert(1); removed to show color */
    /* Make logo white if needed */
    opacity: 1;
}

.brand-desc {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 200;
}

/* Split Section (Technical/Aesthetic) */
.split-section {
    display: flex;
    min-height: 80vh;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.split-col {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
}

.split-text {
    background: var(--anthracite);
    z-index: 2;
}

.split-image {
    padding: 0;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

.tech-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Product Scroller */
.product-showcase {
    padding: var(--section-spacing) 0;
    background: var(--anthracite-light);
    overflow: hidden;
}

.showcase-header {
    text-align: center;
    margin-bottom: 80px;
}

.showcase-header .hero-subtitle {
    color: var(--gold);
}

.showcase-header h2 {
    color: var(--white) !important;
}

.scroller {
    display: flex;
    gap: 40px;
    padding: 0 60px;
    overflow-x: auto;
    padding-bottom: 40px;
    scroll-behavior: smooth;
    /* Hide scrollbar spacing */
    scrollbar-width: none;
    /* Firefox */
}

.scroller::-webkit-scrollbar {
    display: none;
}

/* Carousel Navigation Arrows */
.product-showcase {
    position: relative;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(192, 160, 128, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.product-item {
    min-width: 300px;
    background: white;
    /* Contrast card */
    padding: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 300px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-height: 100%;
    width: auto;
    mix-blend-mode: multiply;
    /* Helps if images have white bg */
}

.product-info {
    padding: 25px;
    color: var(--anthracite);
}

.product-info h3 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer Redesign */
footer {
    background-color: #111;
    /* Deep dark background */
    color: #e2e8f0;
    padding: 80px 0 40px;
    border-top: 4px solid var(--gold);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    /* 4 Columns layout */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-col ul li a i {
    font-size: 0.8rem;
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--anthracite);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s var(--ease-out);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Container and Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 80px 0;
}

.mb-8 {
    margin-bottom: 2rem;
}

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

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

/* CSS Variables for other pages */
:root {
    --primary: #C0A080;
    --accent: #C0A080;
    --text-dark: #1a202c;
    --text-gray: #94a3b8;
    --bg-light: #f4f4f4;
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.contact-info-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px;
        flex-direction: row;
        /* Keep row to separate logo and hamburger */
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.9);
        /* Dark background for visibility */
    }

    .logo {
        transform: scale(0.9);
        margin-bottom: 0;
        width: auto;
    }

    .menu-toggle {
        display: block;
        /* Show hamburger on mobile */
        cursor: pointer;
        z-index: 1001;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        display: none;
        /* Hide by default */
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
    }

    nav.active {
        display: flex;
        /* Show when active */
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 0;
        margin: 0;
        mask-image: none;
        /* Remove scroll mask */
        -webkit-mask-image: none;
    }

    nav ul li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    /* GLOBAL MOBILE OVERRIDES */
    /* Force grids to stack vertically */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 40px !important;
    }

    /* Fix image scaling & alignment */
    img:not(.hero-bg img) {
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
        object-fit: cover;
    }

    /* Restore Hero Image settings for mobile */
    .hero-bg img {
        height: 100% !important;
        max-height: none !important;
        width: 100% !important;
    }

    /* Typography fixes */
    p,
    li {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    /* Layout spacing fixes */
    .container {
        padding: 0 20px !important;
    }

    .section-padding {
        padding: 50px 0 !important;
    }

    /* Fix header overlap: Restore top padding for the first content section */
    header+.section-padding,
    header+div {
        padding-top: 150px !important;
    }

    /* Fix split sections specifically */
    .split-section {
        flex-direction: column !important;
    }

    .split-col {
        width: 100% !important;
        padding: 20px !important;
    }

    /* Footer adjustments for mobile */
    footer {
        padding: 40px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        /* Stack vertically on mobile */
        text-align: center;
        gap: 40px !important;
    }

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

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

    .footer-col ul li {
        text-align: center;
    }

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

    /* Undo previous specific mobile styles if any conflict */
    .hero-title {
        font-size: 2.5rem;
        margin-top: 0;
    }

    .hero-bg img {
        object-position: center;
    }
}

/* Desktop default for menu toggle */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* WhatsApp Float */
/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #D85A32;
    /* Warm Brand Color (was green) */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(216, 90, 50, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(216, 90, 50, 0.6);
    background-color: #c44d28;
    /* Slightly darker on hover */
    color: white;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/*                        Premium Dark FAQ Section                            */
/* -------------------------------------------------------------------------- */

.faq-section {
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #1a1a1a;
    /* Slight contrast against #111 bg */
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #444;
}

/* Question (Button) */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f1f5f9;
    /* Off-white for readability */
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--gold);
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    font-size: 1.25rem;
    color: #64748b;
    /* Muted icon color initially */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Active State Styles */
.faq-item.active {
    border-color: var(--gold);
    background: #222;
    /* Slightly lighter when active */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-item.active .faq-question {
    color: var(--gold);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Plus becomes 'x' if using plus icon, or rotate 180 for chevron */
    color: var(--gold);
}

/* Answer (Hidden by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: transparent;
    display: block;
    /* Ensure it's not display:none */
    visibility: visible;
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: #cbd5e1;
    /* Light gray text */
    line-height: 1.7;
    font-size: 1rem;
    /* Removed opacity/transform for reliability */
}

/* Removed specific active state for content since opacity is gone */

/* Mobile Responsiveness for FAQ */
@media (max-width: 768px) {
    .faq-item {
        margin-bottom: 15px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-content {
        padding: 0 20px 20px 20px;
        font-size: 0.95rem;
    }
}