/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    background: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
}

/* Page Container Layout */
.page-container {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 150px;
}

/* Sidebar Styles */
.sidebar {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Left Sidebar - Featured Products */
.featured-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Right Sidebar - Support Info */
.support-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-info p {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.9rem;
}

.support-info i {
    color: #333;
    width: 20px;
}

/* Main Content Styles */
.main-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Updated Buying Steps */
.buying-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

.step-content h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-methods {
    font-size: 0.9rem;
}

/* Shipping Note */
.shipping-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.shipping-note h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.bank-account-title {
    font-size: 22px !important;
}

/* Bank Information Styles */
.bank-info-section {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bank-info-title {
    color: #343a40;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
}

.bank-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bank-info-item {
    color: #495057;
    font-size: 1.1rem;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

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

.shipping-note {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.bank-account-title {
    margin-bottom: 15px;
}

/* Payment Information Section */
.payment-info-section {
    background-color: #ffe6e6;
    border: 2px solid #ffcccc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.payment-info-title {
    color: #343a40;
    font-size: 25px !important;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0px;
}

.payment-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-info-item {
    color: #495057;
    font-size: 18px;
    padding: 10px 0;
    text-align: center;
    margin-bottom: -10px;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .page-container {
        grid-template-columns: 200px 1fr 200px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .page-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 20px;
    }
}

/* Main Content Styles */
main {
    padding-top: 132px;
}

/* Index Page Styles */
.index-page .hero {
    width: 100%;
    height: 800px;
    padding-top: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.index-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 245, 245, 0.50);
}

.index-page .hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.index-page .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 10px;
}

.index-page .cta-button {
    padding: 11px 25px;
    font-size: 18px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3sease;
}

.index-page .cta-button:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Text Section */
.text-section {
    width: 100%;
    padding: 70px 0;
    text-align: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.text-section h1 {
    font-size: 20px;
    letter-spacing: 20px;
    color: #333;
    position: relative;
    padding: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.corner-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(51, 51, 51, 0.2);
    transition: all 1.2s ease;
}

.text-section.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    margin-top: 25px;
}

.text-section.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-section.animate h1 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    transition-delay: 0.3s;
}

.text-section.animate.visible h1 {
    opacity: 1;
    transform: translateY(0);
}

.corner-decoration {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.text-section.animate.visible .corner-decoration {
    opacity: 1;
    transform: scale(1);
}

.corner-decoration.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    transition-delay: 0.6s;
}

.corner-decoration.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    transition-delay: 0.8s;
}

.corner-decoration.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
    transition-delay: 1s;
}

.corner-decoration.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
    transition-delay: 1.2s;
}

.text-section:hover .corner-decoration {
    width: 50px;
    height: 50px;
    border-color: rgba(51, 51, 51, 0.3);
}

/* About Section 2 Styles */
.about-section-2 {
    padding: 80px 0;
    padding-top: 150px;
    background-color: #fff;
}

.about-content-2 {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 25px;
    padding: 0 20px;
    min-height: calc(100vh - 300px);
}

.about-images {
    flex: 1;
    display: flex;
    gap: 30px;
    position: relative;
    align-items: flex-start;
}

.img_about1, .img_about1_1 {
    width: 48%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
}

.img_about1 {
    margin-top: 21px;
}

.img_about1_1 {
    margin-top: 140px;
}

.img_about2, .img_about2_2 {
    width: 48%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
}

.img_about2 {
    margin-top: 21px;
}

.img_about2_2 {
    margin-top: 140px;
}

.about-text-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-title-2 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.quote-1, .quote-2 {
    font-style: italic;
    color: #666;
    font-size: 1.2em;
}

