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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding-top: 76px; /* Account for fixed navbar */
}

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

/* Navigation */
.navbar {
    background-color: #1a1a1a !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    padding: 0;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
    color: #ccc !important;
}

.navbar-toggler {
    border-color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section - Full Screen */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.logo {
    margin-bottom: 40px;
}

.logo-img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-top: 30px;
}

/* About Section */
.about-section {
    background-color: #fff;
    padding: 80px 0;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: justify;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.redleg-brand {
    color: #fd0000; /* Red color */
    font-weight: bold;
}

.read-more-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 5px;
}

.read-more-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.read-more-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    animation: fadeIn 0.5s ease-in;
}

.read-more-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Product Section */
.product-section {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.product-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 40px;
}

.product-tab-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

.product-tab-btn:hover {
    color: #1a1a1a;
}

.product-tab-btn.active {
    color: #1a1a1a;
}

.product-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #1a1a1a;
}

.tab-separator {
    font-size: 1.8rem;
    color: #999;
    margin: 0 10px;
    font-weight: 300;
}

.product-category {
    animation: fadeIn 0.5s ease-in;
}

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

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.product-card .card-img-top {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

/* Product Modal Styles */
#productModal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

#productModal .modal-header {
    background: transparent;
}

#productModal .btn-close {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 0.5rem;
    opacity: 1;
    filter: none;
}

#productModal .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
}

#productModal #modalProductImage {
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
}

/* Email Section */
.email-section {
    background-color: #fff;
    padding: 80px 0;
}

.email-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.email-heading {
    color: #fd0000 !important; /* Red color */
}

.email-form .form-control {
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-form .form-control:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.25);
}

.email-form .btn-dark {
    background-color: #1a1a1a;
    border: none;
    padding: 12px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.email-form .btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Contact Footer */
.contact-footer {
    position: relative;
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    text-align: center;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
}

.contact-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.address {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.8;
}

.email {
    font-size: 1.1rem;
}

.email a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email a:hover {
    color: #ccc;
}

.email-link {
    color: #fd0000 !important; /* Red color */
}

.email-link:hover {
    color: #cc0000 !important; /* Darker red on hover */
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        background-attachment: scroll;
        min-height: 100vh;
    }

    .logo-img {
        max-width: 200px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .about-section h2,
    .product-section h2,
    .email-section h2,
    .contact-footer h2 {
        font-size: 2rem;
    }

    .product-tab-btn {
        font-size: 1.4rem;
    }
    
    .tab-separator {
        font-size: 1.4rem;
    }

    .about-content {
        text-align: left;
    }

    .navbar-logo {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
    }

    .logo-img {
        max-width: 150px;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .container {
        padding: 0 15px;
    }

    .about-section,
    .product-section,
    .email-section {
        padding: 50px 0;
    }

    .product-card .card-img-top {
        height: 250px;
    }
    
    .product-tab-btn {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
    
    .tab-separator {
        font-size: 1.2rem;
        margin: 0 5px;
    }
}

