/* Reset & Base Styles */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
 --royal-red: #8B0000;
 --royal-black: #0a0a0a;
 --dark-red: #5a0000;
 --light-red: #a01010;
 --gold: #d4af37;
 --white: #ffffff;
 --gray: #666666;
 --light-gray: #f5f5f5;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Montserrat', sans-serif;
background-color: var(--royal-black);
color: var(--white);
line-height: 1.6;
overflow-x: hidden;
}

.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
}

/* Navigation */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(10, 10, 10, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(139, 0, 0, 0.2);
transition: all 0.3s ease;
}

.navbar.scrolled {
background: rgba(10, 10, 10, 0.98);
box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
}

.nav-container {
max-width: 1400px;
margin: 0 auto;
padding: 20px 40px;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-family: 'Playfair Display', serif;
font-size: 28px;
font-weight: 700;
letter-spacing: 2px;
color: var(--white);
background: linear-gradient(135deg, var(--white), var(--royal-red));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.nav-links {
display: flex;
gap: 40px;
}

.nav-link {
color: var(--white);
text-decoration: none;
font-weight: 500;
font-size: 14px;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s ease;
position: relative;
}

.nav-link::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--royal-red);
transition: width 0.3s ease;
}

.nav-link:hover::after {
width: 100%;
}

.nav-icons {
display: flex;
gap: 20px;
align-items: center;
}

.cart-btn {
position: relative;
background: transparent;
border: none;
color: var(--white);
cursor: pointer;
transition: all 0.3s ease;
}

.cart-btn:hover {
color: var(--royal-red);
transform: scale(1.1);
}

.cart-count {
position: absolute;
top: -8px;
right: -8px;
background: var(--royal-red);
color: var(--white);
font-size: 10px;
font-weight: 600;
padding: 2px 6px;
border-radius: 50%;
min-width: 18px;
text-align: center;
}

.menu-btn {
display: none;
flex-direction: column;
gap: 5px;
background: transparent;
border: none;
cursor: pointer;
}

.menu-btn span {
width: 25px;
height: 2px;
background: var(--white);
transition: all 0.3s ease;
}

/* Hero Section */
.hero {
height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: linear-gradient(135deg, var(--royal-black) 0%, var(--dark-red) 50%, var(--royal-black) 100%);
}

.hero-overlay {
position: absolute;
inset: 0;
background:
radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.2) 0%, transparent 50%),
radial-gradient(circle at 80% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 50%);
animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}

.hero-content {
position: relative;
z-index: 2;
text-align: center;
padding: 0 20px;
}

.hero-subtitle {
display: block;
font-size: 16px;
letter-spacing: 4px;
text-transform: uppercase;
color: var(--gold);
margin-bottom: 20px;
animation: fadeInDown 1s ease;
}

.hero-title {
font-family: 'Playfair Display', serif;
font-size: clamp(60px, 10vw, 120px);
font-weight: 900;
letter-spacing: 8px;
margin-bottom: 20px;
background: linear-gradient(135deg, var(--white), var(--royal-red), var(--white));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
font-size: 18px;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 40px;
letter-spacing: 2px;
animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-btn {
padding: 18px 50px;
background: var(--royal-red);
color: var(--white);
border: 2px solid var(--royal-red);
font-size: 14px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease;
animation: fadeInUp 1s ease 0.6s backwards;
position: relative;
overflow: hidden;
}

.cta-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}

.cta-btn:hover::before {
left: 100%;
}

.cta-btn:hover {
background: transparent;
color: var(--royal-red);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.scroll-indicator {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
color: rgba(255, 255, 255, 0.5);
font-size: 12px;
letter-spacing: 2px;
}

.scroll-line {
width: 2px;
height: 40px;
background: linear-gradient(to bottom, var(--royal-red), transparent);
animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
0%, 100% { transform: translateY(0); opacity: 0; }
50% { transform: translateY(20px); opacity: 1; }
}

@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* About Section */
.about-section {
padding: 120px 0;
background: var(--royal-black);
position: relative;
}

.about-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--royal-red), transparent);
}

.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: center;
}

.section-subtitle {
display: block;
font-size: 14px;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--royal-red);
margin-bottom: 15px;
}

