/* Main Styles for Brett Leboff Website */

/* Reset and Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #4285f4;
    transition: color 0.3s ease;
}

a:hover {
    color: #3367d6;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #555;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4285f4;
}

.app-btn {
    padding: 8px 15px;
    background-color: #4285f4;
    color: white !important;
    border-radius: 4px;
    font-weight: bold;
}

.app-btn:hover {
    background-color: #3367d6;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
}

/* High Contrast Mode */
body.high-contrast {
    background-color: #000;
    color: #fff;
}

body.high-contrast .navbar,
body.high-contrast .product-card,
body.high-contrast #shopping-cart,
body.high-contrast .testimonial,
body.high-contrast .modal-content {
    background-color: #222;
    color: #fff;
}

body.high-contrast .nav-links a,
body.high-contrast .logo,
body.high-contrast .product-title,
body.high-contrast .product-description,
body.high-contrast .faq-question h3,
body.high-contrast .faq-answer p,
body.high-contrast .form-group label {
    color: #fff;
}

body.high-contrast .input-placeholder,
body.high-contrast .stripe-placeholder {
    background-color: #444;
    border-color: #666;
}

body.high-contrast .cart-item {
    border-color: #444;
}

body.high-contrast .cart-total {
    border-color: #555;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #bbb;
    margin-bottom: 15px;
}

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

.footer-section ul li a {
    color: #bbb;
}

.footer-section ul li a:hover {
    color: #4285f4;
}

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

.social-links a {
    color: #fff;
    font-size: 1.2rem;
}

.download-app-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #4285f4;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #bbb;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background-color: #f9f9fc;
    padding: 80px 0;
    margin-bottom: 40px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

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

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4285f4;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
}

.primary-btn:hover {
    background-color: #3367d6;
    color: white;
}

.secondary-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}