/* Base Styles */
:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f9f9f9;
    --background-dark: #2c3e50;
    --border-color: #e0e0e0;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-color);
}

h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 12px;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
}

section h2:after {
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 15px;
}

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

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

ul {
    list-style: none;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Light effect on button hover */
.btn:hover {
    box-shadow: 0 0 15px var(--primary-color);
}

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

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

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

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

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

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

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

.cart-icon {
    position: relative;
}

.cart-icon span {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero h2:after {
    background-color: white;
    left: 50%;
    transform: translateX(-50%);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--background-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

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

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

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

.product-card h3 {
    padding: 15px 20px 0;
    font-size: 1.2rem;
}

.product-card p {
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-card .price {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    padding: 10px 20px;
}

.product-card .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: white;
}

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

.benefit {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit h3 {
    margin-bottom: 15px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

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

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

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

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.breadcrumb {
    margin-bottom: 30px;
    color: var(--text-light);
}

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

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

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.product-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: left;
}

.product-info h2:after {
    display: none;
}

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

.product-meta {
    background-color: var(--background-light);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.product-meta p {
    margin-bottom: 5px;
}

.product-description {
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.quantity-selector label {
    margin-right: 15px;
    font-weight: 500;
}

.quantity-selector input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions .btn {
    flex: 1;
}

/* Tabs */
.product-details-tabs {
    margin-bottom: 60px;
}

.tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -2px;
    left: 0;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

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

.tab-content ul li {
    margin-bottom: 10px;
}

.tab-content table {
    width: 100%;
    border-collapse: collapse;
}

.tab-content table th,
.tab-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.tab-content table th {
    background-color: var(--background-light);
    font-weight: 600;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background-color: var(--background-light);
}

/* Cart Page */
.cart-page {
    padding: 60px 0;
}

.cart-empty {
    text-align: center;
    padding: 60px 0;
    display: none;
}

.cart-empty i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-empty p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px 50px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-details h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.item-price {
    color: var(--text-light);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: var(--background-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantity-input {
    width: 50px;
    text-align: center;
    margin: 0 10px;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cart-item-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--error-color);
    font-size: 1.2rem;
}

.cart-summary {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

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

/* Checkout Page */
.checkout-page {
    padding: 60px 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.checkout-form h3,
.order-summary h3 {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.form-group.notes {
    margin-top: 30px;
}

.form-group.terms {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.form-group.terms input {
    width: auto;
    margin-right: 10px;
}

.form-group.terms label {
    margin-bottom: 0;
}

.form-actions {
    margin-top: 30px;
}

.order-summary {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

.checkout-items {
    margin-bottom: 30px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.checkout-item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 500;
}

.item-quantity {
    color: var(--text-light);
    font-size: 0.9rem;
}

.item-price {
    font-weight: 600;
}

.checkout-totals {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-row.grand-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

/* Success Page */
.success-page {
    padding: 80px 0;
    text-align: center;
}

.success-message i {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 30px;
}

.success-message h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.success-message p {
    max-width: 600px;
    margin: 0 auto 15px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.what-next {
    background-color: var(--background-light);
    padding: 80px 0;
}

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

.step {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

/* Contact Page */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-banner h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.2rem;
}

.page-banner h2:after {
    background-color: white;
    left: 50%;
    transform: translateX(-50%);
}

.contact-page {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-info h3 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
}

.social-connect {
    margin-top: 40px;
}

.social-connect h4 {
    margin-bottom: 20px;
}

.contact-form {
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 30px;
}

.form-group.privacy-consent {
    display: flex;
    align-items: center;
}

.form-group.privacy-consent input {
    width: auto;
    margin-right: 10px;
}

.form-group.privacy-consent label {
    margin-bottom: 0;
}

.form-success {
    text-align: center;
    display: none;
    padding: 40px 0;
}

.form-success i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.map-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e0e0e0;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* About Page */
.about-intro {
    padding: 80px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-content h2:after {
    left: 0;
    transform: none;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mission-vision {
    padding: 80px 0;
    background-color: var(--background-light);
}

.mission-vision-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-box,
.vision-box {
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.mission-box {
    background-color: white;
}

.vision-box {
    background-color: var(--background-dark);
    color: white;
}

.mission-box h2,
.vision-box h2 {
    text-align: left;
    margin-bottom: 20px;
}

.mission-box h2:after,
.vision-box h2:after {
    left: 0;
    transform: none;
}

.vision-box h2 {
    color: white;
}

.vision-box h2:after {
    background-color: white;
}

.core-values {
    padding: 80px 0;
}

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

.value-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
}

.team {
    padding: 80px 0;
    background-color: var(--background-light);
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 10px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.team-member .social-icons {
    justify-content: center;
    margin: 20px 0;
}

.achievements {
    padding: 80px 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.achievement {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: var(--background-light);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.partners {
    padding: 80px 0;
    background-color: var(--background-light);
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.partner-logo i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    display: none;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-dark);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

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

/* Responsive Styles */
@media (max-width: 991px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr 80px;
        row-gap: 15px;
    }
    
    .cart-item-quantity {
        grid-column: 2;
    }
    
    .cart-item-total {
        grid-column: 3;
    }
    
    .cart-item-remove {
        grid-column: 3;
        justify-self: end;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .product-grid,
    .benefits,
    .footer-content,
    .steps,
    .values-grid,
    .team-grid,
    .achievements-grid,
    .partners-logos {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
