/* Main Application Styles */
/* Import base styles and components */
@import 'base.css';
@import 'header.css';
@import 'components.css';

/* Hero Section */
.hero { 
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: var(--bg);
	padding: 0;
}

.bulk-active .hero { 
    background: #f3f4f6; 
}

/* Ensure bulk order hero background extends only up to feature cards */
.bulk-active .hero .feature-cards {
    background: #f3f4f6;
}

/* Set white background for the entire hero section after feature cards */
.bulk-active .hero {
    background: linear-gradient(to bottom, #f3f4f6 0%, #f3f4f6 60%, #fff 60%, #fff 100%);
}

.hero-inner { 
	display: grid; 
	grid-template-columns: 1.15fr 0.85fr; 
	gap: 40px; 
	align-items: center;
	width: 100%;
}

.panel-center { 
    text-align: center; 
}

.panel-center .cta { 
    justify-content: center; 
}

.bulk-active .hero-inner { 
    grid-template-columns: 1fr; 
}

.bulk-active .hero-media { 
    display: none; 
}

/* Tab Styling */
.tabs { 
    display: inline-flex; 
    background: #fff; 
    border: 1px solid var(--border); 
    border-radius: 999px; 
    padding: 4px; 
    gap: 6px; 
}

.bulk-active section { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.tab { 
    padding: 10px 18px; 
    border-radius: 999px; 
    font-weight: 600; 
    font-size: 14px; 
    border: none; 
    cursor: pointer; 
    background: transparent; 
    transition: all 0.3s ease; 
}

.tab.active { 
    background: #111827; 
    color: #fff; 
}

/* Typography */
.h1 { 
    font-size: 56px; 
    line-height: 1.05; 
    margin: 28px 0 16px; 
    color: #a15a00; 
    font-weight: 800; 
    letter-spacing: -0.02em; 
}

.h1-dark { 
    color: #111827; 
}

.sub { 
    color: var(--muted); 
    margin-bottom: 24px; 
    font-size: 16px; 
}

.cta { 
    display: flex; 
    gap: 16px; 
    margin-top: 16px; 
}

/* Hero Media */
.hero-media { 
    display: flex; 
    justify-content: center; 
}

.mock { 
    width: 420px; 
    height: 460px; 
    border-radius: 24px; 
    overflow: hidden; 
    background: #fff; 
    border: 1px solid var(--border); 
    background-image: url('https://images.unsplash.com/photo-1622547748225-3fc4abd4c8e3?q=80&w=1200&auto=format&fit=crop'); 
    background-size: cover; 
    background-position: center; 
}

/* Order For Myself Styling */
.hero:not(.bulk-active) .h1 { 
	color: #a15a00; 
	background: linear-gradient(135deg, #a15a00, #dc2626);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero:not(.bulk-active) .sub { 
    color: #6b7280; 
}

.hero:not(.bulk-active) .btn-start { 
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
	transition: all 0.3s ease;
}

.hero:not(.bulk-active) .btn-start:hover { 
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.hero:not(.bulk-active) .btn-ghost { 
	border: 2px solid #e5e7eb;
	background: linear-gradient(135deg, #ffffff, #f9fafb);
}

.hero:not(.bulk-active) .hero-media .mock { 
	border: 3px solid #a15a00;
	box-shadow: 0 20px 40px rgba(161, 90, 0, 0.2);
}

/* Order For Myself Section */
.order-for-myself {
	display: flex;
	width: 100%;
	padding: 60px 0 50px 0;
	justify-content: center;
	align-items: center;
	gap: 20px;
	border-bottom: 1px solid #C8C8C8;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
	margin: 0 auto;
}

/* Info Blocks */
.info-block {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align: left;
	gap: 5px;
	flex: 1;
	max-width: 400px;
}

.info-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.info-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.info-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 48px;
	flex: 1;
}

.info-text p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: #1f2937;
	font-weight: 400;
	text-align: left;
}

.info-text strong {
	font-weight: 700;
	color: #000;
}

/* Bulk Order Styling */
.bulk-active .h1 { 
	color: #111827; 
	background: linear-gradient(135deg, #111827, #374151);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bulk-active .sub { 
    color: #4b5563; 
    font-weight: 500; 
}

.bulk-active .btn-start { 
	background: linear-gradient(135deg, #111827, #374151);
	box-shadow: 0 4px 15px rgba(17, 24, 39, 0.3);
	transition: all 0.3s ease;
}

.bulk-active .btn-start:hover { 
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(17, 24, 39, 0.4);
}

.bulk-active .products-strip { 
	background: transparent;
	padding: 30px;
	border-radius: 20px;
	border: none;
	margin: 36px -30px 0;
}

.bulk-active .product-card { 
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.bulk-active .product-card:hover { 
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Product Cards */
.product-card:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.products-strip { 
	margin-top: 36px; 
	display: flex; 
	gap: 24px; 
	overflow-x: auto; 
	overflow-y: hidden; 
	scroll-behavior: smooth; 
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	padding: 10px 0;
	position: relative;
	will-change: scroll-position;
	align-items: center;
	min-height: 220px;
	width: 100%;
	max-width: calc(5 * 180px + 4 * 24px); /* Show 5 images + gaps for wider slider */
	margin-left: auto;
	margin-right: auto;
}

.products-strip::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

/* Add fade effect to indicate more content */
.products-strip::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

.product-card {  
	border-radius: 14px; 
	overflow: hidden;  
	background: var(--surface); 
	position: relative; 
	min-width: 180px;
	height: 200px;
	flex-shrink: 0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--border);
}

.product-card::before { 
    content: ''; 
    position: absolute; 
    inset: 0;  
    opacity: .9; 
}

.product-card img { 
	position: relative; 
	z-index: 1; 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	border-radius: 10px;
	display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.h1 { font-size: 48px; }
	
	.order-for-myself {
		width: 100%;
		max-width: 1200px;
		gap: 80px;
		padding: 20px 24px 50px;
	}
	
	.products-strip { 
		gap: 20px; 
		max-width: calc(5 * 160px + 4 * 20px);
		padding: 25px 0;
	}
	.product-card { min-width: 160px; height: 180px; }
}

@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; }
	.h1 { font-size: 40px; }
	
	.order-for-myself {
		gap: 60px;
		padding: 20px 20px 50px;
	}
	
	.info-block {
		max-width: 250px;
	}
	
	.products-strip { 
		gap: 18px; 
		max-width: calc(4 * 170px + 3 * 18px);
		padding: 25px 0;
	}
	.product-card { min-width: 170px; height: 190px; }
}

@media (max-width: 640px) {
	.tabs { width: 100%; justify-content: space-between; }
	.tab { flex: 1; text-align: center; }
	.mock { width: 100%; height: 380px; }
	.h1 { font-size: 34px; }
	.sub { font-size: 14px; }
	.cta { flex-direction: column; }
	.btn-lg { width: 100%; }
	
	.order-for-myself {
		flex-direction: column;
		gap: 40px;
		padding: 20px 16px 50px;
	}
	
	.info-block {
		max-width: 100%;
		flex-direction: row;
	}
	
	.info-text p {
		font-size: 15px;
	}
	
	.products-strip { 
		gap: 16px; 
		max-width: calc(4 * 140px + 3 * 16px);
		padding: 20px 0;
	}
	.product-card { min-width: 140px; height: 160px; }
}

@media (max-width: 420px) {
	.h1 { font-size: 30px; }
	.tabs { padding: 3px; }
	.tab { padding: 8px 12px; }
	
	.products-strip { 
		gap: 12px; 
		max-width: calc(3 * 120px + 2 * 12px);
		padding: 15px 0;
	}
	.product-card { min-width: 120px; height: 140px; }
}

@media (max-width: 360px) {
	.h1 { font-size: 28px; }
	
	.products-strip { 
		gap: 10px; 
		max-width: calc(2 * 110px + 1 * 10px);
		padding: 12px 0;
	}
	.product-card { min-width: 110px; height: 130px; }
}
