:root {
    --gold: #c9a96e;
    --gold-light: #e0c896;
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --gray: #2a2a2a;
    --light-gray: #888;
    --white: #ffffff;
    --cream: #f5f0e8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: 8px;
    color: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 50px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--white);
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: 'MOBİLYA';
    position: absolute;
    bottom: -8px;
    left: 0;
    font-size: 0.5rem;
    letter-spacing: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-icons a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.nav-icons a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,15,15,0.7) 0%, rgba(15,15,15,0.4) 100%),
                url('asset/arkaplan.webp') center/cover;
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-title span {
    font-style: italic;
    color: var(--gold);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.4s;
    z-index: -1;
}

.hero-btn:hover {
    color: var(--dark);
}

.hero-btn:hover::before {
    left: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light-gray);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* About Section */
.about {
    padding: 120px 50px;
    background: var(--darker);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: 'Nildoğuş Mobilya';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 15vw;
    font-weight: 700;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s, transform 0.5s;
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold);
    z-index: -1;
}

.about-content {
    position: relative;
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-title span {
    color: var(--gold);
    font-style: italic;
}

.about-text {
    color: var(--light-gray);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.about-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(201,169,110,0.2);
}

.signature-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.signature-title {
    font-size: 0.85rem;
    color: var(--light-gray);
    letter-spacing: 2px;
}

/* Products Section */
.products {
    padding: 120px 50px;
    background: var(--dark);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header .section-label {
    justify-content: center;
}

.section-header .section-label::before {
    display: none;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.section-header h2 span {
    font-style: italic;
    color: var(--gold);
}

.section-header p {
    color: var(--light-gray);
    line-height: 1.8;
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    group: true;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15,15,15,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-category {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.product-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    width: fit-content;
}

.product-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 30px;
    z-index: 2000;
}

.custom-modal.active {
    display: flex;
}

.modal-content {
    width: min(1100px, 100%);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(201,169,110,0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 35px;
    border-radius: 20px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    transform: scale(1.05);
}

.modal-subtitle {
    color: var(--gold);
    margin: 10px 0 20px;
    font-size: 1rem;
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-text-side ul {
    list-style: none;
    padding-left: 0;
    color: var(--light-gray);
    line-height: 1.8;
}

.modal-text-side li {
    margin-bottom: 16px;
}

.modal-text-side strong {
    color: var(--white);
}

.modal-gallery-side {
    display: grid;
    gap: 16px;
}

.modal-image-frame {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}

.modal-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-controls {
    display: flex;
    gap: 12px;
}

.gallery-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.gallery-nav-btn:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .modal-body-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 25px;
    }
}

/* Stats Section */
.stats {
    padding: 100px 50px;
    background: var(--darker);
    position: relative;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(201,169,110,0.1);
    transition: all 0.4s;
}

.stat-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light-gray);
}

/* Showroom Section */
.showroom {
    padding: 120px 50px;
    background: var(--dark);
}

.showroom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showroom-slider {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.showroom-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.showroom-slide.active {
    opacity: 1;
}

.showroom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

.showroom-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.2;
}

.showroom-content h2 span {
    color: var(--gold);
    font-style: italic;
}

.showroom-content p {
    color: var(--light-gray);
    line-height: 1.9;
    margin-bottom: 30px;
}

.showroom-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.85rem;
    margin: 0;
}

/* Testimonials */
.testimonials {
    padding: 120px 50px;
    background: var(--darker);
    text-align: center;
}

.testimonials-slider {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.6s;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream);
    margin-bottom: 40px;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--gold);
    margin-top: 5px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(201,169,110,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--white);
}

.testimonial-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

/* Contact Section */
.contact {
    padding: 120px 50px;
    background: var(--dark);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.contact-info h2 span {
    color: var(--gold);
    font-style: italic;
}

.contact-info > p {
    color: var(--light-gray);
    line-height: 1.9;
    margin-bottom: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(201,169,110,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.contact-item:hover .contact-icon {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--darker);
    padding: 50px;
    border: 1px solid rgba(201,169,110,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--light-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--gray);
    border: 1px solid transparent;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--dark);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 80px 50px 30px;
    border-top: 1px solid rgba(201,169,110,0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-title {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201,169,110,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(201,169,110,0.1);
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.8rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--darker);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.5s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 25px;
    }
    
    .nav-links, .nav-icons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-container,
    .showroom-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-overlay {
        opacity: 1;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .showroom-features {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about, .products, .stats, .showroom, .testimonials, .contact {
        padding: 80px 25px;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
