/* Core Design System & Tokens */
:root {
    --primary-color: #c9a66b; /* Luxury Antique Gold */
    --primary-hover: #e0be82;
    --secondary-color: #121212; /* Rich Dark Gray */
    --bg-color: #070707; /* Sleek Pitch Black */
    --card-bg: #141414;
    --text-color: #e5e5e5;
    --text-muted: #999999;
    --white: #ffffff;
    --light-gray: #252525;
    --border-color: #333333;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #c9a66b 0%, #8e6f3e 100%);
    --dark-gradient: linear-gradient(180deg, #121212 0%, #070707 100%);
    
    /* Shadows */
    --gold-shadow: 0 0 20px rgba(201, 166, 107, 0.15);
    --gold-shadow-hover: 0 0 30px rgba(201, 166, 107, 0.35);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s all ease;
}

/* Navbar */
.navbar {
    background: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 85px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 166, 107, 0.2);
    transition: 0.4s all ease;
}

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

.logo img {
    height: 55px;
    display: block;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

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

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

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

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

.admin-link {
    color: var(--primary-color) !important;
    border: 1px solid rgba(201, 166, 107, 0.3);
    padding: 8px 15px !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-link:hover {
    background: rgba(201, 166, 107, 0.1);
    border-color: var(--primary-color);
}

/* Mobile Hamburger Menu */
.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--primary-color);
    transition: 0.3s;
}

.menu-btn:hover {
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 85px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 35px;
    color: #ccc;
    animation: fadeInUp 1.2s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s all ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--gold-shadow);
}

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

.btn-outline:hover {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 5px 15px rgba(201, 166, 107, 0.2);
}

/* Section Common */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
}

/* History Section (Home) */
.history-section {
    padding: 120px 0;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(201, 166, 107, 0.1);
    border-bottom: 1px solid rgba(201, 166, 107, 0.1);
}

.history-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.history-text p {
    margin-bottom: 22px;
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 300;
}

.history-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(201, 166, 107, 0.3);
    transition: 0.5s;
}

.history-img img:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

/* Detailed History Page (history.html) */
.history-page .page-header {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('assets/img/history.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 85px;
    border-bottom: 1px solid rgba(201, 166, 107, 0.2);
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 300;
}

.history-detail-section {
    padding: 100px 0;
}

.history-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.history-detail-img img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(201, 166, 107, 0.3);
    box-shadow: var(--card-shadow);
}

.history-detail-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.history-detail-text p {
    font-size: 1.05rem;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Nargile Elementleri (history.html) */
.culture-elements {
    padding: 100px 0;
    background: var(--secondary-color);
    border-top: 1px solid rgba(201, 166, 107, 0.1);
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.element-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s all ease;
}

.element-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--gold-shadow);
}

.element-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.element-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}

.element-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Products Section */
.products-section {
    padding: 120px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s all ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--gold-shadow-hover);
}

.product-img {
    height: 280px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

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

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--white);
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
    margin-bottom: 20px;
}

.buy-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s all ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-btn:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(201, 166, 107, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
}

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

.premium-form .form-group {
    margin-bottom: 25px;
}

.premium-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--white);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

.premium-form input:focus,
.premium-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(201, 166, 107, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gold-shadow);
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.info-item a:hover {
    color: var(--white);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background: #25d366;
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: 0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 1.4rem;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(201, 166, 107, 0.1);
    text-align: center;
    background: #000;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .history-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        border-left: 1px solid rgba(201, 166, 107, 0.2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float {
        padding: 15px;
        bottom: 25px;
        right: 25px;
    }
}

.logo img {
    height: 75px;
    display: block;
    transition: 0.3s ease;
    border-radius: 6px;
    border: 1px solid rgba(201, 166, 107, 0.3);
    box-shadow: 0 0 10px rgba(201, 166, 107, 0.2);
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(201, 166, 107, 0.5);
    border-color: var(--primary-color);
}

.logo a {
    display: block;
}

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

/* Category Filter Tabs */
.category-filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease;
}

.filter-btn {
    background: rgba(20, 20, 20, 0.6);
    color: #aaaaaa;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 11px 26px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-btn:hover {
    color: var(--primary-color);
    border-color: rgba(201, 166, 107, 0.4);
    background: rgba(201, 166, 107, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
    background: var(--gold-gradient);
    color: #070707;
    border-color: transparent;
    font-weight: 600;
    box-shadow: var(--gold-shadow);
    transform: translateY(-2px);
}

/* Social Nav & Icon styles */
.social-nav {
    margin-left: 20px !important;
}

.social-nav a {
    color: #999;
    font-size: 1.1rem;
    transition: 0.3s;
}

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

.contact-socials a {
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 166, 107, 0.05);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(201, 166, 107, 0.15);
}

.contact-socials a:hover {
    color: white !important;
    border-color: var(--primary-color);
    background: rgba(201, 166, 107, 0.15);
    transform: translateY(-2px);
}

.footer-socials a {
    color: #888;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

/* Map Integration Style */
.map-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(201, 166, 107, 0.3);
    box-shadow: var(--card-shadow);
    transition: 0.3s all ease;
    height: 350px;
}

.map-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: var(--gold-shadow-hover);
}

/* Product Detail Modal (Ürün İnceleme) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--card-bg);
    border: 1px solid rgba(201, 166, 107, 0.3);
    width: 90%;
    max-width: 850px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--gold-shadow-hover);
    transform: translateY(30px);
    transition: 0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(201, 166, 107, 0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s all ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: black;
    border-color: var(--primary-color);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img-wrapper {
    height: 450px;
    background: #050505;
    border-right: 1px solid var(--border-color);
    position: relative;
}

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

.modal-info-wrapper {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.modal-category-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(201, 166, 107, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(201, 166, 107, 0.3);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.modal-buy-btn {
    background: var(--gold-gradient);
    color: black;
    padding: 14px 28px;
    text-align: center;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.modal-buy-btn:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(201, 166, 107, 0.4);
    transform: translateY(-2px);
}

.product-card .buy-btn {
    margin-bottom: 10px;
}

.details-btn {
    background: #111111;
    color: var(--white);
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s all ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.details-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(201, 166, 107, 0.05);
}

@media (max-width: 768px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    .modal-img-wrapper {
        height: 280px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .modal-info-wrapper {
        padding: 30px 20px;
    }
    .modal-info-wrapper h2 {
        font-size: 1.6rem;
    }
}

#footer-address:hover {
    color: var(--primary-color) !important;
}
