/* TailwindCSS CDN Import */
@import url('https://cdn.tailwindcss.com');

/* Tailwind Config - Loro Piana Fonts */
@layer base {
    @tailwind base;
    @tailwind components;
    @tailwind utilities;
}

/* Custom Font Classes for Tailwind */
.font-loro { font-family: 'Cormorant Garamond', serif; }
.font-loro-light { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
.font-loro-regular { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
.font-loro-medium { font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.font-loro-semibold { font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.font-loro-bold { font-family: 'Cormorant Garamond', serif; font-weight: 700; }

.font-display { font-family: 'Libre Baskerville', serif; }
.font-sans { font-family: 'Inter', sans-serif; }

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Loro Piana Style Font System */
:root {
    --font-serif: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Libre Baskerville', 'Cormorant Garamond', Georgia, serif;
}

/* Base Styles */
html {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.01em;
}

body {
    margin: 0;
    line-height: inherit;
}

/* Loro Piana Style Typography */
.font-loro {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.font-loro-light {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.font-loro-bold {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.font-display {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Headings - Loro Piana Style */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

h1 {
    font-weight: 600;
    letter-spacing: 0.03em;
}

h2 {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Body Text */
p, span, div {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

/* Navigation */
nav a, .nav-link {
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Buttons */
button, .btn {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.01em;
}

body {
    margin: 0;
    line-height: inherit;
}

/* Global Link Styles - Çizgileri kaldır */
a {
    text-decoration: none !important;
    border-bottom: none !important;
}

a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Navigation Links Özel Styling */
nav a,
.nav-link {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none;
}

nav a:hover,
nav a:focus,
.nav-link:hover,
.nav-link:focus {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Container */
.container {
    width: 100%;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Utility Classes */
.collapse {
    visibility: collapse;
}

.static {
    position: static;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.pb-3 {
    padding-bottom: 0.75rem;
}

.text-center {
    text-align: center;
}

/* Admin Panel Özel Stiller */
.admin-logo {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
}

.admin-icon {
    width: 16px !important;
    height: 16px !important;
}

.admin-card-icon {
    width: 20px !important;
    height: 20px !important;
}

/* Siyah Tema Override - Layout'taki ayarları zorunlu kıl */
body.bg-black {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Header'ın tamamen siyah olduğundan emin ol */
header.bg-black {
    background-color: #000000 !important;
}

/* Reset ve Fix CSS */
* {
    box-sizing: border-box;
}

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

/* Admin Panel için özel düzeltmeler */
.admin-dashboard {
    min-height: 100vh;
    background-color: #f9fafb;
}

.admin-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.admin-header {
    height: 48px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Scroll to Top Button - Temizlenmiş stiller */
#back-to-top {
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

body, .font-loro, .font-loro-light, .font-loro-regular, .font-loro-medium, .font-loro-semibold, .font-loro-bold, .font-display, .font-sans, p, span, div, h1, h2, h3, h4, h5, h6, nav a, .nav-link, button, .btn {
    font-family: inherit !important;
    font-weight: 400 !important;
}