/* Targeted Reset for Common Elements */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    background-color: #070322;
    color: #383838;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

/* Header */
header {
    padding: 20px 0;
    text-align: center;
}

.logo {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

.gold-line {
    height: 0.5px;
    background-color: #b5a663;
    width: 100%;
    margin: 0 0 20px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    padding: 10px 15px;
    position: relative;
    display: inline-block;
    font-family: 'Cinzel', serif;
}

nav ul li a:hover {
    color: #b5a663;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #b5a663;
    transition: width 0.3s ease;
    transform-origin: center;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 3, 34, 0.7);
}

.hero-left {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    color: #383838;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 1;
    box-sizing: border-box;
    right: 50%;
}

.hero-left h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-transform: none;
    font-family: 'Cinzel', serif;
}

.hero-left p {
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: none;
}

.hero-header__button {
    background-color: #ffffff;
    color: #b5a663;
    padding: 12px 25px;
    border: 2px solid #b5a663;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Cinzel', serif;
}

.hero-header__button:hover {
    background-color: #f0f0f0;
    color: #b5a663;
}

.hero img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    object-fit: cover;
    z-index: 0;
    left: 50%;
}

/* Product Showcase */
.product-showcase {
    padding: 60px 20px;
    text-align: center;
}

.product-showcase h2 {
    color: #b5a663;
    font-size: 40px;
    margin-bottom: 40px;
    font-family: 'Cinzel', serif;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #1a1f3c;
    padding: 20px;
    border: 1px solid #b5a663;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #b5a663;
}

.product-card h3 {
    font-size: 20px;
    margin: 15px 0 5px;
    font-family: 'Cinzel', serif;
}

.product-card p {
    font-size: 16px;
    color: #383838;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(181, 166, 99, 0.3);
}

/* Our Story */
#our-story {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#our-story h2 {
    color: #b5a663;
    font-size: 40px;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

#our-story p {
    font-size: 18px;
    color: #383838;
}

/* Footer */
footer {
    background-color: #070322;
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid #b5a663;
}

footer p {
    font-size: 16px;
    color: #383838;
}

footer a {
    color: #383838; /* Match body text color */
    text-decoration: none;
}

footer a:hover {
    color: #b5a663; /* Gold on hover */
    text-decoration: underline;
}

/* Back to Top */
.btt {
    text-align: center;
    padding: 20px 0;
}

.btt-icon {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.btt-icon:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 28px;
    }

    .gold-line {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        padding: 8px 12px;
        font-size: 16px;
    }

    .hero {
        height: 500px;
    }

    .hero-left {
        width: 100%;
        height: 300px;
    }

    .hero-left h2 {
        font-size: 28px;
    }

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

    .hero img {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}