/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sidebar-width: 25%;
    --main-content-width: 75%;
    --sidebar-bg: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --overlay: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    padding: 3rem 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Image logo support */
.logo img {
    height: 84px;
    width: auto;
    display: block;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--text-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dark);
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

.hamburger-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.sidebar-nav {
    flex: 1;
    padding: 0 3rem;
}

.nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link.active {
    color: var(--text-dark);
    font-weight: 600;
}

.nav-indicator {
    opacity: 0;
    transition: var(--transition);
}

.nav-link.active .nav-indicator {
    opacity: 1;
}

.sidebar-footer {
    padding: 2rem 3rem;
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: left;
}

.sidebar-footer p {
    margin-bottom: 0.25rem;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* Collapsed sidebar (desktop) */
.sidebar.collapsed {
    width: 88px;
}
.sidebar.collapsed .sidebar-nav,
.sidebar.collapsed .sidebar-footer,
.sidebar.collapsed .logo-text,
.sidebar.collapsed .logo-icon { display: none; }
.sidebar.collapsed .sidebar-header { padding: 1.25rem 1.25rem 0; margin-bottom: 1rem; }
.sidebar.collapsed .logo img { height: 52px; }
.sidebar.collapsed + .main-content,
.sidebar.collapsed ~ .main-content { margin-left: 88px; }

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 5rem;
    max-width: 1400px;
}

.hero-slider-indicators {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 20;
}

.slider-indicator {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-indicator.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--text-dark);
}

.hero-title {
    display: none;
}

.section-prefix {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-title h2 {
    font-size: 6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    line-height: 1;
}

.hero-info {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    color: var(--white);
}

.hero-info h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-info p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-slider-controls {
    position: absolute;
    bottom: 5rem;
    left: 3rem;
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--text-dark);
}

/* Content Section */
.content-section {
    padding: 6rem 5rem;
    max-width: 1200px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.content-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
}

.content-text p {
    margin-bottom: 2rem;
}

.section-block {
    margin-top: 4rem;
}

.block-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Social Icons */
.social-icons {
    position: fixed;
    top: 3rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 50px;
    height: 50px;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--text-light);
}

/* Responsive Design */
/* Hide mobile header on desktop */
.mobile-header { display: none; }
@media (max-width: 1200px) {
    .hero-content {
        padding: 3rem;
    }
    
    .content-section {
        padding: 4rem 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
        --main-content-width: 100%;
    }
    
    /* Fullscreen overlay menu on mobile */
    .sidebar {
        width: 100vw;
        background: rgba(20,20,20,0.92);
        backdrop-filter: blur(6px);
        color: #fff;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1200;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }

    /* Mobile header (fixed top bar with hamburger) */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        background: rgba(255,255,255,0.85);
        backdrop-filter: saturate(180%) blur(8px);
        z-index: 1100;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .mobile-header .logo img { height: 36px; }

    .hamburger-menu {
        padding: 0.5rem;
    }

    .hamburger-menu span { background: currentColor; }
    
    .hero-title h2 {
        font-size: 3rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        justify-content: flex-start;
        padding-top: 3rem;
    }
    
    .hero-title {
        display: none;
    }
    
    .hero-info {
        max-width: 100%;
        padding: 1.5rem;
        margin-top: 0;
        margin-bottom: 2rem;
        position: relative;
        top: 0;
    }
    
    .hero-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .hero-info p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-info p:last-child {
        margin-bottom: 0;
        -webkit-line-clamp: 2;
    }
    
    .hero-slider-controls {
        bottom: 2rem;
        left: 1.5rem;
    }
    
    .hero-slider-indicators {
        left: 1.5rem;
        gap: 1rem;
    }
    
    .slider-indicator {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 3rem 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-icons { right: 1rem; top: 72px; }
    .social-icon svg { width: 28px; height: 28px; }
    /* Better contrast on imagery */
    .social-icon { color: #ffffff; filter: drop-shadow(0 0 6px rgba(0,0,0,0.45)); }

    /* Sidebar nav in overlay style */
    .sidebar-header { padding: 1rem; margin-bottom: 0.5rem; }
    .sidebar-nav { padding: 72px 1.25rem 0; }

    /* prevent header overlapping hero */
    .hero-section { padding-top: 56px; }
    .nav-link {
        color: rgba(255,255,255,0.85);
        border-color: rgba(255,255,255,0.08);
        font-size: 1.15rem;
    }
    .nav-link:hover, .nav-link.active { color: #fff; }
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-info,
.content-section {
    animation: fadeIn 0.8s ease;
}

/* Craftsman (Usta) Section */
.craftsman-section {
    position: relative;
.   width: 100%;
    min-height: 60vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 6rem 5rem;
}
.craftsman-visual {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    min-height: 420px;
    background-size: cover;
    background-position: center;
}
.craftsman-copy h3 { font-size: 2.25rem; margin-bottom: 1rem; }
.craftsman-copy p { color: var(--text-light); font-size: 1.05rem; line-height: 1.9; }

@media (max-width: 900px) {
    .craftsman-section { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
}
