/* 
   Project: Satış Terapisti Site - Design 2.0 (Premium)
   Author: Antigravity
*/

:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #c0a062;
    /* Gold */
    --secondary-hover: #d4b06a;
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --dark-bg: #1e293b;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Typography Enhancements */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-tag {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

/* Buttons with Shine Effect */
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(192, 160, 98, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.w-100 {
    width: 100%;
}

/* Header with Glassmorphism */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 220px;
    margin: -70px 0;
    /* Significant negative margin to overflow */
    position: relative;
    z-index: 1000;
    /* Ensure it's on top of everything */
    transition: var(--transition);
    pointer-events: none;
    /* Let clicks pass through transparent areas */
}

/* Re-enable pointer events for the link wrapper */
.logo {
    position: relative;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.social-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Remove underline animation from icons */
.social-icon::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section with Parallax & Gradient */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

/* Animated Particles/Orbs in Hero (Pseudo-elements) */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    filter: blur(150px);
    opacity: 0.2;
    animation: float 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: #4338ca;
    /* Indigo accent */
    filter: blur(150px);
    opacity: 0.15;
    animation: float 12s infinite alternate-reverse;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #e2e8f0, #c0a062);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero-personal {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 45px;
    opacity: 0;
    color: #cbd5e1;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    min-height: 1.7em;
    /* Prevent layout shift */
}

.typing-text {
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: var(--secondary-color);
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    height: 500px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    transform: translate(20px, 20px);
    z-index: -1;
    transition: var(--transition);
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.about:hover .about-image-wrapper {
    transform: translateY(-5px);
}

.about:hover .about-image-wrapper::after {
    transform: translate(15px, 15px);
}



.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-suffix {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Footer */
/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.footer-contact h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.footer-contact a {
    color: #94a3b8;
    transition: var(--transition);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.4rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-copyright {
        margin-top: 0;
        order: 3;
        /* Move to bottom */
    }

    .footer-social {
        order: 2;
    }
}

/* Services Cards - 3D Hover Effect */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-list {
    text-align: left;
    margin-top: 1.5rem;
    padding-left: 10px;
}

.service-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Books Section */
.books {
    background: linear-gradient(to right, #0f172a, #1e293b);
    color: var(--white);
    position: relative;
}

.books-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.book-content .section-title {
    color: var(--white);
}

.book-content p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.book-mockup {
    width: 300px;
    /* Adjusted width */
    height: auto;
    background: transparent;
    margin: 0 auto;
    position: relative;
    border-radius: 5px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.book-mockup img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    box-shadow: inset 5px 0 10px rgba(0, 0, 0, 0.1);
    /* Spine effect */
}

.book-mockup:hover {
    transform: perspective(1000px) rotateY(0) scale(1.05);
    box-shadow: 0 20px 50px rgba(192, 160, 98, 0.3);
}

/* Removed old CSS-only cover styles */

/* References Section */
.references {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    opacity: 0.7;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-weight: 500;
    transition: var(--transition);
}

.logo-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.logo-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: var(--shadow-soft);
    opacity: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-bottom-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #64748b;
}

/* Video Section */
.video-section {
    background-color: var(--light-bg);
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    /* Reduced from 900px */
    margin: 0 auto 30px;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 4px solid var(--secondary-color);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-cta {
    margin-top: 20px;
}

/* Video Thumbnail Fallback */
.video-link-card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.video-link-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-link-card:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(192, 160, 98, 0.9);
    /* Gold with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.play-overlay i {
    font-size: 30px;
    color: #fff;
    margin-left: 5px;
    /* Optical adjustment */
}

.video-link-card:hover .play-overlay {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.15);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info li {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-info li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

/* Contact Form Styling */
.contact-form-box {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192, 160, 98, 0.15);
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -30px);
    }
}

/* Reveal on Scroll Class */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive Adjustments */
/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    /* Mobile Navigation */
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: var(--secondary-color);
    }

    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: var(--secondary-color);
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.98);
        /* Deep Navy backdrop */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1000;
        gap: 40px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--white);
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger animation for links */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .about-container,
    .books-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Better spacing on mobile */
    .section {
        padding: 60px 0;
    }

    .header {
        padding: 15px 0;
    }

    .hero::before,
    .hero::after {
        display: none;
    }
}