/* 
   Ankara Etiket Baskı - Design System
   Inspired by dorukbaski.com
*/

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

:root {
    --primary-color: #34BFA6; /* Teal */
    --secondary-color: #1F3A8C; /* Dark Blue */
    --accent-color: #f39c12; /* Orange for badges/highlights */
    --text-dark: #494956;
    --text-light: #777;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --border-color: #eee;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Urbanist', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

/* Top Bar */
.top-bar {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 60px;
    width: auto;
}

.search-bar {
    flex: 1;
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    outline: none;
    font-family: inherit;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-link-top {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.nav-link-top:hover {
    color: var(--primary-color);
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-main {
    border-bottom: 1px solid #f0f0f0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px 0;
}

.nav-sub {
    background: #fdfdfd;
}

.nav-sub-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 10px 0;
}

.nav-links a, .nav-sub-links a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.nav-sub-links a {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

/* Hero Slider */
.hero {
    width: 100%;
    max-width: 100vw;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.hero-slider {
    display: flex;
    width: 200%; /* 2 slides */
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    width: 50%; /* Each slide is 100% of view */
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Detail Page */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.product-detail-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    flex: 1.2;
}

.main-image {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

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

.thumb:hover {
    border-color: var(--primary-color);
}

.product-info-sidebar {
    flex: 0.8;
}

.product-header h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.price-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-selectors {
    margin-bottom: 25px;
}

.selector-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.selector-group label {
    width: 80px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.selector-group select, .selector-group input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.selector-group select:focus, .selector-group input:focus {
    border-color: var(--primary-color);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.85rem;
}

.price-table th {
    background: var(--secondary-color);
    color: white;
    padding: 10px;
    text-align: left;
}

.price-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr.active {
    background: rgba(52, 191, 166, 0.1);
    font-weight: 700;
}

.buy-box {
    margin-top: 20px;
}

.qty-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.qty-input input {
    width: 60px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
}

.whatsapp-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    margin-top: 25px;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: fit-content;
}

.whatsapp-contact-btn i {
    color: #fff;
    font-size: 1.6rem;
}

.whatsapp-contact-btn:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    transform: translateY(-5px) scale(1.02);
    color: #fff;
}

.info-cards {
    display: grid;
    gap: 15px;
}

.info-card {
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Tabs & Description */
.product-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
}

.tab-item {
    padding: 15px 0;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    color: var(--text-light);
}

.tab-item.active {
    color: var(--primary-color);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
    line-height: 1.8;
    color: var(--text-dark);
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.description-content h3 {
    margin: 30px 0 15px;
}

.description-content p {
    margin-bottom: 15px;
}

.description-content img {
    margin: 20px 0;
    border-radius: 10px;
}

/* Product Grid */
.products {
    padding: 80px 0;
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

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

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

.product-image {
    height: 250px;
    background: #f0f0f0;
    overflow: hidden;
}

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

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Trust Section */
.trust-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.trust-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.trust-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #1a1a24;
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-col ul li a {
    color: #bbb;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background: #128c7e;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Hover label for floating button */
.whatsapp-btn::after {
    content: 'WhatsApp';
    position: absolute;
    right: 80px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-btn:hover::after {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Gallery Styles */
.product-gallery {
    flex: 0 0 450px; /* Fixed width for gallery side */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 450px;
    height: 450px;
    background: #f8f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* All images will fit perfectly in the square */
    transition: var(--transition);
    padding: 10px;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.thumb {
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

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

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

.main-image {
    cursor: zoom-in;
}

/* Mobile Responsive Enhancements */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column !important;
        gap: 15px;
        padding: 15px 0;
    }
    .search-bar {
        width: 100% !important;
        max-width: 100% !important;
        order: 2;
    }
    .header-actions {
        width: 100% !important;
        justify-content: center !important;
        gap: 10px;
        order: 3;
    }
    .logo {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .action-item {
        display: none !important;
    }
    .logo img {
        height: 45px !important;
    }
    .nav-sub-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 10px 5px !important;
    }
    .nav-sub-links li {
        margin: 0 !important;
    }
    .nav-sub-links a {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
        background: #f0f0f0 !important;
        border-radius: 20px !important;
    }
    .product-detail-container {
        display: block !important; /* Force block stacking */
        width: 100% !important;
    }
    .product-gallery, .product-info-middle, .product-info-right {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
        flex: none !important;
    }
    .main-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin-bottom: 20px !important;
    }
    .main-image img {
        padding: 15px !important;
    }
    .thumbnails {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    .product-header h2 {
        font-size: 1.6rem !important;
        text-align: center;
    }
    .product-meta {
        text-align: center;
    }
    .whatsapp-contact-btn {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important; /* Force side-by-side icon and text */
        justify-content: center !important;
        align-items: center !important;
        padding: 15px !important;
        border-radius: 10px !important; /* Better rectangular button */
        font-size: 1.1rem !important;
        margin: 20px 0 !important;
    }
    .whatsapp-contact-btn span {
        display: inline !important;
        margin-left: 10px !important;
    }
    .price-box {
        text-align: center;
    }
    .side-banner {
        display: none; /* Hide side banner on mobile to save space if it looks bad */
    }
    .footer-grid, .trust-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .product-image {
        height: 160px !important;
    }
    .product-info h3 {
        font-size: 0.9rem !important;
    }
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 25px !important;
    }
    .hero-slider {
        height: auto !important;
    }
    .hero-slider img {
        height: auto !important;
        object-fit: contain !important;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .product-tabs {
        display: flex !important;
        gap: 15px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 10px !important;
    }
    .tab-item {
        font-size: 0.9rem !important;
    }
    .current-price {
        font-size: 1.8rem !important;
    }
}

.reviews-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-info h5 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-info span {
    font-size: 0.8rem;
    color: #888;
}

.google-link-review {
    display: inline-block;
    margin-top: 40px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.google-link-review:hover {
    text-decoration: underline;
}

/* SEO Tags Section */
.seo-section {
    margin-top: 50px;
    padding: 30px 20px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    border-radius: 8px;
}

.seo-section h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-tag {
    font-size: 0.8rem;
    color: #666;
    background: #fff;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: var(--transition);
}

.seo-tag:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
/* About Us Page Enhancements */
.about-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    border: 1px solid #f0f0f0;
}

.about-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fafafa;
    padding: 40px;
    border-radius: 15px;
}

.about-image-container img {
    max-width: 70%; /* Bi tık küçültüldü */
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08));
}

.about-text-container {
    flex: 1.2;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.about-feature-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateY(-5px);
}

.about-feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-feature-item h5 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.about-feature-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .about-card {
        flex-direction: column;
        padding: 30px;
    }
    .about-feature-grid {
        grid-template-columns: 1fr;
    }
}

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

.map-container {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .map-container {
        height: 350px !important;
        margin-top: 20px;
    }
}
