:root {
    --primary: #D4AF37;
    --secondary: #FFFFFF;
    --text: #333333;
    --light-bg: #FFFDF5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--text);
    background-color: var(--secondary);
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--secondary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    margin-left: 30px;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: url('./Background3.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: var(--secondary);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    background-color: rgba(212, 175, 55, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.feature i {
    margin-right: 5px;
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--secondary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    cursor: pointer;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    margin-left: 15px;
}

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

/* About Section */
.section {
    padding: 100px 5%;
}

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

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    display: inline-block;
    position: relative;
}

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

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Products Section */
.products {
    background-color: var(--light-bg);
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-card {
    background-color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    width: 350px;
    transition: transform 0.3s;
    position: relative;
}

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

.product-img {
    height: 450px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    cursor: pointer;
}

.product-img img,
.product-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    background-color: #f5f5f5;
}

.product-card:hover .product-img img,
.product-card:hover .product-img video {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    color: white;
    font-size: 50px;
    opacity: 0.9;
    background: rgba(212, 175, 55, 0.9);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.product-img:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-img.playing .play-icon {
    opacity: 0.8;
    background: rgba(212, 175, 55, 0.8);
    transform: translate(-50%, -50%) scale(0.8);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary);
}

.product-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-specs {
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.spec-label {
    font-weight: 600;
}

.length-options {
    margin: 15px 0;
}

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

.length-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.length-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.lace-type {
    color: #777;
    font-size: 14px;
}

.add-to-cart-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background-color: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Lace Types Section */
.lace-types {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.lace-card {
    background-color: var(--secondary);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    width: 450px;
}

.lace-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.lace-card p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Policy Section */
.policy-section {
    background-color: var(--light-bg);
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    justify-content: center;
}

.policy-card {
    background-color: var(--secondary);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.policy-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.policy-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-card li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 450px;
    cursor: pointer;
    background-color: #f5f5f5;
    min-height: 300px;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    background-color: #f5f5f5;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(177, 160, 115, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 40px;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

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

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

.info-text p,
.info-text a {
    color: var(--text);
    text-decoration: none;
    line-height: 1.6;
}

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

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--secondary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #222;
    color: var(--secondary);
    padding: 60px 5% 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

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

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    transition: all 0.3s;
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin-bottom: 30px;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-menu-links a:hover {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .section {
        padding: 80px 5%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

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

    .btn {
        padding: 10px 20px;
    }

    .section-title h2 {
        font-size: 30px;
    }

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

    .about-img,
    .about-text {
        min-width: 100%;
    }

    .product-img video,
    .gallery-item video {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .play-icon {
        opacity: 0.9 !important;
        background: rgba(212, 175, 55, 0.9) !important;
        width: 60px;
        height: 60px;
        font-size: 40px;
    }

    .video-modal-content {
        width: 95%;
        max-width: 95%;
    }

    .product-img,
    .gallery-item {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .lace-card {
        width: 100%;
    }

    .video-modal-content {
        width: 95%;
    }
}

/* Order Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--secondary);
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
}

/* Confirmation */
.confirmation {
    text-align: center;
    display: none;
}

.confirmation-icon {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.confirmation h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.confirmation p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--secondary);
    z-index: 1003;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-modal.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h2 {
    color: var(--primary);
}

.cart-close {
    font-size: 24px;
    cursor: pointer;
}

.cart-items {
    padding: 20px;
}

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

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
}

.cart-item-img img,
.cart-item-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f5f5f5;
}

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-length {
    color: #777;
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 40px;
    height: 25px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.cart-item-remove {
    color: #ff6b6b;
    cursor: pointer;
    font-size: 14px;
}

.cart-summary {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.empty-cart i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #ddd;
}

/* Checkout Form */
.checkout-form {
    display: none;
    padding: 20px;
}

.checkout-form h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group-half {
    flex: 1;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Checkout Success */
.checkout-success {
    text-align: center;
    padding: 30px 20px;
    display: none;
}

.checkout-success i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ===== VIDEO STYLES ===== */
.product-img,
.gallery-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    border: 3px solid transparent;
}

.product-img:hover,
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border-color: var(--primary);
}

.product-img.playing,
.gallery-item.playing {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Video element styles */
.product-img video,
.gallery-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #f5f5f5;
    pointer-events: none;
}

/* Ensure videos load properly */
video[preload="metadata"] {
    background-color: #f5f5f5;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {

    .product-img video,
    .gallery-item video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Loading state for videos */
.product-img:not(.playing) video,
.gallery-item:not(.playing) video {
    background-color: #f5f5f5;
}