/* Custom Styles for Ganapathy Foods */

:root {
    --primary-color: #667eea;
    --secondary-color: #f5576c;
    --light-bg: #f8f9fa;
    --dark-color: #2c3e50;
}

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

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

/* Navigation Bar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    margin-left: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #f5576c !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #f5576c !important;
    border-bottom: 2px solid #f5576c;
}

/* Carousel Styles */
.carousel {
    margin-bottom: 0;
}

.carousel-item {
    position: relative;
}

.carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-caption h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: slideInDown 0.8s ease;
}

.carousel-caption p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease;
}

.carousel-caption .btn {
    animation: slideInUp 1s ease 0.2s both;
}

/* Cards Styles */
.card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.card-title {
    color: #2c3e50;
    font-weight: 600;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
}

.hover-card {
    border-radius: 15px;
}

/* Product Cards */
.product-card {
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Feature Box */
.feature-box {
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: rgba(102, 126, 234, 0.05);
}

.feature-box:hover {
    transform: translateY(-10px);
    background-color: rgba(245, 87, 108, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-box h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    font-size: 0.9rem;
}

/* Gallery Styles */
.gallery-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.gallery-placeholder {
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder::before {
    background: rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #f5576c;
    box-shadow: 0 0 0 0.2rem rgba(245, 87, 108, 0.25);
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 87, 108, 0.3);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    border-radius: 2px;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    margin-top: auto;
}

footer h5 {
    color: #f5576c;
    font-weight: 600;
    margin-bottom: 20px;
}

footer p, footer li {
    color: #aaa;
    font-size: 0.95rem;
}

footer a {
    color: #aaa;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #f5576c;
}

footer hr {
    opacity: 0.3;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .carousel {
        min-height: 300px;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    footer {
        text-align: center;
    }

    footer .col-md-4:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .card {
        margin-bottom: 15px;
    }
}

/* Utility Classes */
.bg-light {
    background-color: #f8f9fa !important;
}

.text-light {
    color: #aaa !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Container */
.container {
    max-width: 1200px;
}
