/* 
    RetailNovaX Premium E-commerce Design System
    Colors: Royal Blue (#004aad), Slate Grey (#2c3e50), Amber (#ff9f0a)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-color: #004aad;
    --secondary-color: #2c3e50;
    --accent-color: #ff9f0a;
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Navbar */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 159, 10, 0.3);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 5%;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.2s ease;
}

/* Main Sections */
section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow);
}

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

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

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

/* Testimonials */
.testimonials {
    background: var(--gray-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info .name {
    font-weight: 700;
}

/* Form Styles */
.form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

button[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background: var(--accent-color);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 5% 40px;
}

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

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.footer-section p, .footer-section li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 50px;
    font-size: 0.85rem;
}

/* Policy Pages Content */
.policy-content {
    padding-top: 150px;
    max-width: 900px;
}

.policy-content h1 {
    margin-bottom: 30px;
}

.policy-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-content p {
    margin-bottom: 15px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
