/* main.css */

/* General Styles */
:root {
    --primary-color: #1e7b85;
    --secondary-color: #3d9970;
    --accent-color: #f39c12;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 82px; /* Adjust based on navbar height */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

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

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

.btn {
    border-radius: var(--border-radius);
    padding: 10px 20px;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.text-center .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Navbar */
/* Reset some default styles that might interfere */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Make sure the navbar is truly fixed and transparent */
.navbar {

    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Style for when scrolling down */
.navbar.scrolled {
    position: fixed; /* Now it becomes fixed when scrolled */
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Logo and brand styling */
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand .logo {
    height: 50px;
    margin-right: 10px;
}

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

/* Navigation links */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f8d148 !important; /* Gold accent color */
}

.navbar-nav .nav-link.active {
    border-bottom: 2px solid #f8d148;
}

/* When scrolled, change nav link colors */
.navbar.scrolled .navbar-nav .nav-link {
    color: #333 !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: #124b2c !important; /* Dairy green when scrolled */
}

/* Full hero section that starts from the very top */
.full-hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background container (video or image) */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Video background */
#bgVideo {
     position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
}

/* Image background alternative */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Dark overlay for better text contrast */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Hero content styling */
.hero-content {
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: #f8d148; /* Gold color for "Royal Quality" */
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Button styling */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #f8d148;
    color: #333;
    border: none;
}

.primary-btn:hover {
    background-color: #e6c030;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(248, 209, 72, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* For mobile navigation */
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.8);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .navbar.scrolled .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
    }
}
/* Features Section */
.features {
    padding: 60px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    background-color: white;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 123, 133, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2rem;
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Product Cards */
.product-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
    transition: var(--transition);
    height: 100%;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* main.css (continued) */

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

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* About Preview Section */
.about-preview {
    background-color: white;
}

.about-content h2 {
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

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

.testimonial-card .rating {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-card .content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
}

.testimonial-card .author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 15px;
}

.testimonial-card .author-info h5 {
    margin-bottom: 5px;
}

.testimonial-card .author-info p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    background-color: #f8f9fa;
}

.newsletter-inner {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    color: white;
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    height: 50px;
}

/* Footer */
.footer {
    color: #f8f9fa;
}

.footer h5 {
    margin-bottom: 20px;
    color: white;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #adb5bd;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.bottom-footer {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Page Header */
.page-header {
    background-color: #f8f9fa;
    padding: 80px 0 30px;
    margin-bottom: 40px;
}

.page-header h1 {
    margin-bottom: 15px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* Products Filter */
.filter-options {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

/* Value Cards */
.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

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

.value-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 123, 133, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2rem;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background-color: #e9ecef;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    width: 45%;
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

/* Team Cards */
.team-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
    transition: var(--transition);
    height: 100%;
}

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

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-info .bio {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Contact Section */
.contact-info {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item .icon {
    margin-right: 20px;
    min-width: 40px;
    height: 40px;
    background-color: rgba(30, 123, 133, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-form-wrapper {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

/* Product Detail */
.product-image-large {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.product-details .product-title {
    margin-bottom: 10px;
}

.product-features ul {
    padding-left: 20px;
}

.product-features ul li {
    margin-bottom: 8px;
}

.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
}

.product-tabs .nav-tabs {
    border-bottom: none;
}

.product-tabs .nav-link {
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 12px 20px;
    font-weight: 600;
    color: var(--text-color);
}

.product-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.empty-state i {
    margin-bottom: 20px;
    color: #adb5bd;
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}