/* Memmora Enterprise - Custom Styles */

:root {
    --primary-color: #000000; /* Pure Black from logo bg */
    --secondary-color: #111111;
    --accent-color: #f7941d; /* Vibrant Orange from logo icon */
    --logo-gold: #c5a35d; /* Secondary accent */
    --logo-teal: #00a99d; /* Secondary accent */
    --dark-bg: #1a1a1a; /* Softer Charcoal for dark sections */
    --light-bg: #ffffff;
    --off-white: #f8f9fa;
    --white: #ffffff;
    --text-muted-dark: rgba(255, 255, 255, 0.6);
    --text-muted-light: rgba(0, 0, 0, 0.6);
    --accent-orange: #f7941d;
    --accent-teal: #00a99d;
    --accent-red: #ed1c24;
    --accent-green: #39b54a;
    --light-bg: #fdfcfb;
    --text-dark: #1a1a1a;
    --text-muted: #4b5563;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

p {
    color: #4b5563; /* Gray 600 */
    font-size: 1.1rem;
    font-weight: 400;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white) !important;
    letter-spacing: 0.1em;
}

.navbar-brand img {
    border-radius: 5px;
    object-fit: contain;
}

.filter-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    right: 15px;
    height: 1px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

.nav-phone-btn {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    border: 1px solid var(--accent-color);
}

.nav-phone-btn:hover {
    background: transparent;
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #000000;
        padding: 20px;
        margin-top: 15px;
        border-radius: 15px;
    }
    
    .nav-phone-btn {
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100% !important;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-item .container {
    position: relative;
    z-index: 2;
}

.hero-slider h1 {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-slider h1 span {
    color: var(--accent-color);
}

.hero-slider p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Slide Animations */
.slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.slide-up-delay-1 {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.slide-up-delay-2 {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

/* Indicators Styling */
.carousel-indicators [button] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: var(--white);
}

.carousel-indicators .active {
    background-color: var(--accent-color);
}

.btn-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.btn-outline-light {
    border-radius: 12px;
    padding: 14px 36px;
    font-weight: 700;
    border-width: 2px;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 40px;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

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

/* About Section */
.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Products Section */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    background: var(--white);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.product-card img {
    height: 250px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 30px;
}

/* Why Choose Us */
.feature-box {
    padding: 40px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.2);
    border-color: var(--primary-color);
}

.feature-box i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-box:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.feature-box h5 {
    margin-bottom: 15px;
}

.feature-box:hover h5, .feature-box:hover p {
    color: var(--white);
}

/* Testimonials */
.testimonial-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.contact-info-box {
    padding: 30px 15px;
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-info-box i {
    color: var(--accent-color);
}

.contact-info-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-info-box a {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
}


/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 60px 0;
    }
}

/* Override Bootstrap primary with our brand accent */
.text-primary {
    color: var(--accent-color) !important;
}

/* Testimonial Slider Tweaks */
#testimonials {
    padding-bottom: 100px !important;
}

.testimonial-card {
    background: transparent !important;
    border: none !important;
    padding: 20px;
    box-shadow: none !important;
}

.carousel-indicators [type="button"] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background-color: var(--text-dark) !important;
    opacity: 0.2;
    margin: 0 8px;
}

.carousel-indicators .active {
    opacity: 1 !important;
    background-color: var(--accent-color) !important;
}

/* Section Themes */
.section-dark {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 100px 0;
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .text-muted {
    color: var(--text-muted-dark) !important;
}

.section-light {
    background-color: var(--light-bg);
    color: var(--text-dark);
    padding: 100px 0;
}

.section-light .section-title {
    color: var(--text-dark);
}

/* Card & Card Body overrides for dark theme */
.section-dark .card {
    background: #252525;
    border: 1px solid #333;
}

.section-dark .card-body h3, 
.section-dark .card-body h5 {
    color: var(--white);
}

.section-dark .testimonial-card p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.section-dark .testimonial-card h5,
.section-dark .testimonial-card h6 {
    color: var(--white) !important;
}

.section-dark .testimonial-card .text-muted {
    color: var(--text-muted-dark) !important;
}
