/* 
   Jivishika Masala - Main Stylesheet
   A professional, modern design for a premium spice brand
*/

/* Accessibility helper class */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

:root {
    /* Brand colors from colors.txt */
    --primary-color: #27643c;
    --secondary-color: #8cc342;
    --accent-color: #c87c31;
    --dark-green: #314d3a;
    --light-accent: #cb7f35;
    
    /* Neutral colors */
    --text-color: #333333;
    --light-text: #777777;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #eeeeee;
    
    /* Fonts */
    --font-family: 'Poppins', sans-serif;
    --heading-weight: 600;
    --regular-weight: 400;
    --light-weight: 300;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--heading-weight);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Important for controlling image proportions */
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 0.75rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    margin-right: 0.75rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(39, 100, 60, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(5deg);
    border-color: var(--secondary-color);
}

.navbar-brand span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.navbar-menu ul {
    display: flex;
    gap: 1.5rem;
}

.navbar-menu ul li a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

.navbar-menu ul li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-menu ul li a:hover:before,
.navbar-menu ul li a.active:before {
    width: 100%;
}

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

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Welcome Banner */
.welcome-banner {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    background-color: var(--bg-white);
    overflow: hidden;
}

.welcome-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.brand-showcase {
    flex: 0 0 300px;
    text-align: center;
    position: relative;
}

.brand-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.brand-logo::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border: 2px dashed var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: rotate 30s linear infinite;
}

.brand-logo::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation: rotate 20s linear infinite reverse;
}

.brand-logo img {
    width: 200px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-color);
    margin: 0;
    font-style: italic;
    letter-spacing: 1px;
}

.welcome-message {
    flex: 1;
    min-width: 300px;
}

.welcome-message h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.welcome-message h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin-top: 15px;
    border-radius: 2px;
}

.welcome-message p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.6;
    max-width: 500px;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(39, 100, 60, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.spice-pattern {
    position: absolute;
    width: 400px;
    height: 400px;
    z-index: 1;
    opacity: 0.1;
}

.spice-pattern.left {
    left: -200px;
    top: -50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="3" fill="%2327643c"/></svg>');
    transform: rotate(15deg);
}

.spice-pattern.right {
    right: -200px;
    bottom: -50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50,30 L55,45 L70,50 L55,55 L50,70 L45,55 L30,50 L45,45 Z" fill="%23c87c31"/></svg>');
    transform: rotate(-15deg);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

/* Features */
.features {
    padding: 5rem 0 3rem;
    background-color: var(--bg-light);
}

.features .container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.feature-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(39, 100, 60, 0.1);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-carousel {
    width: 100%;
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 1s ease;
    animation: slide 18s infinite;
}

.carousel-slide {
    width: 33.33%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

@keyframes slide {
    0%, 26% {
        transform: translateX(0);
    }
    33%, 59% {
        transform: translateX(-33.33%);
    }
    66%, 93% {
        transform: translateX(-66.66%);
    }
    100% {
        transform: translateX(0);
    }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.about-text p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
}

.product-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Quality Section */
.quality {
    padding: 5rem 0;
    background: linear-gradient(rgba(39, 100, 60, 0.9), rgba(39, 100, 60, 0.9)), url('https://source.unsplash.com/random/1920x1080/?spice,organic') no-repeat center center/cover;
    color: var(--bg-white);
    text-align: center;
}

.quality-content {
    max-width: 800px;
    margin: 0 auto;
}

.quality h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.quality p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.quality-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin: 2rem 0;
}

.quality-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.quality-list li i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(39, 100, 60, 0.8);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--bg-white);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-content {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--light-text);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background-color: var(--bg-white);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dots span.active {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(39, 100, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--bg-white);
    padding-top: 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-col .social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.footer-col .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    color: var(--bg-white);
    margin-bottom: 0;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: var(--font-family);
}

.newsletter-form button {
    padding: 0 1rem;
    background-color: var(--accent-color);
    color: var(--bg-white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-methods i {
    font-size: 1.5rem;
    color: #aaa;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 99;
    border: none;
}

.back-to-top:hover {
    background-color: var(--accent-color);
}

.back-to-top.show {
    display: flex;
}

/* Media Queries */
@media (max-width: 992px) {
    .navbar-brand span {
        font-size: 1.3rem;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        padding: 2rem;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-menu ul {
        flex-direction: column;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .about-content, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .image-carousel {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .features .container {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 45px;
        height: 45px;
    }
    
    .navbar-brand span {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .welcome-banner {
        padding-top: 100px;
        padding-bottom: 70px;
    }
    
    .welcome-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .welcome-message {
        text-align: center;
    }
    
    .welcome-message h1::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .welcome-message p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .welcome-message h1 {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }
    
    .navbar-brand span {
        font-size: 1.1rem;
    }
    
    .product-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .welcome-banner {
        padding-top: 125px;
        padding-bottom: 60px;
    }
    
    .image-carousel {
        height: 250px;
    }
    
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .brand-showcase {
        flex: 0 0 100%;
    }
    
    .brand-logo::before {
        width: 160px;
        height: 160px;
    }
    
    .brand-logo::after {
        width: 200px;
        height: 200px;
    }
    
    .brand-logo img {
        width: 130px;
    }
    
    .welcome-message h1 {
        font-size: 1.8rem;
    }
    
    .welcome-message p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
