/* Base Styles */
:root {
    --primary-color: #000000; /* Black from logo */
    --accent-color: #e01e1e; /* Red from logo */
    --light-gray: #d3d3d3;
    --white: #d3d3d3;
    --text-color: #333333;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.4), 0 8px 12px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.2); /* Enhanced 3D shadow effect */
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 18px rgba(224, 30, 30, 0.4), 0 8px 12px rgba(224, 30, 30, 0.3), 0 4px 6px rgba(224, 30, 30, 0.2); /* Light red 3D shadow */
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: var(--primary-color); /* Changed button color */
    color: var(--white); /* Ensure text is visible */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-small:hover {
    background-color: var(--accent-color); /* Add hover effect */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
}

section {
    padding: 80px 0;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loader-container img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.loader-text {
    margin-top: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 3px;
    animation: fadeIn 1.5s infinite;
}

@keyframes fadeIn {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes rotate {
    0% { transform: rotateY(0) rotateX(0); }
    100% { transform: rotateY(360deg) rotateX(360deg); }
}

/* Header */
header {
    background-color: var(--white);
    /* box-shadow: var(--box-shadow); */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: flex;
    justify-content: center; /* Center the nav bar buttons */
    position: relative; /* Allow positioning of the logo */
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    margin-right: 230px;
}

.nav-links {
    display: flex;
    gap: 100px;
}

.nav-links li a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    background-color: var(--light-gray);
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 50px 0;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 1s forwards;
    animation-delay: 0.5s;
}

.hero-image {
    flex: 1;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s forwards;
    animation-delay: 0.8s;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    animation: bounce 2s infinite ease-in-out;
    
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}
@keyframes slideInFromLeft {
    0% {
      transform: translateX(-200px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .corner-image {
    animation: slideInFromLeft 1s ease-out;
    animation-fill-mode: both;
    position: absolute;
    bottom: 110px;
    left: 50px;
    z-index: 10;
  }
  
/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* === Modal Overlay === */
/* Add your styles here */

/* Modal styles */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.product-modal .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
}

.product-modal .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.product-modal .main-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-modal .thumbnail-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-modal .thumbnail-row img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
}

.product-modal .thumbnail-row img.active {
    border-color: #007bff;
}

.product-modal .image-title {
    font-size: 18px;
    font-weight: bold;
}

/* Products Section */
.products {
    background-color: rgba(50, 49, 49, 0.053);
    text-align: center;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: rgb(245, 243, 243);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    opacity: 0;
    animation: zoomIn 1s forwards;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 270px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-info p {
    margin-bottom: 15px;
    color: #666;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    animation: fadeInLeft 1s forwards;
}

.about-image img {
    width: 100%;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    opacity: 0;
    animation: fadeInRight 1s forwards;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-text {
    color: #666;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
    text-align: center;
}

.contact-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.contact-info, .contact-form {
    flex: 1;
    opacity: 0;
}

.contact-info {
    animation: fadeInLeft 1s forwards;
}

.contact-form {
    animation: fadeInRight 1s forwards;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-info-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 6px 10px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2); /* Enhanced 3D shadow with more depth */
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    background-color: #f9f9f9; /* Soft light gray for a modern look */
    border: 1px solid #ddd; /* Slightly darker gray for better contrast */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Increased shadow for more depth */
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 200px;
    margin-bottom: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); /* Increased shadow for more prominence */
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-newsletter h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-newsletter {
    flex: 1;
    min-width: 250px;
}

.footer-newsletter p {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-form .btn-small {
    border-radius: 0 4px 4px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */

@media screen and (max-width: 768px) {
    .corner-image {
      display: none;
    }
  }
  

@media screen and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 40px;
        align-items: center;
        justify-content: flex-start;
        transition: var(--transition);
        z-index: 99;
        box-shadow: var(--box-shadow);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin-bottom: 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn-small {
        border-radius: 4px;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Animation for scroll reveal */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}