/* 
 * Main Stylesheet for Takshya Creations
 * 
 * This file contains all the main styling for the frontend of the website.
 */

/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333333;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

.btn-primary:hover {
    background-color: #7d32a1;
    border-color: #7d32a1;
}

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

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

.section-title {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== HEADER STYLES ===== */
.site-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--light-color);
    padding: 10px 0;
    font-size: 14px;
}

.welcome-text {
    color: var(--text-color);
}

.currency-toggle {
    display: flex;
    align-items: center;
}

.currency-toggle .form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.currency-npr, .currency-usd {
    padding: 0 5px;
    opacity: 0.5;
}

.currency-npr.active, .currency-usd.active {
    opacity: 1;
    font-weight: 600;
}

.account-link, .cart-link {
    color: var(--text-color);
    font-size: 14px;
}

.account-link:hover, .cart-link:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopping-cart {
    position: relative;
}

.main-header {
    padding: 15px 0;
    background-color: #ffffff;
}

.logo img {
    max-height: 60px;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    display: block;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

.dropdown-menu {
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero-section {
  width: 100vw;             /* Full viewport width */
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  background: #f8f8f8;
}
.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-button {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ===== PRODUCT STYLES ===== */
.product-card {
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

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

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

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-button {
    background-color: transparent;
    border: none;
    color: white;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.product-price .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
    margin: 60px 0;
}

.product-gallery {
    position: relative;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
}

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

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    padding: 2px;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.product-info-detail h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-meta {
    margin-bottom: 20px;
}

.product-meta span {
    display: block;
    margin-bottom: 5px;
}

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

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

.option-label {
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.size-options, .color-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.size-option, .color-option {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.size-option.active, .color-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.color-option {
    border-radius: 50%;
}

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

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin: 0 5px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-share {
    display: flex;
    align-items: center;
}

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

.share-links a {
    margin-right: 10px;
    font-size: 18px;
}

/* ===== CART PAGE ===== */
.cart-page {
    margin: 60px 0;
}

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

.cart-table th {
    background-color: var(--light-color);
    padding: 15px;
    text-align: left;
    font-weight: 500;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-product-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

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

.cart-product-info h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-product-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

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

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

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

.cart-remove {
    color: var(--danger-color);
    cursor: pointer;
}

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

.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.summary-label {
    font-weight: 500;
}

.summary-total {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 20px;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page {
    margin: 60px 0;
}

.checkout-steps {
    display: flex;
    margin-bottom: 40px;
}

.checkout-step {
    flex: 1;
    text-align: center;
    padding: 15px;
    background-color: var(--light-color);
    position: relative;
}

.checkout-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.checkout-step.active {
    background-color: var(--primary-color);
    color: white;
}

.checkout-step.active:not(:last-child):after {
    background-color: var(--primary-color);
}

.checkout-form-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.form-check {
    margin-bottom: 15px;
}

.shipping-method {
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    cursor: pointer;
}

.shipping-method.active {
    border-color: var(--primary-color);
    background-color: rgba(142, 68, 173, 0.05);
}

.shipping-method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shipping-method-title {
    font-weight: 500;
}

.shipping-method-price {
    font-weight: 600;
    color: var(--primary-color);
}

.payment-method {
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    cursor: pointer;
}

.payment-method.active {
    border-color: var(--primary-color);
    background-color: rgba(142, 68, 173, 0.05);
}

.payment-method-title {
    font-weight: 500;
}

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

.order-summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.order-summary-products {
    margin-bottom: 20px;
}

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

.order-product-name {
    flex: 1;
}

.order-product-quantity {
    margin: 0 15px;
}

.order-product-price {
    font-weight: 500;
}

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

.order-summary-label {
    font-weight: 500;
}

.order-total {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 20px;
}

/* ===== USER ACCOUNT ===== */
.account-page {
    margin: 60px 0;
}

.account-sidebar {
    background-color: var(--light-color);
    padding: 30px;
}

.account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu-item {
    margin-bottom: 10px;
}

.account-menu-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    border-left: 3px solid transparent;
}

.account-menu-link:hover, .account-menu-link.active {
    background-color: #ffffff;
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.account-content {
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.account-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

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

.info-group {
    margin-bottom: 15px;
}

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

.info-value {
    color: #666;
}

.order-card {
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.order-header {
    background-color: var(--light-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-id {
    font-weight: 500;
}

.order-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.pending {
    background-color: var(--warning-color);
    color: #856404;
}

.order-status.processing {
    background-color: var(--info-color);
    color: #0c5460;
}

.order-status.shipped {
    background-color: var(--primary-color);
    color: white;
}

.order-status.delivered {
    background-color: var(--success-color);
    color: white;
}

.order-status.cancelled {
    background-color: var(--danger-color);
    color: white;
}

.order-body {
    padding: 15px;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.order-meta-item {
    margin-right: 30px;
    margin-bottom: 10px;
}

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

.order-meta-value {
    color: #666;
}

.order-products {
    margin-bottom: 15px;
}

.order-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.message-card {
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.message-header {
    background-color: var(--light-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-subject {
    font-weight: 500;
}

.message-date {
    color: #666;
    font-size: 14px;
}

.message-body {
    padding: 15px;
}

.message-text {
    margin-bottom: 15px;
}

.message-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background-color: var(--dark-color);
    color: #ffffff;
    padding-top: 60px;
}

.footer-top {
    padding-bottom: 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: #ffffff;
    opacity: 0.8;
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 10px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.copyright {
    margin: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .product-image img {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }
    
    .hero-section {
        height: 300px;
        margin-bottom: 40px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .product-image img {
        height: 200px;
    }
    
    .checkout-steps {
        flex-direction: column;
    }
    
    .checkout-step {
        margin-bottom: 10px;
    }
    
    .checkout-step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 575px) {
    .product-image img {
        height: 180px;
    }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }
    
    .cart-product {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-product-image {
        margin-bottom: 10px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status {
        margin-top: 10px;
    }
}
/* Parent wrapper for carousel images */
.banner-container,
.carousel-inner {
  width: 100vw;             /* Full viewport width */
  max-width: 100vw;
  min-width: 100vw;
}

.carousel-item img {
  width: 100vw;
  height: 500px;            /* Or your desired height */
  object-fit: cover;
  display: block;
  background: #f8f8f8;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 300px;
  }
}








