/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: -1;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Main Page Product Carousel */
#productCarousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#productCarousel .carousel-item {
    height: 400px;
    background-color: #fff;
}

#productCarousel .carousel-item img {
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

#productCarousel .carousel-caption {
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 15px;
    bottom: 20px;
}

#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
    width: 10%;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.5);
}

#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

#productCarousel .carousel-indicators {
    margin-bottom: 1rem;
}

#productCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Product Detail Page Carousel */
.product-gallery .carousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-gallery .carousel-item {
    height: 300px;
    background-color: #f8f9fa;
}

.product-gallery .carousel-item img,
.product-gallery .carousel-item video {
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next {
    width: 10%;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.5);
}

.product-gallery .carousel-control-prev-icon,
.product-gallery .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 10%;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.5);
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

/* Services Section */
.services-section {
    background-color: var(--light-color);
}

.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Address link hover effects */
.info-card a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
    transition: color 0.3s ease;
}

.info-card a {
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
        height: 120vh;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .services-section {
    animation: fadeIn 1s ease-out;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-color);
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

#testimonialCarousel {
    padding: 20px 0;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.5);
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
}

#testimonialCarousel .carousel-indicators {
    margin-bottom: 0;
}

#testimonialCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--primary-color);
}

#testimonialCarousel .carousel-item {
    padding: 0 15px;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.floating-contact-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 99, 235, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }
}

/* Contact Modal Styles */
#contactModal .modal-dialog {
    max-width: 500px;
}

#contactModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#contactModal .modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

#contactModal .modal-title {
    font-weight: 600;
}

/* Chat Container */
.chat-container {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: white;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message-content {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.bot-message .message-content {
    background: var(--primary-color);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message .message-content {
    background: #e9ecef;
    color: var(--dark-color);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    margin-left: auto;
}

.chat-input-container {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.chat-input-container .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-input-container .form-control {
    border: none;
    padding: 12px 20px;
    border-radius: 25px 0 0 25px;
}

.chat-input-container .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.chat-input-container .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 20px;
    border: none;
}

/* Contact Options */
.contact-options {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.contact-options h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-options .btn {
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.contact-options .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Contact Modal */
@media (max-width: 576px) {
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    #contactModal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .chat-messages {
        height: 250px;
    }
    
    .message-content {
        max-width: 90%;
    }
} 