/*
Theme Name: Yavuz Osman
Author: Antigravity
Description: Custom minimalist brutalist theme inspired by 2ZUP Studio.
Version: 1.0
*/

/* =========================================
   1. Reset & Base Styles
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f8;
    color: #111;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

.container {
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-title {
    font-size: 14vw;
    line-height: 0.85;
    margin-bottom: 40px;
    margin-left: -0.5vw; /* Optical alignment */
}

.section-title {
    font-size: 4rem;
    margin-bottom: 60px;
}

/* =========================================
   3. Header
   ========================================= */
.site-header {
    padding: 30px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 248, 248, 0.9);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
}

.btn-pill {
    background: #000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.btn-pill:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: #000;
    transition: 0.3s;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-drawer.active {
    transform: translateY(0);
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.mobile-nav-links a {
    font-size: 2.5rem;
    font-weight: 700;
}

.mobile-cta {
    display: inline-block;
}

/* Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

body.no-scroll {
    overflow: hidden;
}

/* =========================================
   4. Hero Section
   ========================================= */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

.hero-bio {
    max-width: 400px;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
}

/* =========================================
   5. Projects Section (Bento Grid)
   ========================================= */
.projects-section {
    padding: 100px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr;
    gap: 20px;
    height: 600px;
}

.bento-item {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

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

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

.project-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    z-index: 2;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin: 0;
}

.title-box {
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.title-box h2 {
    font-size: 3.5rem;
    line-height: 1;
}

.nav-arrows {
    display: flex;
    gap: 15px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background: #fff;
    color: #000;
}

/* =========================================
   6. Services Section
   ========================================= */
.services-section {
    padding: 100px 0;
}

.services-list {
    border-top: 1px solid #000;
}

.service-item {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr 2fr;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s;
}

.service-item:hover {
    background: #fff;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 -20px;
    border-radius: 16px;
}

.service-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: #999;
}

.service-title {
    font-size: 2.5rem;
    margin: 0;
}

.service-desc {
    font-size: 1.1rem;
    color: #555;
}

/* =========================================
   7. FAQ Section
   ========================================= */
.faq-section {
    padding: 100px 0;
    margin-bottom: 100px;
}

.accordion {
    max-width: 900px;
}

.accordion-item {
    border-bottom: 1px solid #000;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    background: none;
    border: none;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust as needed */
}

.accordion-content p {
    padding-bottom: 30px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* =========================================
   8. Footer
   ========================================= */
.site-footer {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

.footer-top {
    margin-bottom: 80px;
}

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

.footer-links a {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-center {
    margin-bottom: 100px;
}

.footer-slogan {
    font-size: 8vw;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 40px;
    font-size: 0.9rem;
    color: #888;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: #fff;
}

.footer-email a {
    color: #fff;
    font-size: 1.2rem;
}

/* =========================================
   9. Responsive Styles
   ========================================= */
@media (max-width: 1024px) {
    /* Header */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 18vw;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 20px;
    }

    .bento-item {
        height: 400px;
    }

    .title-box {
        height: 300px;
        order: -1; /* Move title to top on mobile if desired, or keep as is */
    }

    /* Services */
    .service-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-number {
        margin-bottom: 10px;
    }

    .service-title {
        font-size: 2rem;
    }

    /* Footer */
    .footer-slogan {
        font-size: 12vw;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 0 15px;
    }

    .accordion-header {
        font-size: 1.4rem;
    }
}
