/* NickTobyn - Home Page Styles */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(26, 26, 26, 0.4) 50%,
        rgba(26, 26, 26, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    color: white;
    animation: slideUp 1s ease-out;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.hero-actions .btn-outline:hover {
    background-color: white;
    color: var(--secondary);
    border-color: white;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--background-warm);
    border-bottom: 1px solid var(--border);
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

/* Featured Section */
.featured-section {
    padding: 100px 0;
    background-color: var(--background);
}

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

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow);
}

.product-image {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--background-warm);
}

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

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background-color: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
}

.product-info {
    padding: 24px;
}

.product-name {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.product-name a {
    color: var(--secondary);
}

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

.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-current, .price-sale {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

.price-original {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Story Section */
.story-section {
    padding: 0;
    background-color: var(--background);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.story-image {
    position: relative;
    overflow: hidden;
}

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

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    background-color: var(--secondary);
    color: white;
}

.story-content .section-tag {
    color: var(--primary-light);
}

.story-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.story-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-content .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
    align-self: flex-start;
    margin-top: 20px;
}

.story-content .btn-outline:hover {
    background-color: white;
    color: var(--secondary);
    border-color: white;
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background-color: var(--background-warm);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.category-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.category-overlay span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Showcase Section */
.showcase-section {
    padding: 100px 0;
    background-color: var(--background);
}

.showcase-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 24px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 16px;
    padding: 0 24px;
}

.showcase-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.showcase-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary);
}

/* Journal Section */
.journal-section {
    padding: 100px 0;
    background-color: var(--background-warm);
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.journal-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.journal-card:hover {
    box-shadow: 0 10px 30px var(--shadow);
}

.journal-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.journal-card:hover .journal-image img {
    transform: scale(1.05);
}

.journal-content {
    padding: 28px;
}

.journal-date {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.journal-title {
    font-size: 1.25rem;
    margin: 12px 0;
}

.journal-title a {
    color: var(--secondary);
}

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

.journal-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.journal-link {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.journal-link:hover {
    color: var(--primary-dark);
}

/* Newsletter Section */
.newsletter-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.newsletter-content .section-tag {
    color: var(--primary-light);
}

.newsletter-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form .form-control {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary);
}

.newsletter-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        min-height: 400px;
    }
    
    .story-content {
        padding: 60px 40px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    
    .showcase-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid,
    .categories-grid,
    .journal-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 300px);
    }
    
    .showcase-item.large {
        grid-column: span 1;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
