/*
Theme Name: AaCovers
Theme URI: https://aacovers.in
Author: AaCovers Team
Author URI: https://aacovers.in
Description: Premium WordPress theme for AaCovers.in - Mobile back cover e-commerce store with WooCommerce support. Modern, vibrant design optimized for selling phone cases.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aacovers
Tags: e-commerce, woocommerce, mobile-covers, aacovers, modern
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FF3366;
    --secondary: #6C63FF;
    --dark: #1A1A2E;
    --light: #FFFFFF;
    --accent: #00D9FF;
    --warning: #FFD166;
    --success: #06FFA5;
    --gray-light: #F8F9FA;
    --gray: #E9ECEF;
    --gray-dark: #6C757D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 90px; /* Space for fixed header */
}

/* Top Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 0.75rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1001;
}

.announcement-bar a {
    color: var(--light);
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.75rem 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-transform: uppercase;
}

.site-tagline {
    font-size: 0.7rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.main-navigation {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--primary);
}

.cart-btn {
    position: relative;
    background: var(--dark);
    color: var(--light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.cart-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.3);
}

.cart-count {
    background: var(--accent);
    color: var(--dark);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
}

/* Hero Section */
.hero-section {
    padding: 5rem 3rem;
    background: linear-gradient(135deg, #FFE5EC 0%, #E5E5FF 100%);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.15) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: var(--light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.8s ease-out;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    animation: slideInUp 0.8s ease-out;
    position: relative;
    z-index: 10;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
    position: relative;
    z-index: 10;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.4s backwards;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 51, 102, 0.4);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--light);
    transform: translateY(-3px);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Indicators */
.trust-section {
    padding: 3rem 3rem;
    background: var(--light);
    border-bottom: 1px solid var(--gray);
}

.trust-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-icon {
    font-size: 2.5rem;
}

.trust-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* Product Section Header */
.products-header {
    padding: 4rem 3rem 2rem;
    text-align: center;
}

.products-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.products-header p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* WooCommerce Product Styling */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem 5rem;
}

.woocommerce ul.products li.product {
    background: var(--light);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 1.25rem 1.5rem 0.5rem;
    color: var(--dark);
}

.woocommerce ul.products li.product .price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0 1.5rem 1rem;
}

.woocommerce ul.products li.product .price del {
    color: var(--gray-dark);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product .button {
    background: var(--dark);
    color: var(--light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 0 1.5rem 1.5rem;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3);
}

/* Features Banner */
.features-banner {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 3rem;
    margin: 3rem 0 0;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 3rem;
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--gray-light);
    padding: 4rem 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p,
.footer-section a {
    color: var(--gray-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid var(--gray);
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .site-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 3rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem 4rem;
    }
    
    .site-footer {
        padding: 3rem 1.5rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .products-header h2 {
        font-size: 2.5rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Category Filter Styling */
.product-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 3rem;
    background: var(--gray-light);
}

.product-categories a {
    background: var(--light);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--gray);
}

.product-categories a:hover,
.product-categories a.current {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    transform: translateY(-2px);
}
