/* PrintIt Store - Simple Wide Layout with Big Text */

:root {
    --primary: #56766B;
    --primary-dark: #4A655C;
    --primary-light: #6F8F84;
    --secondary: #2ECC71;
    --text-dark: #2E2A29;
    --text-medium: #6B6B6B;
}

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

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: #F9F8F6;
    font-size: 20px;
}

html {
    scroll-behavior: smooth;
}

/* ========== NAVIGATION (Green Gradient - Unified) ========== */
.nav-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    filter: brightness(1.1);
}

.nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cart-badge,
.cart-count {
    background: #B23A48;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(178, 58, 72, 0.4);
    display: inline-block;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .nav-buttons {
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }

    .cart-badge,
    .cart-count {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
        min-width: 20px;
    }
}

@media (max-width: 480px) {
    .nav-header {
        padding: 0.8rem;
    }

    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
        gap: 0.3rem;
    }

    .cart-badge,
    .cart-count {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
}

/* ========== LEGACY NAVIGATION (Keep for backward compatibility) ========== */
nav {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}

.brand-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s;
    position: relative;
}

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

/* 🎨 Effect #6: Nav Underline */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: url('background.svg') repeat-x;
    background-size: auto 100%;
    transition: width 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
}

/* Cart Icon Styles */
.cart-link {
    position: relative;
}

/* 🎨 Effect #3: Cart Badge Animation */
.cart-count::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: url('background.svg') center/cover;
    opacity: 0.3;
    animation: badgeSweep 2s linear infinite;
}

@keyframes badgeSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========== HERO ========== */
.hero {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
    /* 🎨 Effect #4: Hero Text Mask - UNCOMMENT TO ACTIVATE */
    /* background: url('background.svg') center/cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textureSlide 20s linear infinite; */
}

@keyframes textureSlide {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.highlight {
    color: #FFD700;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

/* 🎨 Effect #2: Button Ripple */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: url('background.svg') center/cover;
    opacity: 0.3;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

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

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

.hero-image {
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.placeholder {
    font-size: 6rem;
    opacity: 0.4;
}

/* 🎨 Effect #5: Section Divider */
.section-divider {
    width: 100%;
    height: 150px;
    background: url('background.svg') center/cover;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black, transparent);
    opacity: 0.15;
    animation: dividerWave 15s ease-in-out infinite;
}

@keyframes dividerWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

/* ========== SECTIONS ========== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 5.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.6rem;
    color: var(--text-medium);
}

/* ========== FEATURES ========== */
.features {
    padding: 8rem 5%;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: #F9F8F6;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-card .icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.3rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ========== PRODUCTS WITH DUAL OPTIONS ========== */
.services {
    padding: 8rem 5%;
    background: #F9F8F6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.service-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

/* 🎨 Effect #1: Product Card Hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.svg') center/cover;
    opacity: 0;
    transition: all 0.5s;
    z-index: 0;
    border-radius: 25px;
}

.service-card:hover::before {
    opacity: 0.1;
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
}

.service-content {
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.service-content > p {
    font-size: 1.4rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Dual Option Layout */
.dual-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.option-card {
    background: #F9F8F6;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.option-card:hover {
    border-color: var(--primary);
    background: white;
    transform: translateY(-5px);
}

.option-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.option-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.option-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.option-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    padding: 1rem 2rem;
}

/* 🎨 Effect #8: Price Tag Background */
.option-price::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('background.svg') center/cover;
    opacity: 0.08;
    border-radius: 12px;
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.15; }
}

.option-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.option-features li {
    padding: 0.7rem 0;
    font-size: 1.1rem;
    color: var(--text-medium);
    border-bottom: 1px solid #e0e0e0;
}

.option-card .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
}

/* Legacy styles for backward compatibility */
.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin: 2rem 0;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-features li {
    padding: 1rem 0;
    font-size: 1.3rem;
    color: var(--text-medium);
    border-bottom: 1px solid #f0f0f0;
}

/* ========== WHY SECTION ========== */
.why-section {
    padding: 8rem 5%;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.why-image {
    height: 500px;
    background: #F9F8F6;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-content h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.why-content p {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.why-list {
    list-style: none;
    margin-bottom: 3rem;
}

.why-list li {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.why-list li span {
    font-size: 2.5rem;
}

.why-list strong {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.why-list small {
    color: var(--text-medium);
    font-size: 1.2rem;
}

/* ========== CTA ========== */
.cta {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.btn-light {
    background: white;
    color: var(--primary);
}

/* ========== FOOTER ========== */
footer {
    background: var(--text-dark);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-grid h3 {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.footer-grid p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

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

.footer-grid a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .dual-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body { font-size: 18px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 3.5rem; }
    .hero p { font-size: 1.4rem; }
    .section-header h2 { font-size: 3.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .dual-options { grid-template-columns: 1fr; }
}