.section-title {
font-family: 'Playfair Display', serif;
font-size: 56px;
font-weight: 700;
margin-bottom: 30px;
color: var(--white);
}

.about-description {
font-size: 16px;
line-height: 1.8;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 20px;
}

.about-features {
display: grid;
gap: 30px;
}

.feature-card {
background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(10, 10, 10, 0.5));
padding: 30px;
border: 1px solid rgba(139, 0, 0, 0.2);
transition: all 0.3s ease;
}

.feature-card:hover {
border-color: var(--royal-red);
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.feature-icon {
font-size: 40px;
margin-bottom: 15px;
}

.feature-card h3 {
font-size: 20px;
margin-bottom: 10px;
color: var(--white);
}

.feature-card p {
color: rgba(255, 255, 255, 0.6);
font-size: 14px;
}

/* Collection Section */
.collection-section {
padding: 120px 0;
background: linear-gradient(180deg, var(--royal-black) 0%, #1a0000 100%);
}

.section-header {
text-align: center;
margin-bottom: 60px;
}

.category-filter {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 60px;
}

.filter-btn {
padding: 12px 30px;
background: transparent;
color: var(--white);
border: 1px solid rgba(139, 0, 0, 0.3);
font-size: 14px;
font-weight: 500;
letter-spacing: 1px;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
background: var(--royal-red);
border-color: var(--royal-red);
color: var(--white);
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4);
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 40px;
}

.product-card {
background: rgba(10, 10, 10, 0.6);
border: 1px solid rgba(139, 0, 0, 0.2);
overflow: hidden;
cursor: pointer;
transition: all 0.4s ease;
position: relative;
}

.product-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), transparent);
opacity: 0;
transition: opacity 0.4s ease;
}

.product-card:hover::before {
opacity: 1;
}

.product-card:hover {
border-color: var(--royal-red);
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.product-image {
width: 100%;
aspect-ratio: 3/4;
overflow: hidden;
position: relative;
background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
transform: scale(1.1);
}

.product-info {
padding: 25px;
}

.product-category {
font-size: 12px;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--royal-red);
margin-bottom: 8px;
}

.product-name {
font-size: 20px;
font-weight: 600;
color: var(--white);
margin-bottom: 10px;
}

.product-price {
font-size: 24px;
font-weight: 700;
color: var(--gold);
}

