/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles */
.header {
    background-color: #131921;
    color: white;
    padding: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    text-transform: lowercase;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-btn {
    padding: 10px 20px;
    background-color: #febd69;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.search-btn:hover {
    background-color: #f3a847;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-link, .account-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.account-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-count {
    background-color: #f08804;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Navigation */
.nav {
    background-color: #232f3e;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background-color: #37475a;
    border-color: #485769;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: linear-gradient(135deg, #f0c14b 0%, #f3a847 100%);
    color: #131921;
    font-weight: 600;
    border-color: #f0c14b;
    box-shadow: 0 2px 6px rgba(240, 193, 75, 0.3);
}

.nav-link.active:hover {
    background: linear-gradient(135deg, #f3a847 0%, #f0c14b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(240, 193, 75, 0.4);
}

/* Main Content */
.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #131921 0%, #232f3e 50%, #37475a 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 193, 75, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f0c14b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 22px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

/* Products Section */
.products-section {
    margin-top: 40px;
}

.products-section h2 {
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    color: #131921;
    position: relative;
    padding-bottom: 15px;
}

.products-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f0c14b 0%, #f3a847 100%);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #0066c0;
}

.product-card .price {
    font-size: 20px;
    font-weight: bold;
    color: #b12704;
}

.product-card .rating {
    margin: 8px 0;
    color: #f0c14b;
}

/* Product Detail Page */
.product-detail {
    padding: 20px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb a {
    color: #0066c0;
    text-decoration: none;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.product-images .main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-images img:hover {
    border-color: #0066c0;
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #131921;
    line-height: 1.2;
}

.product-rating {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #f0c14b;
}

.product-price {
    font-size: 28px;
    font-weight: bold;
    color: #b12704;
    margin: 20px 0;
}

.product-description {
    margin: 20px 0;
    line-height: 1.8;
}

.product-actions {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.quantity-selector {
    margin-bottom: 15px;
}

.quantity-selector label {
    margin-right: 10px;
}

.quantity-selector select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #f0c14b;
    color: #111;
}

.btn-primary:hover {
    background-color: #f3a847;
}

.btn-secondary {
    background-color: #ff9900;
    color: white;
}

.btn-secondary:hover {
    background-color: #e68900;
}

.product-details {
    margin-top: 30px;
}

.product-details ul {
    list-style: none;
    padding-left: 0;
}

.product-details li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Page Titles */
.cart-page h1,
.checkout-page h1,
.product-detail h1,
.account-page h1 {
    font-size: 36px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.cart-page h1::after,
.checkout-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #f0c14b 0%, #f3a847 100%);
    border-radius: 2px;
}

/* Cart Page */
.cart-page h1 {
    margin-bottom: 30px;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin-bottom: 10px;
    color: #0066c0;
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
    color: #b12704;
    margin: 10px 0;
}

.cart-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.cart-item-actions select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.remove-btn {
    background: none;
    border: none;
    color: #0066c0;
    cursor: pointer;
    text-decoration: underline;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.cart-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h2 {
    margin-bottom: 20px;
}

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

.summary-row.total {
    font-size: 20px;
    font-weight: bold;
    border-top: 2px solid #333;
    margin-top: 10px;
    padding-top: 15px;
}

.btn-checkout {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 18px;
}

.btn-checkout:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Checkout Page */
.checkout-page h1 {
    margin-bottom: 30px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.checkout-section {
    margin-bottom: 40px;
}

.checkout-section h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

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

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.checkout-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.checkout-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.checkout-item-info {
    flex: 1;
}

.btn-place-order {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 18px;
}

/* Footer */
.footer {
    background-color: #232f3e;
    color: white;
    margin-top: 60px;
    padding: 40px 20px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #ddd;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1400px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #485769;
    text-align: center;
}

/* Info Pages Styles */
.info-page {
    padding: 40px 20px;
}

.info-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-container h1 {
    font-size: 36px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.info-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #f0c14b 0%, #f3a847 100%);
    border-radius: 2px;
}

.info-intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-section {
    margin-bottom: 40px;
}

.info-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #131921;
    margin-bottom: 15px;
    margin-top: 30px;
}

.info-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #131921;
    margin-bottom: 10px;
    margin-top: 20px;
}

.info-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.info-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.info-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    color: #333;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #f0c14b;
    font-weight: bold;
    font-size: 20px;
}

.info-list.ordered {
    list-style: decimal;
    padding-left: 25px;
}

.info-list.ordered li {
    padding-left: 10px;
    margin-bottom: 10px;
}

.info-list.ordered li::before {
    display: none;
}

.info-list a {
    color: #0066c0;
    text-decoration: none;
}

.info-list a:hover {
    text-decoration: underline;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 10px;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: #0066c0;
    margin-bottom: 10px;
}

.press-release {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.press-release:last-child {
    border-bottom: none;
}

.press-date {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
}

.job-listing {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.job-listing h3 {
    color: #131921;
    margin-bottom: 10px;
}

.job-listing p {
    margin-bottom: 8px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.benefit-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #f0c14b;
}

.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.benefit-item p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Account Page Styles */
.account-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.account-container {
    width: 100%;
    max-width: 450px;
}

.account-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.account-form-container h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #131921;
}

.form-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.account-form {
    width: 100%;
}

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

.account-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.account-form .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.account-form .form-group input:focus {
    outline: none;
    border-color: #f0c14b;
    box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.1);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: #0066c0;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    margin-bottom: 15px;
}

.form-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #666;
    font-size: 14px;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #ddd;
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.account-dashboard {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.dashboard-welcome {
    margin-bottom: 30px;
}

.dashboard-welcome p {
    margin-bottom: 10px;
    font-size: 18px;
}

.dashboard-welcome #userName {
    font-weight: bold;
    color: #131921;
}

.user-email {
    color: #666;
    font-size: 14px;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.dashboard-actions .btn {
    min-width: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        order: 3;
    }

    .search-bar {
        width: 100%;
        margin: 0;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .account-link span {
        font-size: 14px;
    }

    .cart-link span:first-child {
        display: none;
    }

    .nav {
        padding: 10px 15px;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .products-section h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .product-container {
        grid-template-columns: 1fr;
    }

    .cart-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .account-form-container {
        padding: 30px 20px;
    }

    .account-form-container h1 {
        font-size: 24px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .dashboard-actions .btn {
        width: 100%;
    }

    .info-container {
        padding: 25px 15px;
    }

    .info-container h1 {
        font-size: 28px;
    }

    .info-section h2 {
        font-size: 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 15px;
    }

    .account-link span {
        font-size: 12px;
    }

    .account-form-container {
        padding: 25px 15px;
    }
}
