:root {
    --primary-teal: #2B7A78;
    --secondary-teal: #17A2B8;
    --dark-teal: #1A5F5E;
    --accent-coral: #FF6B6B;
    --text-dark: #212529;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    /* Elegant knitting-themed background */
    background-image:
        radial-gradient(circle at 20% 50%, rgba(43, 122, 120, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, transparent 25%, rgba(43, 122, 120, 0.01) 25%, rgba(43, 122, 120, 0.01) 50%, transparent 50%, transparent 75%, rgba(43, 122, 120, 0.01) 75%, rgba(43, 122, 120, 0.01));
    background-size: 100% 100%, 100% 100%, 60px 60px;
    background-position: 0 0, 0 0, 0 0;
}

/* ========== HEADER & NAVIGATION ========== */
.main-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--white) !important;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-logo {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.navbar-brand:hover .header-logo {
    transform: rotate(10deg) scale(1.1);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-coral);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    animation: socialPulse 2s ease-in-out infinite;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.15);
    animation: socialBounce 0.6s ease;
}

/* Instagram - gerçek gradient */
.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.social-link.instagram:hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.5);
}

/* X (Twitter) - siyah */
.social-link.x-twitter {
    background-color: #000000;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-link.x-twitter:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* WhatsApp - yeşil */
.social-link.whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.social-link.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Sosyal medya animasyonları */
@keyframes socialBounce {
    0% {
        transform: translateY(0) scale(1);
    }

    30% {
        transform: translateY(-8px) scale(1.2);
    }

    50% {
        transform: translateY(-3px) scale(1.1);
    }

    70% {
        transform: translateY(-6px) scale(1.15);
    }

    100% {
        transform: translateY(-5px) scale(1.15);
    }
}

@keyframes socialPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ========== HERO SECTION ========== */
.hero-magazine {
    background: url('/images/arkaplan.png') center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.hero-magazine::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-teal);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.stylish-title {
    font-family: inherit;
    /* Remove Great Vibes from parent */
}

.highlight-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(5rem, 15vw, 10rem);
    font-style: italic;
    font-weight: 900;
    display: block;
    background: linear-gradient(135deg, #DEF2F1 0%, #3AAFA9 50%, #2B7A78 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 0.9;
    letter-spacing: -3px;
    position: relative;
    padding: 0;
    margin-top: -10px;
    filter: drop-shadow(4px 10px 15px rgba(0, 0, 0, 0.2));
    animation: luxuryFloat 5s ease-in-out infinite;
}

@keyframes luxuryFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

.hero-tagline {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    letter-spacing: 2px;
    background: none;
    padding: 0;
    border-radius: 0;
    display: block;
    text-transform: lowercase;
    font-style: italic;
}

.hero-actions {
    margin-top: 2rem;
}

.btn-hero {
    background-color: var(--white);
    color: var(--primary-teal);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background-color: var(--accent-coral);
    color: var(--white);
}

/* Removed barcode visual styles */

/* ========== SECTIONS ========== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary-teal);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-teal) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(43, 122, 120, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ========== KNITTING TECHNIQUES ========== */
.techniques-section {
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--white) 100%);
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.technique-tag {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.technique-tag:hover {
    background-color: var(--dark-teal);
    transform: scale(1.05);
}

/* ========== PRODUCT CARDS ========== */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 1 calc(25% - 1.5rem);
    min-width: 220px;
    max-width: 320px;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 122, 120, 0.2);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background-color: var(--bg-light);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.btn-order {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-order:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

/* ========== FOOTER ========== */
.modern-footer {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.modern-footer h5 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: socialPulse 2s ease-in-out infinite;
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.15);
    animation: socialBounce 0.6s ease;
}

.footer-social a.footer-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4);
}

.footer-social a.footer-x:hover {
    background-color: #000000;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.footer-social a.footer-whatsapp:hover {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .social-icons {
        margin-top: 1rem;
        justify-content: center;
    }

    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        margin: 0.3rem 0;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .hero-magazine {
        min-height: 60vh;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem) !important;
    }

    .highlight-text {
        font-size: clamp(2.5rem, 10vw, 5rem) !important;
    }

    .hero-tagline {
        font-size: 0.9rem !important;
        padding: 0.4rem 1rem;
    }

    .btn-hero {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-card {
        padding: 1.2rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .techniques-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .technique-tag {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .product-card {
        flex: 0 1 calc(50% - 1rem);
        min-width: 160px;
    }

    .product-grid {
        gap: 1rem;
        padding: 0 1rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .social-icons {
        margin-top: 1rem;
        justify-content: center;
    }

    .modern-footer {
        text-align: center;
        margin-top: 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        margin-bottom: 1rem;
    }

    .about-content {
        padding: 0 1rem;
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .header-logo {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .techniques-grid {
        grid-template-columns: 1fr;
    }

    .hero-magazine {
        min-height: 50vh;
    }

    .product-card {
        flex: 0 1 100%;
        min-width: unset;
    }
}

/* ========== LIGHTBOX MODAL ========== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: lightboxZoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--accent-coral);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

@keyframes lightboxZoomIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}