/*
Theme Name: Sonex Cookware Europe
Theme URI: https://sonexineu.com
Author: Sonex Team
Description: Premium B2B Cookware Website with Modern Design
Version: 2.0
Text Domain: sonex
*/

/* ========== CSS VARIABLES ========== */
:root {
    /* Color Palette */
    --primary-red: #C1272D;
    --primary-dark: #1a1a1a;
    --primary-light: #ffffff;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4E4B8;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #f8f9fa;
    --gray-border: #e9ecef;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 15px 50px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-round: 50%;
}

/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--primary-light);
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
    color: var(--gray-medium);
}

.highlight-red {
    color: var(--primary-red);
}

.highlight-gold {
    color: var(--accent-gold);
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-wide {
    max-width: 1400px;
}

.section {
    padding: var(--space-xxl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header .section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== HEADER ========== */
.site-header {
    background: var(--primary-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    flex: 0 0 auto;
}

.site-logo img {
    height: 60px;
    width: auto;
    transition: height var(--transition-normal);
}

.site-header.scrolled .site-logo img {
    height: 50px;
}

/* Navigation */
.main-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: var(--space-lg);
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width var(--transition-normal);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #d32f2f 100%);
    color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-light);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.9)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none"><path d="M0,0 Q250,100 500,0 T1000,0 V1000 H0 Z" fill="rgba(193,39,45,0.1)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.375rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== BRAND STORY ========== */
.brand-story-section {
    background: var(--gray-light);
    position: relative;
}

.brand-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--primary-light), var(--gray-light));
}

.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.brand-story-content {
    padding-right: var(--space-xl);
}

.brand-story-content .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
}

.brand-story-image {
    position: relative;
}

.brand-story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-normal);
}

.brand-story-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--primary-red);
    color: var(--primary-light);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.image-badge h4 {
    margin: 0;
    font-size: 1.25rem;
}

.image-badge p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background: var(--primary-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-border);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.feature-desc {
    font-size: 1rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
    background: linear-gradient(135deg, var(--gray-light) 0%, #f1f3f4 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-round);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-content {
    padding: var(--space-lg);
}

.product-title {
    font-size: 1.375rem;
    margin-bottom: var(--space-sm);
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--gray-medium);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.product-features li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    font-size: 0.875rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2c2c2c 100%);
    color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.05"><path d="M0,0 L100,0 L50,100 Z"/></svg>');
    background-size: cover;
}

.testimonials-section .section-title {
    color: var(--primary-light);
}

.testimonials-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-round);
    overflow: hidden;
    border: 3px solid var(--accent-gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.125rem;
    margin: 0;
    color: var(--primary-light);
}

.author-location {
    color: var(--accent-gold);
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #d32f2f 100%);
    color: var(--primary-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><circle cx="50" cy="50" r="40"/></svg>');
    background-size: cover;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content .section-title {
    color: var(--primary-light);
    margin-bottom: var(--space-md);
}

.cta-content .section-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--primary-dark);
    color: var(--primary-light);
    padding: var(--space-xxl) 0 var(--space-lg);
    position: relative;
}

.footer-top {
    margin-bottom: var(--space-xl);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.footer-column h4 {
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.contact-info i {
    color: var(--accent-gold);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 992px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .brand-story-content {
        padding-right: 0;
    }
    
    .nav-menu {
        gap: var(--space-md);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header */
    .header-inner {
        flex-wrap: wrap;
    }
    
    .site-branding {
        order: 1;
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .main-navigation {
        order: 3;
        flex: 0 0 100%;
        margin-top: 1rem;
    }
    
    .header-actions {
        order: 2;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.75rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}