/* Cart Sidebar */
.cart-sidebar {
position: fixed;
top: 0;
right: -500px;
width: 500px;
height: 100vh;
background: var(--royal-black);
border-left: 1px solid rgba(139, 0, 0, 0.3);
z-index: 2000;
transition: right 0.4s ease;
display: flex;
flex-direction: column;
box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.open {
right: 0;
}

.cart-header {
padding: 30px;
border-bottom: 1px solid rgba(139, 0, 0, 0.3);
display: flex;
justify-content: space-between;
align-items: center;
}

.cart-header h2 {
font-family: ‘Playfair Display’, serif;
font-size: 28px;
color: var(--white);
}

.close-cart {
background: transparent;
border: none;
color: var(--white);
cursor: pointer;
transition: all 0.3s ease;
}

.close-cart:hover {
color: var(--royal-red);
transform: rotate(90deg);
}

.cart-items {
flex: 1;
overflow-y: auto;
padding: 20px 30px;
}

.cart-item {
display: flex;
gap: 20px;
padding: 20px 0;
border-bottom: 1px solid rgba(139, 0, 0, 0.2);
}

.cart-item-image {
width: 100px;
height: 120px;
object-fit: cover;
border: 1px solid rgba(139, 0, 0, 0.3);
}

.cart-item-details {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.cart-item-name {
font-size: 16px;
font-weight: 600;
color: var(--white);
margin-bottom: 5px;
}

.cart-item-size {
font-size: 14px;
color: var(--gray);
}

.cart-item-bottom {
display: flex;
justify-content: space-between;
align-items: center;
}

.cart-item-price {
font-size: 18px;
font-weight: 700;
color: var(--gold);
}

.remove-item {
background: transparent;
border: none;
color: var(--royal-red);
cursor: pointer;
padding: 5px;
transition: all 0.3s ease;
}

.remove-item:hover {
color: var(--light-red);
transform: scale(1.1);
}

.cart-empty {
text-align: center;
padding: 60px 20px;
color: var(--gray);
}

.cart-empty-icon {
font-size: 60px;
margin-bottom: 20px;
opacity: 0.3;
}

.cart-footer {
padding: 30px;
border-top: 1px solid rgba(139, 0, 0, 0.3);
}

.cart-total {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
font-size: 24px;
font-weight: 700;
}

.cart-total span:last-child {
color: var(--gold);
}

.checkout-btn {
width: 100%;
padding: 18px;
background: var(--royal-red);
color: var(--white);
border: none;
font-size: 16px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease;
}

.checkout-btn:hover {
background: var(--light-red);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

/* Modal */
.modal {
position: fixed;
inset: 0;
z-index: 3000;
display: none;
align-items: center;
justify-content: center;
padding: 20px;
}

.modal.active {
display: flex;
}

.modal-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(5px);
}

.modal-content {
position: relative;
background: var(--royal-black);
border: 1px solid rgba(139, 0, 0, 0.3);
max-width: 1000px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.modal-close {
position: absolute;
top: 20px;
right: 20px;
background: rgba(139, 0, 0, 0.2);
border: none;
color: var(--white);
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
transition: all 0.3s ease;
z-index: 10;
}

.modal-close:hover {
background: var(--royal-red);
transform: rotate(90deg);
}

.modal-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
}

.modal-image {
width: 100%;
aspect-ratio: 3/4;
background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.modal-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.modal-details {
padding: 60px 50px;
}

.modal-category {
font-size: 12px;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--royal-red);
margin-bottom: 10px;
}

.modal-title {
font-family: 'Playfair Display', serif;
font-size: 36px;
font-weight: 700;
color: var(--white);
margin-bottom: 15px;
}

.modal-price {
font-size: 32px;
font-weight: 700;
color: var(--gold);
margin-bottom: 25px;
}

.modal-description {
font-size: 15px;
line-height: 1.8;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 35px;
}

.size-selector {
margin-bottom: 35px;
}

.size-selector label {
display: block;
font-size: 14px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 15px;
color: var(--white);
}

.size-options {
display: flex;
gap: 10px;
}

.size-btn {
width: 50px;
height: 50px;
background: transparent;
border: 1px solid rgba(139, 0, 0, 0.3);
color: var(--white);
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}

.size-btn:hover,
.size-btn.active {
background: var(--royal-red);
border-color: var(--royal-red);
transform: translateY(-2px);
}

.add-to-cart-btn {
width: 100%;
padding: 18px;
background: var(--royal-red);
color: var(--white);
border: none;
font-size: 16px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 30px;
}

.add-to-cart-btn:hover {
background: var(--light-red);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.product-features {
display: flex;
flex-direction: column;
gap: 15px;
}

.feature-item {
display: flex;
align-items: center;
gap: 10px;
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
}

.feature-item svg {
color: var(--royal-red);
}

/* Checkout Modal */
.checkout-modal-content {
max-width: 700px;
}

.checkout-container {
padding: 50px;
}

.checkout-title {
font-family: 'Playfair Display', serif;
font-size: 36px;
margin-bottom: 40px;
text-align: center;
color: var(--white);
}

.form-section {
margin-bottom: 35px;
}

.form-section-title {
font-size: 18px;
font-weight: 600;
color: var(--white);
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
font-size: 13px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 8px;
color: rgba(255, 255, 255, 0.8);
}

.form-group input {
width: 100%;
padding: 15px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(139, 0, 0, 0.3);
color: var(--white);
font-size: 15px;
transition: all 0.3s ease;
}

.form-group input:focus {
outline: none;
border-color: var(--royal-red);
background: rgba(255, 255, 255, 0.08);
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}

.checkout-summary {
background: rgba(139, 0, 0, 0.1);
padding: 25px;
border: 1px solid rgba(139, 0, 0, 0.3);
margin-bottom: 30px;
}

.summary-row {
display: flex;
justify-content: space-between;
padding: 10px 0;
color: rgba(255, 255, 255, 0.7);
}

.summary-row.total {
font-size: 20px;
font-weight: 700;
color: var(--white);
border-top: 1px solid rgba(139, 0, 0, 0.3);
margin-top: 10px;
padding-top: 15px;
}

.summary-row.total span:last-child {
color: var(--gold);
}

.pay-btn {
width: 100%;
padding: 18px;
background: var(–royal-red);
color: var(–white);
border: none;
font-size: 16px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease;
}

.pay-btn:hover {
background: var(--light-red);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

/* Success Modal */
.success-modal-content {
max-width: 600px;
text-align: center;
padding: 60px 50px;
}

.success-icon {
margin-bottom: 30px;
animation: successPop 0.6s ease;
}

@keyframes successPop {
0% {
transform: scale(0);
opacity: 0;
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
opacity: 1;
}
}

.success-title {
font-family: 'Playfair Display', serif;
font-size: 36px;
color: var(--white);
margin-bottom: 20px;
}

.success-message {
font-size: 16px;
color: rgba(255, 255, 255, 0.7);
line-height: 1.8;
margin-bottom: 30px;
}

.success-details {
background: rgba(139, 0, 0, 0.1);
padding: 25px;
border: 1px solid rgba(139, 0, 0, 0.3);
margin-bottom: 30px;
}

.success-details p {
color: rgba(255, 255, 255, 0.7);
margin-bottom: 10px;
}

.order-number {
font-weight: 600;
color: var(--white);
font-size: 18px;
}

.order-number span {
color: var(--gold);
}

.back-btn {
padding: 18px 50px;
background: var(--royal-red);
color: var(--white);
border: none;
font-size: 14px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease;
}

.back-btn:hover {
background: var(--light-red);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

/* Contact Section */
.contact-section {
padding: 120px 0;
background: var(--royal-black);
}

.contact-grid {
max-width: 800px;
margin: 0 auto;
}

.contact-info {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
}

.contact-item {
text-align: center;
padding: 40px 20px;
background: rgba(139, 0, 0, 0.05);
border: 1px solid rgba(139, 0, 0, 0.2);
transition: all 0.3s ease;
}

.contact-item:hover {
border-color: var(--royal-red);
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.contact-item h3 {
font-size: 18px;
font-weight: 600;
color: var(--white);
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 1px;
}

.contact-item p {
color: rgba(255, 255, 255, 0.7);
font-size: 15px;
line-height: 1.6;
}

/* Footer */
.footer {
padding: 60px 0;
background: linear-gradient(180deg, var(--royal-black) 0%, #000000 100%);
border-top: 1px solid rgba(139, 0, 0, 0.2);
}

.footer-content {
text-align: center;
}

.footer-logo {
font-family: 'Playfair Display', serif;
font-size: 32px;
font-weight: 700;
letter-spacing: 3px;
color: var(--white);
margin-bottom: 15px;
background: linear-gradient(135deg, var(--white), var(--royal-red));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.footer-text {
color: rgba(255, 255, 255, 0.5);
font-size: 14px;
margin-bottom: 25px;
font-style: italic;
}

.footer-links {
display: flex;
justify-content: center;
gap: 30px;
margin-bottom: 25px;
}

.footer-links a {
color: rgba(255, 255, 255, 0.6);
text-decoration: none;
font-size: 14px;
transition: all 0.3s ease;
}

.footer-links a:hover {
color: var(–royal-red);
}

.footer-copyright {
color: rgba(255, 255, 255, 0.4);
font-size: 12px;
letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
.nav-links {
display: none;
}


.menu-btn {
    display: flex;
}

.about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
}

.modal-grid {
    grid-template-columns: 1fr;
}

.modal-image {
    aspect-ratio: 16/9;
}

.contact-info {
    grid-template-columns: 1fr;
    gap: 30px;
}


}

@media (max-width: 768px) {
.cart-sidebar {
width: 100%;
right: -100%; 
}


.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.hero-title {
    font-size: 48px;
    letter-spacing: 4px;
}

.section-title {
    font-size: 36px;
}

.modal-details {
    padding: 40px 30px;
}

.checkout-container {
    padding: 30px 20px;
}

.form-row {
    grid-template-columns: 1fr;
}

.success-modal-content {
    padding: 40px 30px;
}

.category-filter {
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 12px;
}

}

@media (max-width: 480px) {
.nav-container {
padding: 15px 20px;
}


.logo {
    font-size: 20px;
}

.products-grid {
    grid-template-columns: 1fr;
}

.hero-title {
    font-size: 36px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 14px;
}

.cta-btn {
    padding: 15px 35px;
    font-size: 12px;
}


}