/* General Styles */
:root {
    --primary-font: 'Montserrat', sans-serif;
    --secondary-font: 'Open Sans', sans-serif;
    --text-color: #1a1a1a;
    --background-color: #ffffff;
    --light-gray: #f8f8f8;
    --border-color: #e0e0e0;
    --accent-color: #000000; /* Black for a premium feel */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--secondary-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    color: var(--accent-color);
    margin-bottom: 0.8em;
    font-weight: 400;
}

h1 {
    font-size: 3em;
    text-align: center;
    margin-bottom: 1em;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 1em;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 12px 25px;
    border: 1px solid var(--accent-color);
    border-radius: 3px;
    font-family: var(--primary-font);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

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

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

section {
    padding: 60px 0;
}

/* Header & Navbar */
.top-promo-bar {
    background-color: var(--accent-color);
    color: var(--background-color);
    text-align: center;
    padding: 8px 0;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

.header {
    background-color: var(--background-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

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

.logo {
    font-family: var(--primary-font);
    font-size: 1.8em;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 1px;
}

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

.main-nav a {
    font-family: var(--primary-font);
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.header-icons {
    display: flex;
    gap: 25px;
    font-size: 1.2em;
}

.header-icons a {
    display: flex;
    align-items: center;
}

/* Sticky Navbar */
.header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

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

.hero-content {
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3); /* Overlay for text readability */
    padding: 30px 50px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 0.2em;
    color: var(--background-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 1.5em;
    color: var(--background-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: var(--text-color);
}

.product-card .price {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--light-gray);
    padding: 40px 0;
    font-size: 0.9em;
}

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

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

.footer-section h3 {
    color: var(--background-color);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--light-gray);
}

.footer-section a:hover {
    color: var(--background-color);
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 1.5em;
}

.social-links a {
    color: var(--light-gray);
}

.social-links a:hover {
    color: var(--background-color);
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 3px 0 0 3px;
    background-color: rgba(255,255,255,0.1);
    color: var(--background-color);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    padding: 10px 15px;
    background-color: var(--background-color);
    color: var(--accent-color);
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--light-gray);
}

.payment-icons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    font-size: 2em; /* Adjust size of payment icons */
}

.payment-icons i {
    color: var(--light-gray);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}