.description-text, .mission-text {
    font-size: 1em;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content-2 {
        flex-direction: column;
    }
    
    .about-images {
        flex-direction: column;
    }
    
    .img_about1, .img_about1_1, .img_about2, .img_about2_2 {
        width: 100%;
        margin-top: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section-2 {
        padding: 40px 20px;
    }

    .about-content-2 {
        flex-direction: column;
    }

    .about-images {
        flex-direction: column;
        gap: 20px;
    }

    .img_about2, .img_about2_2 {
        width: 100%;
        height: 400px;
        margin-top: 0;
    }

    .about-text-2 {
        margin-top: 30px;
    }

    .main-title-2 {
        font-size: 1.8em;
    }

    .quote-1, .quote-2 {
        font-size: 1.1em;
    }

    .description-text, .mission-text {
        font-size: 0.95em;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 5px;
    }

    .logo {
        margin-left: 10px;
    }

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

    .nav-container {
        flex-direction: column;
        align-items: flex-end;
    }

    .nav-links {
        gap: 1rem;
        margin-right: 10px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .social-icons {
        margin: 5px 10px;
        gap: 8px;
    }

    .social-icon {
        font-size: 16px;
        width: 28px;
        height: 28px;
    }

    .hero {
        margin-top: 100px;
        height: calc(100vh - 100px);
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        margin: -10px auto;
        padding: 15px;
    }

    .footer-info {
        padding-left: 10px;
    }

    .footer-info h1 {
        font-size: 12px;
        margin: -2px -20px;
    }

    .footer-info h1:first-child {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .logo img {
        max-height: 60px;
    }

    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 12px;
    }

    .social-icons {
        gap: 6px;
    }

    .social-icon {
        font-size: 14px;
        width: 24px;
        height: 24px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .footer-info h1 {
        font-size: 11px;
    }
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 15px 0;
    width: 100%;
    margin-top: 30px;
    position: relative;
    bottom: 0;
}

.footer-content {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.footer-info {
    text-align: left;
    padding-left: 20px;
}

.footer-info h1 {
    font-size: 13px;
    margin: 5px 0;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.footer-info h1:first-child {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.social-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #888;
}

.designer-credit {
    position: absolute;
    right: 20px;
    bottom: 0px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3sease;
}

.designer-credit:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Shop Page Styles */
.shop-page {
    background-color: #fff;
}

.shop-container {
    display: flex;
    max-width: 1200px;
    margin: 0px auto;
    padding: 153px 200px 1000px;
    gap: 30px;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.brand-filter h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.brand-filter ul {
    list-style: none;
    padding: 0;
}

.brand-filter li {
    margin-bottom: 15px;
}

.brand-filter a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.brand-filter span {
    color: #999;
}

/* Product Section Styles */
.product-section {
    flex: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.product-header p {
    color: #666;
    font-size: 14px;
}

.sorting {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-item {
    text-align: center;
}

.product-image {
    aspect-ratio: 1;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

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

.product-title {
    font-size: 14px;
    margin: 10px 0;
    color: #333;
}

.product-price {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-header {
        flex-direction: column;
        gap: 15px;
    }
}

/* How to Buy Page Styles */
.how-to-buy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
}

.buying-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.step-content h2 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.5rem;
}

.contact-methods {
    list-style: none;
    margin-top: 15px;
}

.contact-methods li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-methods a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-methods a:hover {
    color: #666;
}

.shipping-note {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
}

.shipping-note h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.shipping-note ul {
    list-style: none;
    padding: 0;
}

.shipping-note li {
    margin-bottom: 10px;
    padding-left: 20px;
    text-align: center;
    font-size: 18px;
}

.shipping-note li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

/* Responsive styles for How to Buy page */
@media (max-width: 768px) {
    .how-to-buy-container {
        padding: 20px;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .step {
        flex-direction: column;
        padding: 20px;
    }

    .step-number {
        margin-bottom: 10px;
    }

    .shipping-note {
        padding: 20px;
    }
}

/*model trang home*/
.model {
    height: 100%;
    width: 100%;
    padding: 0px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 25px;
    align-items: start;
}

.left-column, .right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.right-column {
    margin-top: 0;
}

.image-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.image-container div {
    width: 100%;
    overflow: visible;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 0;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.2);
}

.kubo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 10px 0;
    margin-top: -32px;
    overflow: hidden;
}

.kubo-row {
    width: 100%;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.kubo-row div {
    width: calc(50% - 10px);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 0;
}

.kubo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.kubo:hover {
    transform: scale(1.2);
}

.right-column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.right-column img:hover {
    transform: scale(1.05);
}

/* Responsive cho model */
@media (max-width: 768px) {
    .model {
        grid-template-columns: 1fr;
    }
}

/* CH Container Styles */
.ch-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.ch-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

.ch {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.ch1 {
    min-height: 500px;
    max-height: 70vh;
    object-fit: cover;
}

.ch2 {
    min-height: 400px;
    object-fit: cover;
}

.ch:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Desktop Styles */
@media screen and (min-width: 769px) {
    /* Navbar Styles */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5.5px 8px;
        background-color: #fff;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        height: 130px;
    }

    .logo {
        display: flex;
        align-items: center;
        margin-left: 40px;
        height: 100%;
    }

    .logo img {
        max-height: 93px;
        width: auto;
        object-fit: contain;
        display: flex;
        margin-left: -30px;
    }

    .nav-container {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: flex-start;
        margin-left: 245px;
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 6rem;
        margin-right: auto;
    }

    .nav-links a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .nav-links a:hover {
        color: #666;
    }

    .social-icons {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: 40px;
        margin-left: 40px;
    }

    .social-icon {
        text-decoration: none;
        color: #333;
        font-size: 20px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #f5f5f5;
        transition: all 0.3s ease;
    }

    .social-icon:hover {
        color: #666;
        transform: translateY(-2px);
    }

    .language-toggle {
        background-color: transparent;
        cursor: pointer;
        border: 2px solid #000;
        color: #000;
        padding: 6px 12px;
        border-radius: 20px;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        margin-left: 10px;
    }

    .social-icons-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .social-icons {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .social-icon {
        color: black;
        font-size: 1.2rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .social-icon:hover {
        color: #fff;
        transform: translateY(-3px);
    }

    .social-icon:nth-child(1):hover {
        background-color: #1877f2;
    }

    .social-icon:nth-child(2):hover {
        background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    }

    .social-icon:nth-child(3):hover {
        background-color: #000000;
    }

    .social-icon:nth-child(4):hover {
        background-color: #25D366;
    }

    .language-toggle {
        margin-left: 1rem;
        padding: 0.5rem 1rem;
        background-color: transparent;
        border: 1px solid black;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .language-toggle:hover {
        background-color: #000;
        color: #fff;
    }
}