:root {
    --primary: #1a1a1a;
    --secondary: #d4af37;
    --dark: #0a0a0a;
    --light: #f8f8f8;
    --accent: #8b0000;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: rgba(248, 248, 248, 0.9);
}

header.scrolled {
    padding: 15px 10%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 32px;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a[href*="register"] {
    color: var(--dark);
    transition: var(--transition);
}

.nav-links a[href*="register"]:hover {
    color: white;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(228, 202, 202, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.cta-button[href="/auth/login.php"] {
    background-color: #bebebe;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 248, 248, 0.9), rgba(248, 248, 248, 0.7));
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.5s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.7s;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.secondary-button:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1523170335258-f5ed11844a49?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1480&q=80') center/cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1s forwards 0.9s, float 6s ease-in-out infinite 1.9s;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 30px;
    z-index: -1;
}

/* Collections Section */
.collections {
    padding: 100px 10%;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
}

.collection-card:nth-child(1) {
    animation: fadeInUp 0.8s forwards 0.2s;
}
.collection-card:nth-child(2) {
    animation: fadeInUp 0.8s forwards 0.4s;
}
.collection-card:nth-child(3) {
    animation: fadeInUp 0.8s forwards 0.6s;
}

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

.collection-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--secondary);
    transition: var(--transition);
}

.collection-card:hover .collection-icon {
    background-color: var(--secondary);
    color: white;
    transform: rotateY(180deg);
}

.collection-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.collection-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.collection-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.collection-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Brands Section */
.brands {
    padding: 80px 10%;
    background-color: var(--light);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.brand-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.brand-card:nth-child(1) {
    animation: fadeInUp 0.8s forwards 0.2s;
}
.brand-card:nth-child(2) {
    animation: fadeInUp 0.8s forwards 0.3s;
}
.brand-card:nth-child(3) {
    animation: fadeInUp 0.8s forwards 0.4s;
}
.brand-card:nth-child(4) {
    animation: fadeInUp 0.8s forwards 0.5s;
}

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

.brand-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-logo svg {
    width: 100%;
    height: 100%;
}
.brand-card:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.brand-card:hover .brand-overlay {
    opacity: 1;
}

.brand-overlay h3 {
    color: white;
    margin-bottom: 15px;
}

.brand-button {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.brand-button:hover {
    background-color: white;
    transform: translateY(-3px);
}

/* Featured Watch */
.featured-watch {
    padding: 100px 10%;
    background-color: white;
}

.watch-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.watch-image {
    flex: 1;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1542496658-e33a6d0d50f6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.watch-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

.watch-details {
    flex: 1;
}

.watch-details h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.watch-details h3 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.watch-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.watch-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--secondary);
    font-size: 20px;
}

.watch-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
}

/* Testimonials */
/* Featured Products Section */
.featured-products {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-details h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.product-rating {
    color: #d4af37;
    margin-bottom: 12px;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c1c1c;
}

.stock-info {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.add-to-cart {
    width: 100%;
    text-align: center;
    padding: 12px;
    background-color: #d4af37;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.add-to-cart:hover {
    background-color: #1c1c1c;
}

.no-products {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.view-all-container {
    text-align: center;
    margin-top: 20px;
}

.view-all-button {
    display: inline-block;
    background-color: transparent;
    color: #d4af37;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
}

.view-all-button:hover {
    background-color: #d4af37;
    color: #fff;
    transform: translateY(-3px);
}

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

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 10%;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: 2px solid var(--secondary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 10% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-column p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

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

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

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

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

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-10px); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-image {
        width: 400px;
        height: 400px;
    }
    
    .watch-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    header {
        padding: 20px 5%;
    }
    
    .hero, .collections, .brands, .featured-watch, .testimonials, .cta-section, footer {
        padding: 80px 5%;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-image {
        right: 5%;
    }
    
    .watch-container {
        flex-direction: column;
    }
    
    .watch-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 30px;
        transition: var(--transition);
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: 0 auto;
        animation: fadeIn 1s forwards 0.9s;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
        text-align: center;
    }
    
    .collection-card {
        padding: 30px 20px;
    }
    
    .watch-features {
        grid-template-columns: 1fr;
    }
    
    .watch-price {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .testimonial-slide {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
}