/* ============================
   🪑 Armonia Mobilya - Stil Dosyası
   ============================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================
   CSS Reset & Root Variables
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Renk Paleti */
    --primary-color: #4A3F35;
    --secondary-color: #CBBEA4;
    --background-color: #F8F5F1;
    --accent-color: #D4A373;
    --text-color: #2B2B2B;
    --white: #FFFFFF;
    
    /* Tipografi */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Boşluklar */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    
    /* Geçiş efektleri */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================
   Tipografi
   ============================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

p {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

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

/* ============================
   Navigation Bar - SABIT YÜKSEKLIK
   ============================ */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    padding: 0 48px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000 !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
    background: rgba(74, 63, 53, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    box-sizing: border-box !important;
}

/* Anasayfada (hero section olan sayfada) navbar başlangıçta daha şeffaf */
body:has(.hero) .navbar:not(.scrolled) {
    background: rgba(74, 63, 53, 0.3) !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    padding: 0 48px !important;
}

.navbar .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
    text-shadow: 1px 1px 4px rgba(212, 163, 115, 0.3);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
    letter-spacing: 0.5px;
    line-height: 1;
}

.navbar.scrolled .nav-links a {
    color: var(--text-color);
}

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

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background: var(--primary-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================
   Hero Section (Galeri)
   ============================ */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
}

.hero-overlay h1 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
    left: 30px;
}

.slider-arrow-right {
    right: 30px;
}

/* ============================
   Section Genel Stiller
   ============================ */
.section {
    padding: var(--spacing-xl) var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* ============================
   Kategoriler Bölümü
   ============================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (max-width: 1400px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.category-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

.category-overlay h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

/* ============================
   Ürünler Bölümü
   ============================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 63, 53, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.product-price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================
   Contact Form
   ============================ */
.contact-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--white);
    padding: 70px 60px;
    border-radius: 16px;
    width: 100%;
    max-width: 1400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.contact-info h3 {
    color: var(--accent-color);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.info-card h4 {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.7;
}

.whatsapp-section {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    flex-shrink: 0;
}

.whatsapp-text {
    flex: 1;
    min-width: 200px;
}

.whatsapp-text h4 {
    color: #25D366;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.whatsapp-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.info-item {
    display: flex;
    align-items: start;
    gap: var(--spacing-sm);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

/* ============================
   About Page
   ============================ */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: var(--white) !important;
    padding: 0 48px !important;
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 90px !important;
}

.about-hero h1 {
    color: var(--white);
    font-size: 3.5rem !important;
    margin-bottom: 20px !important;
    font-weight: 700;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem !important;
    max-width: 700px;
    margin: 0 auto !important;
    line-height: 1.6;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--spacing-md);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.value-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* ============================
   Scroll to Top Button
   ============================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 1200px) {
    :root {
        --spacing-xl: 60px;
        --spacing-lg: 40px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        height: 75px !important;
        padding: 0 var(--spacing-md) !important;
    }
    
    .navbar.scrolled {
        height: 75px !important;
        padding: 0 var(--spacing-md) !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-lg);
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-color) !important;
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Sections */
    :root {
        --spacing-xl: 40px;
        --spacing-lg: 24px;
    }
    
    .section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info {
        padding: 40px 25px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .whatsapp-section {
        padding: 25px 20px;
    }
    
    .whatsapp-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .whatsapp-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .whatsapp-text h4 {
        font-size: 1.2rem;
    }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero */
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-overlay p {
        font-size: 1.1rem;
    }
    
    /* Slider Arrows - Mobil */
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .slider-arrow-left {
        left: 15px;
    }
    
    .slider-arrow-right {
        right: 15px;
    }
    
    /* About Hero */
    .about-hero {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
        margin-top: 75px !important;
        padding: 0 24px !important;
    }
    
    .about-hero h1 {
        font-size: 2.2rem !important;
    }
    
    .about-hero p {
        font-size: 1.1rem !important;
    }
    
    /* Vision/Mission Cards - Mobilde Tek Sütun */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Görsel Yükseklik Ayarları */
    div[style*="height: 400px"],
    div[style*="height: 350px"] {
        height: 250px !important;
    }
}

@media (max-width: 480px) {
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .navbar .logo {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
}
