/**
 * CloneSwiss - Home Page Styles
 * Hero, Collections, Products, Brand, Testimonials
 * Version: 1.0.0
 */

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header.center {
    justify-content: center;
    text-align: center;
}

.section-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: auto;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ca9f27;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subline {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
    padding: 3rem 0;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.trust-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.trust-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.trust-text p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ============================================
   Collections Section
   ============================================ */
.collections-section {
    padding: 6rem 0;
    background: white;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

.collection-image {
    position: absolute;
    inset: 0;
}

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

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    transition: background 0.3s ease;
}

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

.collection-card:hover .collection-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 1;
}

.collection-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.collection-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.collection-card:hover .collection-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Products Section (Home)
   ============================================ */
.products-section {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.products-section.alt-bg {
    background: white;
}

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

/* Product Card (Home) */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

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

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

.product-card .product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card .badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.product-card .product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card .product-info {
    padding: 1.25rem;
}

.product-card .product-category {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-card .product-title a {
    color: inherit;
}

.product-card .product-title a:hover {
    color: #ca9f27;
}

.product-card .product-price {
    margin-bottom: 1rem;
}

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

.product-card .price-original {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-card .price-sale {
    color: var(--color-accent);
}

/* Add to Cart Button (Home Product Card) */
.product-card .btn-add-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card .btn-add-cart:hover {
    background: #ca9f27;
    transform: translateY(-2px);
}

.product-card .btn-add-cart:active {
    transform: translateY(0);
}

/* Product Slide Actions (Add to Cart - Slides up on hover) */
.product-card .product-slide-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-slide-actions {
    transform: translateY(0);
}

.product-card .product-slide-actions .btn-add-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, #c9a227 0%, #f4d03f 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.product-card .product-slide-actions .btn-add-cart:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #c9a227 100%);
    transform: scale(1.02);
}

.product-card .product-slide-actions .btn-add-cart.btn-success {
    background: #059669 !important;
    color: white !important;
    opacity: 1;
}

/* ============================================
   Brand Section
   ============================================ */
.brand-section {
    padding: 2rem 0;
    background: var(--color-bg-light);
}

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

.brand-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.brand-content {
    padding: 2rem 0;
}

.brand-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin: 1rem 0 2rem;
}

.brand-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.brand-stats {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 6rem 0;
    background: var(--color-primary);
    color: white;
}

.testimonials-section .section-label,
.testimonials-section .section-title {
    color: white;
}

.testimonials-section .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #ca9f27;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ca9f27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.author-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Lifestyle Section
   ============================================ */
.lifestyle-section {
    padding: 6rem 0 0;
    background: white;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.lifestyle-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

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

.lifestyle-item:hover img {
    transform: scale(1.1);
}

.lifestyle-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.lifestyle-item:hover .lifestyle-overlay {
    opacity: 1;
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--color-primary);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    text-align: center;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

/* ============================================
   Wishlist Button (Header)
   ============================================ */
/* Moved to common.css */

/* ============================================
   Reviews Section
   ============================================ */
.reviews-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.reviews-section.alt-bg {
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.review-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============================================
   Action Button Base
   ============================================ */
/* Moved to common.css */

/* ============================================
   Toast Notification
   ============================================ */
/* Moved to common.css */
