/* 
   Yorulmaz Mobilya - Premium Style Guide & Stylesheet
   Design Language: Dark Boutique Luxury (Charcoal, Champagne Gold, Glassmorphism)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1c1c1c;
    --accent-gold: #c5a880;
    --accent-gold-hover: #e0c6a3;
    --accent-gold-light: rgba(197, 168, 128, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6e6e6e;
    --border-color: rgba(197, 168, 128, 0.12);
    --border-color-hover: rgba(197, 168, 128, 0.3);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --glass-bg: rgba(18, 18, 18, 0.8);
    --glass-border: rgba(197, 168, 128, 0.08);
    --glass-blur: blur(16px);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold-light);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Utility Classes & General Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7.5rem 0;
    position: relative;
}

.section-bg-alt {
    background-color: var(--bg-secondary);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    display: inline-block;
    font-weight: 600;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title span {
    font-style: italic;
    color: var(--accent-gold);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
    margin-top: 1.25rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 4rem;
    font-size: 1.05rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border: 1px solid var(--accent-gold);
}

.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: var(--transition-smooth);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold-light);
    transform: translateY(-2px);
}

/* Navbar / Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    background: rgba(10, 10, 10, 0.95);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

header.scrolled nav {
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--accent-gold);
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-gold);
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(10,10,10,1)), url('assets/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 750px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero h1 span {
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Hakkımızda Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 300;
}

.about-text p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-image:hover::before {
    top: -10px;
    left: -10px;
}

.about-image img {
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-premium);
    filter: grayscale(15%);
    transition: var(--transition-smooth);
}

.about-image:hover img {
    filter: grayscale(0);
}

/* Hizmetlerimiz Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card:hover {
    border-color: var(--accent-gold);
    background-color: var(--bg-tertiary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link span {
    transition: var(--transition-fast);
}

.service-card:hover .service-link span {
    transform: translateX(5px);
}

/* Galeri / Portfolio Section */
.gallery-filters {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.75rem;
    color: var(--text-secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.filter-btn.active {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-premium);
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 60%, rgba(10, 10, 10, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.05s;
}

.gallery-item h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.gallery-item-btn {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
    transition-delay: 0.15s;
}

.gallery-item-btn:hover {
    background-color: var(--text-primary);
}

.gallery-item:hover .gallery-item-cat,
.gallery-item:hover .gallery-item h4,
.gallery-item:hover .gallery-item-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80%;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

.lightbox-caption {
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
}

/* İletişim Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    padding: 0.5rem;
    border: 1px solid var(--accent-gold-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-text h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item-text p, .contact-item-text a {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 400;
}

.contact-item-text a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    color: var(--bg-primary);
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 168, 128, 0.3);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3.5rem 3rem;
}

.form-group {
    position: relative;
    margin-bottom: 2.25rem;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-label {
    position: absolute;
    top: 0.75rem;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.form-input:focus {
    border-bottom-color: var(--accent-gold);
}

/* Label Floating Effect */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1rem;
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

textarea.form-input {
    min-height: 120px;
    resize: none;
}

/* Success toast */
.toast-msg {
    display: none;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    padding: 1.25rem 2rem;
    margin-top: 2rem;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.toast-msg.success {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer Section */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-links h4, .footer-instagram h4 {
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.footer-instagram-grid a {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: block;
}

.footer-instagram-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.footer-instagram-grid a:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* Responsiveness (Mobile & Tablet queries) */

@media (max-width: 1024px) {
    section {
        padding: 5.5rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-instagram {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Navigation toggle trigger */
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        box-shadow: -10px 0 35px rgba(0,0,0,0.9);
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-cta {
        display: none; /* Hide duplicate actions on header */
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-instagram {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}
