/* Kapukaya Antika - Ana Sayfa CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary: #8B6914;
    --primary-light: #d4a843;
    --primary-dark: #5a4410;
    --dark: #2c1810;
    --dark-soft: #4a2c1a;
    --cream: #faf6ef;
    --cream-dark: #f0ebe3;
    --text: #3d2e1e;
    --text-light: #7a6b5d;
    --white: #ffffff;
    --gold-gradient: linear-gradient(135deg, #8B6914, #d4a843, #8B6914);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

a, button { touch-action: manipulation; }

html { scroll-behavior: smooth; }

@media (max-width: 768px) {
    html { scroll-behavior: auto; }
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(44, 24, 16, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .navbar.scrolled {
        background: rgb(44, 24, 16);
        backdrop-filter: none;
    }
}

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

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-brand span {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #1a0f0a 0%, #2c1810 30%, #4a2c1a 60%, #2c1810 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,15,10,0.2) 0%, rgba(26,15,10,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-radius: 30px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero .subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.7);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 16px;
}

.hero .description {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--gold-gradient);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(139,105,20,0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139,105,20,0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: rgba(255,255,255,0.4);
    font-size: 28px;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========== SECTION COMMON ========== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .overline {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44,24,16,0.15);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--dark), var(--dark-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 80px;
}

.about-content h2 {
    font-size: 34px;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.about-feature i {
    color: var(--primary);
    font-size: 16px;
}

/* ========== CATEGORIES ========== */
.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
}

.category-card:hover {
    background: rgba(212,168,67,0.1);
    border-color: rgba(212,168,67,0.3);
    transform: translateY(-6px);
}

.category-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212,168,67,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-light);
    transition: all 0.3s;
}

.category-card:hover .icon {
    background: var(--primary-light);
    color: var(--dark);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.category-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* ========== GALLERY ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(44,24,16,0.85));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-item .overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.gallery-empty i {
    font-size: 48px;
    color: var(--cream-dark);
    margin-bottom: 16px;
    display: block;
}

/* ========== SERVICES ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.service-card:hover {
    box-shadow: 0 8px 40px rgba(139,105,20,0.12);
    border-color: rgba(212,168,67,0.2);
    transform: translateY(-4px);
}

.service-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139,105,20,0.1), rgba(212,168,67,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.contact-item p, .contact-item a {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.5;
}

.contact-item a:hover { color: var(--primary); }

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    background: var(--cream-dark);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 300px;
}

.contact-map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-light);
    font-size: 14px;
}

.contact-map-placeholder i {
    font-size: 40px;
    color: var(--cream-dark);
    margin-bottom: 12px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
}

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

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-brand span { color: var(--primary-light); }

.footer-text { font-size: 13px; }

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-light);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Floating Social Buttons */
.whatsapp-float,
.facebook-float {
    position: fixed;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float {
    bottom: 24px;
    background: #25D366;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}

.facebook-float {
    bottom: 92px;
    background: #1877F2;
    box-shadow: 0 4px 20px rgba(24,119,242,0.35);
}

.whatsapp-float:hover,
.facebook-float:hover {
    transform: scale(1.1);
}

.whatsapp-float:hover {
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.facebook-float:hover {
    box-shadow: 0 6px 30px rgba(24,119,242,0.45);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover { opacity: 1; }

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero h1 { font-size: 42px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(44,24,16,0.98);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 18px; }
    .mobile-toggle { display: block; z-index: 1000; }
    .hero h1 { font-size: 34px; }
    .hero .subtitle { font-size: 18px; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 28px; }
    .categories-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .footer-content { flex-direction: column; text-align: center; }
}
