/* Base */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #3b82f6;
    --accent-dark: #1d4ed8;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-dark: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --border-radius: 0.375rem;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--gray-dark);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 1px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: white;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card .icon {
    background-color: var(--primary-light);
    color: white;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.benefit-card .icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cta {
    text-align: center;
}

/* About Products Section */
.about-products {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

.about-content {
    margin-bottom: 2.5rem;
}

.unique-features, .quality-assurance {
    margin-top: 2.5rem;
}

.unique-features h3, .quality-assurance h3 {
    margin-bottom: 1rem;
}

.unique-features ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Products Section */
.products {
    padding: 5rem 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--primary);  /* Custom border for images */
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

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

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.product-card p {
    padding: 0 1.5rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.product-card .price {
    padding: 0 1.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-card .actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.product-card .actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Unique Insight Box */
.unique-insight-box {
    background-color: #f1f5f9;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: var(--box-shadow);
}

.unique-insight-box h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.unique-insight-box ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.unique-insight-box ul li {
    margin-bottom: 0.75rem;
}

.unique-insight-box ul li:last-child {
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* About Us Page */
.about-us {
    padding: 5rem 0;
}

.about-info {
    margin-bottom: 4rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission, .vision {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card .icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary);  /* Custom border for team images */
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--gray);
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-item .icon {
    color: var(--primary);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-item h3 {
    margin-bottom: 0.5rem;
}

.social-contacts {
    margin-top: 3rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.social-icons a .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-form-container {
    background-color: #f8fafc;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
}

.form-submit {
    text-align: right;
}

.full-width {
    grid-column: 1 / -1;
}

/* Product Details Page */
.product-details {
    padding: 5rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray);
}

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

.product-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.in-stock {
    color: var(--success);
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
}

.tax-note {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--gray);
    margin-left: 0.5rem;
}

.product-short-description {
    margin-bottom: 2rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-description {
    margin-bottom: 3rem;
}

.product-tabs {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tab-content {
    padding: 2rem;
}

.specs-table {
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 2rem 0;
}

.specs-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid var(--gray-light);
}

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

.specs-cell {
    padding: 1rem;
}

.specs-cell:first-child {
    background-color: #f1f5f9;
    font-weight: 500;
    border-right: 1px solid var(--gray-light);
}

.product-related h2 {
    margin-bottom: 2rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Cart Page */
.cart-section {
    padding: 5rem 0;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
}

.empty-cart-message .icon {
    width: 4rem;
    height: 4rem;
    color: var(--gray);
    margin: 0 auto 1.5rem;
}

.cart-table {
    width: 100%;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    background-color: #f1f5f9;
    padding: 1rem;
    font-weight: 500;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--gray-light);
}

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

.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details h3 {
    margin-bottom: 0.25rem;
}

.item-price, .item-total {
    font-weight: 500;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input {
    width: 60px;
    padding: 0.25rem 0.5rem;
    text-align: center;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
}

.remove-item {
    color: var(--error);
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.cart-summary {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.25rem;
    border-top: 1px solid var(--gray-light);
    border-bottom: none;
}

.summary-note {
    margin: 1.5rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.cart-actions {
    display: flex;
    gap: 1rem;
}

/* Checkout Page */
.checkout-section {
    padding: 5rem 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkout-summary {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    align-self: flex-start;
}

.checkout-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.checkout-item:last-child {
    margin-bottom: 2rem;
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-details h4 {
    margin-bottom: 0.25rem;
}

.checkout-item-quantity-price {
    color: var(--gray);
    font-size: 0.9rem;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.checkout-total-row.total {
    font-weight: bold;
    font-size: 1.25rem;
    border-top: 1px solid var(--gray-light);
    border-bottom: none;
}

.checkout-note {
    margin-top: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Success Page */
.success-section {
    padding: 5rem 0;
    text-align: center;
}

.success-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon svg {
    width: 3rem;
    height: 3rem;
}

.next-steps {
    margin: 2rem 0;
    text-align: left;
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.next-steps ol {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.success-actions {
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

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

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--gray-light);
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info li .icon {
    color: var(--primary-light);
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
}

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

.footer-bottom p {
    margin-bottom: 0;
    color: var(--gray-light);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.95);
    color: white;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.cookie-content h3 {
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cart-header, .cart-item {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .cart-column.product-price, .cart-column.product-remove {
        display: none;
    }
    
    .form-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    nav ul {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cart-header, .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-header {
        display: none;
    }
}
