/**
 * Tabela Reklam - Main Stylesheet
 * Modern, kurumsal, premium tasarım
 */

/* ====================================
   CSS Variables
   ==================================== */
:root {
    --primary: #1a1a2e;
    --primary-light: #2d2d4a;
    --secondary: #16213e;
    --accent: #d4af37;
    --accent-light: #f5e6a3;
    --accent-dark: #b8972f;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f0f23;
    --border: #e5e5e5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ====================================
   Base Styles
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

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

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

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* ====================================
   Buttons
   ==================================== */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-primary {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
    background: transparent;
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ====================================
   Header
   ==================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    padding: 8px 0;
    font-size: 0.875rem;
}

.header-top-info a,
.header-top-info span {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-top-info a:hover {
    color: var(--accent);
}

.header-top-social a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 15px;
    font-size: 1rem;
}

.header-top-social a:hover {
    color: var(--accent);
}

.main-navbar {
    background: #fff;
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.main-navbar .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 10px 18px !important;
    position: relative;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.main-navbar .nav-link:hover {
    color: var(--accent-dark);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--text);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--accent-dark);
}

/* ====================================
   Hero Slider
   ==================================== */
.hero-slider {
    position: relative;
}

.heroSwiper {
    height: 600px;
}

.slide-bg {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.7) 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: #fff;
}

.slide-subtitle {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

.hero-placeholder {
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-placeholder h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-placeholder p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ====================================
   Sections
   ==================================== */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ====================================
   Category Cards
   ==================================== */
.category-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

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

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

.category-placeholder {
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--border);
}

.category-content {
    padding: 20px;
}

.category-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.category-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ====================================
   Reference Cards
   ==================================== */
.reference-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reference-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

.reference-card:hover .reference-image img {
    transform: scale(1.05);
}

.reference-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.reference-category {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.reference-content {
    padding: 15px 20px;
}

.reference-content h3,
.reference-content h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

/* ====================================
   About Section
   ==================================== */
.section-about {
    background: var(--bg-light);
}

.about-content {
    padding-right: 50px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.about-features li i {
    color: var(--accent);
    font-size: 1.1rem;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   CTA Section
   ==================================== */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px 0;
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====================================
   Page Header
   ==================================== */
.page-header-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header-section h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header-section .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.page-header-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header-section .breadcrumb-item a:hover {
    color: var(--accent);
}

.page-header-section .breadcrumb-item.active {
    color: var(--accent);
}

.page-header-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   Contact Page
   ==================================== */
.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-text a {
    color: var(--text);
}

.contact-social {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.contact-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--accent);
    color: var(--primary);
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    margin-bottom: 25px;
}

/* ====================================
   Quote Form
   ==================================== */
.quote-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quote-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.quote-form-header h3 {
    margin-bottom: 10px;
}

.quote-form-header p {
    color: var(--text-light);
}

.form-section-title {
    color: var(--accent-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

/* ====================================
   Forms
   ==================================== */
.form-control,
.form-select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-label {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

/* ====================================
   Sidebar
   ==================================== */
.category-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    color: #fff;
}

.sidebar-cta h4 {
    color: #fff;
    margin-bottom: 15px;
}

.sidebar-cta p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.sidebar-categories {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-lg);
}

.sidebar-categories h4 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.sidebar-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    border-bottom: 1px solid var(--border);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--text);
    font-size: 0.9rem;
}

.sidebar-categories a:hover {
    color: var(--accent-dark);
}

.sidebar-categories .view-all {
    display: block;
    text-align: center;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
    color: var(--accent-dark);
    font-weight: 600;
}

/* ====================================
   Features
   ==================================== */
.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ====================================
   Gallery
   ==================================== */
.gallery-item {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: var(--transition);
}

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

/* ====================================
   Footer
   ==================================== */
.main-footer {
    background: var(--bg-dark);
    color: #fff;
}

.footer-top {
    padding: 60px 0;
}

.footer-about {
    padding-right: 30px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-about h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-top h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-top h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--accent);
    width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ====================================
   WhatsApp Button
   ==================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 991px) {
    .header-top {
        display: none;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .heroSwiper {
        height: 500px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-desc {
        font-size: 1rem;
    }
    
    .heroSwiper {
        height: 450px;
    }
    
    .category-image {
        height: 180px;
    }
    
    .quote-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Lazy loading placeholder */
img[data-src] {
    background: var(--bg-light);
}
