@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-primary: #fcfbfa;
    --bg-secondary: #f6f3ef;
    --bg-dark: #121212;
    --bg-card: #ffffff;
    --accent: #d4af37;
    --accent-hover: #bfa030;
    --accent-light: #fbf7e6;
    --text-main: #2b2b2b;
    --text-muted: #6e6e6e;
    --text-light: #ffffff;
    --border-color: #e5dfd8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

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

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(252, 251, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--accent);
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
}

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

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 550px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('../images/makam_ofis_takimi.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.btn-dark:hover {
    background-color: #232323;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.btn-whatsapp:hover {
    background-color: #1ebd54;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header span {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--text-main);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    group: hover;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: var(--text-light);
    transition: var(--transition);
}

.category-overlay h3 {
    font-size: 24px;
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: var(--transition);
}

.category-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.category-overlay .btn-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%);
}

.category-card:hover .category-overlay h3 {
    transform: translateY(0);
}

.category-card:hover .category-overlay p,
.category-card:hover .category-overlay .btn-link {
    opacity: 1;
    transform: translateY(0);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 30px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

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

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--accent);
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 10;
}

.product-info {
    padding: 24px;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.product-detail-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-detail-btn:hover {
    color: var(--accent);
}

/* About Intro Block */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content span {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.about-intro-content h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-intro-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.about-intro-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-intro-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    margin: 15px;
    pointer-events: none;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px 0;
    font-size: 15px;
    border-top: 1px solid #232323;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.footer-socials a:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px !important;
}

.footer-contact-info i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-contact-info a:hover {
    color: var(--accent);
    padding-left: 0 !important;
}

.footer-bottom {
    border-top: 1px solid #232323;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?q=80&width=1920') no-repeat center center/cover;
    height: 250px;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: center;
}

.page-header-content {
    width: 100%;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.breadcrumbs {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    font-size: 14px;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.contact-info-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.contact-form-wrapper {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Products Filter & Layout */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.products-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.category-list li a:hover,
.category-list li.active a {
    color: var(--accent);
    padding-left: 6px;
}

.category-list span {
    font-size: 12px;
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-form .form-control {
    padding: 10px 14px;
}

.search-form .btn {
    padding: 0 16px;
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-main-img {
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.thumb-img {
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-img:hover,
.thumb-img.active {
    border-color: var(--accent);
}

.product-detail-info h2 {
    font-size: 42px;
    margin-bottom: 12px;
}

.product-detail-info .product-price {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 24px;
}

.product-detail-info .product-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-detail-info .product-meta span {
    margin-right: 20px;
}

.product-detail-info .product-meta strong {
    color: var(--text-main);
}

.product-summary {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.product-detail-actions {
    margin-bottom: 40px;
}

.product-description-tabs {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.product-description-tabs h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.product-description-tabs .tab-content {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.product-description-tabs .tab-content ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Map Section */
.map-section {
    height: 450px;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

/* Pagination */
.pagination-wrapper {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    font-weight: 500;
    transition: var(--transition);
}

.pagination li a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination li.active span {
    background-color: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}

.pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .products-sidebar {
        position: static;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .about-intro-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-main-img {
        height: 400px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .logo img {
        height: 45px;
    }
    .logo {
        font-size: 20px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(252, 251, 250, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 30px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .section {
        padding: 60px 0;
    }
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .products-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-main-img {
        height: 320px;
    }
    .product-detail-info h2 {
        font-size: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .product-detail-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .product-detail-actions .btn {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: center;
        padding: 14px 20px !important;
    }
}
