:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --card-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.7);
    --button-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Header Styles - Enhanced 3D */
header {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    transform-style: preserve-3d;
}

.logo {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.logo::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-10px);
    border-radius: 50%;
    pointer-events: none;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    transform: translateZ(30px);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo h1:hover {
    transform: translateZ(40px) scale(1.05);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    transform-style: preserve-3d;
}

.nav-links li {
    position: relative;
    transform-style: preserve-3d;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    display: inline-block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(52, 152, 219, 0.1),
        rgba(231, 76, 60, 0.1)
    );
    border-radius: 12px;
    top: 0;
    left: 0;
    transform: translateZ(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    transform: translateZ(20px);
    color: var(--accent-color);
}

.nav-links a:hover::before {
    opacity: 1;
    transform: translateZ(-5px);
}

.nav-links a.active {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Cart indicator */
.nav-links a[href="#cart"] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--button-shadow);
    padding: 0.8rem 1.5rem;
}

.nav-links a[href="#cart"]::after {
    content: '🛒';
    font-size: 1.2rem;
    transform: translateZ(5px);
}

.nav-links a[href="#cart"]:hover {
    transform: translateZ(25px);
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 4rem 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
    transform-style: preserve-3d;
}

.hero h2 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e2e2e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateZ(50px);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateZ(30px);
    animation: fadeInUp 1s ease 0.2s;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    transform: translateZ(40px);
    animation: fadeInUp 1.2s ease 0.4s;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.cta-button:first-child {
    background: linear-gradient(45deg, var(--secondary-color), #f39c12);
    color: white;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

.cta-button:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-images {
    flex: 1;
    display: flex;
    gap: 2rem;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.shoe-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.shoe-card:hover {
    transform: rotateY(-5deg) rotateX(5deg) translateZ(20px);
}

.shoe-card img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.5rem;
    color: white;
}

.card-category {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-price {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Products Section */
.products {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.8);
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-image:hover .quick-view {
    transform: translateY(0);
}

.new-badge, .sale-badge {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.new-badge {
    background: var(--accent-color);
    color: white;
}

.sale-badge {
    background: var(--secondary-color);
    color: white;
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.color-options {
    display: flex;
    gap: 0.5rem;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    transition: transform 0.3s ease;
}

.color-dot:hover {
    transform: scale(1.2);
}

.product-card h3 {
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-card h3:hover {
    color: var(--accent-color);
}

.product-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 1rem 0;
    transform: translateZ(10px);
}

.add-to-cart {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--button-shadow);
    transform: translateZ(20px);
    position: relative;
}

.add-to-cart:hover {
    background-color: #c0392b;
    transform: translateZ(30px) scale(1.05);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3), -6px -6px 12px rgba(255, 255, 255, 1);
}

.add-to-cart:active {
    transform: translateZ(10px) scale(0.95);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.7);
}

/* Footer Styles - Enhanced 3D */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    transform-style: preserve-3d;
}

.footer-section {
    transform-style: preserve-3d;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-section:hover {
    transform: translateZ(20px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    transform: translateZ(30px);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    transform: translateZ(15px);
    position: relative;
    padding-left: 1rem;
}

.footer-section p:hover {
    opacity: 1;
    transform: translateZ(25px);
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.footer-section p::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section p:hover::before {
    opacity: 1;
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(10px);
    position: relative;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateZ(20px);
    }
    50% {
        transform: translateY(-20px) translateZ(40px);
    }
}

@keyframes tiltEffect {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: rotateX(2deg) rotateY(2deg);
    }
    75% {
        transform: rotateX(-2deg) rotateY(-2deg);
    }
    100% {
        transform: rotateX(0deg) rotateY(0deg);
    }
}

/* Add this for the product cards */
.product-card {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 6rem 2rem 4rem;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-images {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .shoe-card {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-links a[href="#cart"] {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hero-images {
        flex-direction: column;
        align-items: center;
    }

    .shoe-card {
        transform: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .product-image img {
        height: 250px;
    }

    .product-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.1);
    }

    .quick-view {
        transform: translateY(0);
    }

    .footer-section {
        text-align: center;
        padding: 1rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section p {
        padding-left: 0;
    }

    .footer-section p::before {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Add smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Add perspective to the main container */
main {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
    transform-style: preserve-3d;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Cart Section Styles */
.cart-section {
    max-width: 1200px;
    margin: 120px auto 4rem;
    padding: 0 2rem;
}

.cart-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateZ(10px);
    background: rgba(255, 255, 255, 0.9);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--secondary-color);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: none;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.remove-item {
    color: var(--secondary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.remove-item:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    height: fit-content;
    transform-style: preserve-3d;
}

.cart-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.summary-item.total {
    border-top: 2px solid #eee;
    margin-top: 1rem;
    padding-top: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--secondary-color), #f39c12);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateZ(20px);
    margin-top: 1.5rem;
}

.checkout-btn:hover {
    transform: translateZ(30px) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-cart p {
    color: #666;
    margin-bottom: 1.5rem;
}

.return-to-shop {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.return-to-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item img {
        margin: 0 auto;
    }

    .cart-item-controls {
        justify-content: center;
    }
}

/* New Circular Gallery Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 30px;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

/* Circular Gallery Styles */
.product-gallery-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.main-image-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    border: 10px solid rgba(255, 255, 255, 0.1);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 50px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 70px rgba(var(--accent-color-rgb), 0.3); }
    100% { box-shadow: 0 0 50px rgba(0, 0, 0, 0.3); }
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image-circle:hover .main-product-image {
    transform: scale(1.1);
}

.circular-gallery {
    position: absolute;
    width: 600px;
    height: 600px;
    animation: rotate 60s linear infinite;
}

.gallery-item {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover {
    transform: scale(1.2);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-1 { transform: translate(250px, 0); }
.item-2 { transform: translate(175px, 175px); }
.item-3 { transform: translate(0, 250px); }
.item-4 { transform: translate(-175px, 175px); }

/* Product Info Panel */
.product-info-panel {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    color: white;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-price {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
    letter-spacing: 2px;
}

.product-description {
    color: #ccc;
    line-height: 1.8;
    margin: 2rem 0;
}

.size-options {
    display: flex;
    gap: 1rem;
    margin: 1rem 0 2rem;
}

.size-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--accent-color);
}

.qty-input {
    width: 60px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-align: center;
    padding: 0.5rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.add-to-cart-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
    .modal-content {
        grid-template-columns: 1fr;
        height: 95vh;
    }

    .main-image-circle {
        width: 300px;
        height: 300px;
    }

    .circular-gallery {
        width: 450px;
        height: 450px;
    }

    .gallery-item {
        width: 80px;
        height: 80px;
    }

    .item-1 { transform: translate(185px, 0); }
    .item-2 { transform: translate(130px, 130px); }
    .item-3 { transform: translate(0, 185px); }
    .item-4 { transform: translate(-130px, 130px); }
} 