/*
Theme Name: Wikac Sleep Technology
Theme URI: https://wikac.com
Description: A modern WordPress theme for Wikac Sleep Technology products.
Author: Your Name
Author URI: https://yourwebsite.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wikac
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.btn-secondary:hover {
    background-color: #f0f0ff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Dark Header Styles */
.header.dark-header {
    background-color: #1a1a2e;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Logo Styles */
.logo h2 {
    color: #4f46e5;
    font-size: 1.8rem;
    margin: 0;
}

/* Left Logo with Image */
.logo.logo-left {
    margin-right: auto;
}

.logo-image {
    width: 15vw;
    max-width: 180px;
    height: auto;
    display: block;
}

/* Dark Header Link Styles */
.header.dark-header .nav ul li a {
    color: white;
}

.header.dark-header .nav ul li a:hover,
.header.dark-header .nav ul li a.active {
    color: #4f46e5;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav {
    width: 50vw;
}

.nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 100%;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #4f46e5;
    background-color: #f0f0ff;
}

/* Header CTA styles removed as the button has been removed */

/* Hero Section */
.hero {
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rating {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: white;
}

.benefits .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #4f46e5;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f9fafb;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial .stars {
    margin-bottom: 20px;
}

.customer {
    margin-top: 20px;
    font-weight: 600;
    color: #4f46e5;
}

/* Order Section */
.order {
    padding: 80px 0;
    background-color: #4f46e5;
    color: white;
}

.order-content {
    text-align: center;
}

.price {
    margin: 30px 0;
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    margin-right: 10px;
    opacity: 0.8;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.order-benefits {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.order-benefits li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-price {
    margin: 15px 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
}

/* Product Detail Section */
.product-detail {
    padding: 80px 0;
    background-color: white;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 10px;
}

.product-features {
    margin: 30px 0;
}

.product-features ul {
    padding-left: 20px;
}

.product-features li {
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Product Specifications */
.product-specs {
    padding: 50px 0;
    background-color: #f9fafb;
}

.specs-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spec-row {
    padding: 15px;
    background-color: white;
    border-radius: 5px;
}

.spec-name {
    font-weight: 600;
}

/* Support Navigation */
.support-nav {
    padding: 80px 0;
    background-color: white;
}

.support-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-card {
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #4f46e5;
}

.support-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method h3 {
    color: #4f46e5;
}

.contact-form {
    background-color: #f9fafb;
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

/* Animation */
.benefit-card, .feature-item, .step, .testimonial, .product-card, .support-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .product-detail-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav ul li {
        margin: 0 10px;
        margin-bottom: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .product-actions {
        flex-direction: column;
    }
}