@charset "UTF-8";

/* 
  Main Stylesheet for Grace Pariser Human Resources Document Shop
  Author: Grace Pariser
  Description: Styles for HR Document Shop
*/

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

/* Global Styles */
:root {
    --accent: #FF1493;
    --accent-dark: #CC0A75; /* Darker version of #FF1493 for hover states */
    --dark: #293241;
    --light: #ffffff;
    --grey: #f8f9fa;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent !important; /* Remove tap highlight completely */
}

a:hover, a:active, a:focus {
    color: var(--accent-dark);
    outline: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent);
    color: var(--light) !important;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
    outline: none;
}

.btn:hover {
    background-color: var(--accent-dark);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.15);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: rgba(255, 20, 147, 0.2);
    color: var(--dark);
}

/* Header */
header {
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    border: none !important;
}

/* Logo Row */
.logo-row {
    padding: 20px 0 10px;
    border-bottom: none !important;
}

/* Navigation Row */
.nav-row {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: none !important;
}

.logo-container {
    padding: 0 10px;
}

.logo {
    max-width: 600px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--light) !important;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent) !important;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
    bottom: 0;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--grey);
}

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

.section-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

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

.features-grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.1);
}

.feature-card p {
    flex-grow: 1;
    margin-bottom: 10px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--light);
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Search and Filter Styles */
.search-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 30px 0;
}

/* Search Bar */
.search-bar {
    flex: 1;
    min-width: 300px;
}

.search-input-container {
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    padding-right: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    color: var(--accent);
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--grey);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark);
}

.remove-filter {
    margin-left: 8px;
    font-size: 1.2rem;
    color: #666;
    transition: var(--transition);
}

.remove-filter:hover {
    color: #dc3545;
}

.clear-all-filters {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark);
    background-color: var(--grey);
    margin-left: auto;
    transition: var(--transition);
}

.clear-all-filters:hover {
    background-color: #eaeaea;
    color: #dc3545;
}

/* Category Filter */
.category-filter {
    flex: 0 0 auto;
    min-width: 300px;
}

.filter-header {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark);
}

.filter-dropdown select {
    width: 100%;
    max-width: 300px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    transition: var(--transition);
}

.filter-dropdown select:hover {
    border-color: var(--accent);
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

/* Product Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 0;
    background-color: var(--grey);
    border-radius: 15px;
    margin: 30px 0;
}

.no-results h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.no-results p {
    font-size: 1rem;
    color: #555;
    max-width: 500px;
    margin: 0 auto;
}

.product {
    background-color: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.1);
}

.product-img,
.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    display: block;
}

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    display: inline-block;
    background-color: var(--accent);
    color: var(--light);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.product-category a {
    color: var(--light);
}

.product-category a:hover {
    color: var(--light);
    text-decoration: underline;
}

.product h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.product p {
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.product .btn {
    width: 100%;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 50px 0;
}

.product-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-type {
    display: inline-block;
    background-color: var(--grey);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.product-description {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.bundle-contents {
    background-color: var(--grey);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.bundle-contents h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bundle-contents ul {
    list-style: none;
}

.bundle-contents li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.bundle-contents li:last-child {
    border-bottom: none;
}

.bundle-savings {
    font-weight: 700;
    color: var(--accent);
    margin-top: 15px;
}

.add-to-cart .btn {
    width: 100%;
}

/* Cart Page */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.cart-table th, .cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-table th {
    background-color: var(--grey);
    color: var(--dark);
    font-weight: 600;
}

.cart-total {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
}

.empty-cart h2 {
    margin-bottom: 20px;
    color: var(--dark);
}

.empty-cart p {
    margin-bottom: 30px;
    color: #555;
}

/* Form Styles */
.form-container {
    background-color: var(--light);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 500px;
    margin: 50px auto;
}

.form-container h2 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.form-btn {
    width: 100%;
    margin-top: 10px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.alert ul {
    list-style: disc;
    padding-left: 20px;
}

/* Account Page */
.account-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    margin: 50px 0;
}

.account-sidebar {
    background-color: var(--grey);
    padding: 30px;
    border-radius: 15px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.account-sidebar h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.account-sidebar ul li {
    margin-bottom: 10px;
}

.account-sidebar a {
    display: block;
    padding: 10px;
    border-radius: 5px;
    color: #555;
    transition: var(--transition);
}

.account-sidebar a:hover,
.account-sidebar a.active {
    background-color: var(--light);
    color: var(--accent);
}

.account-content {
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.account-content h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    color: var(--dark);
}

.user-info {
    margin-bottom: 30px;
}

.user-info p {
    margin-bottom: 10px;
    color: #555;
}

.account-section {
    min-height: 300px;
}

/* Order Confirmation */
.confirmation-container {
    background-color: var(--light);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 800px;
    margin: 50px auto;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-header h2 {
    color: var(--accent);
    margin-bottom: 10px;
}

.order-details {
    background-color: var(--grey);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.order-details h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.order-details .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.order-details .row:last-child {
    border-bottom: none;
}

.order-items table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.order-items th, .order-items td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.order-items th {
    background-color: var(--grey);
    color: var(--dark);
}

.next-steps {
    text-align: center;
    margin-top: 30px;
}

/* Error Pages */
.error-container {
    text-align: center;
    padding: 100px 0;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.error-message {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.error-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent) !important;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-policy-link {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-policy-link:hover {
    color: var(--accent) !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .account-container {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .products {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .features-grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .cart-table th:nth-child(3), 
    .cart-table td:nth-child(3) {
        display: none;
    }
    
    .nav-row {
        padding: 5px 0;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .features-grid-3x2 {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .product-detail {
        gap: 20px;
    }
    
    .product h3 {
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 10px;
    }
}