/* assets/css/style.css - Ultra Premium Redesign */

:root {
    /* Brand Colors */
    --primary-navy: #0B1F3A;
    --primary-navy-dark: #071527;
    --secondary-charcoal: #2B2F33;
    --secondary-darker: #1A1C1E;
    --bg-glass-silver: #E6E9EC;
    --accent-copper: #D37843;
    --accent-copper-hover: #E4864F;

    /* Utility Colors */
    --text-main: #333333;
    --text-muted: #6c757d;
    --light-grey: #f8f9fa;
    --grid-line: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-glass-silver);
    -webkit-font-smoothing: antialiased;
}

body.inner-page>section:first-of-type {
    padding-top: 11rem;
    /* 176px - clears navbar perfectly while letting background sit behind it */
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Premium Typography */
.display-luxury {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.subheading-luxury {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-copper);
}

/* Luxury Navbar */
.luxury-navbar {
    background: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(11, 31, 58, 0.75);
    /* More transparent for glass effect */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-name {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.brand-accent {
    color: var(--accent-copper);
}

.nav-links-premium .nav-item {
    margin: 0 0.8rem;
}

.nav-links-premium .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links-premium .nav-link:hover,
.nav-links-premium .nav-link.active {
    color: #fff;
}

.nav-links-premium .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-copper);
    transition: width 0.3s ease;
}

.nav-links-premium .nav-link:hover::after,
.nav-links-premium .nav-link.active::after {
    width: 100%;
}

.glass-dropdown {
    background: rgba(11, 31, 58, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-radius: 0;
    padding: 1rem 0;
}

.glass-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
}

.glass-dropdown .dropdown-item:hover {
    background: rgba(181, 106, 60, 0.1);
    color: var(--accent-copper);
    padding-left: 2rem;
}

/* Luxury Buttons */
.btn-luxury-cta {
    background-color: var(--accent-copper);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    border-radius: 0;
    border: 1px solid var(--accent-copper);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
}

.btn-luxury-cta:hover {
    background-color: transparent;
    color: var(--accent-copper);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(181, 106, 60, 0.2);
}

.btn-outline-luxury {
    background-color: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Premium Layout & Sections */
.section-luxury {
    padding: 5rem 0;
}

.section-dark {
    background-color: var(--primary-navy-dark);
    color: #fff;
}

.section-charcoal {
    background-color: var(--secondary-charcoal);
    color: #fff;
}

/* Engineering Grid Background */
.bg-engineering-grid {
    position: relative;
    background-color: var(--primary-navy-dark);
}

.bg-engineering-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.3;
}

/* Composite Texture Overlay */
.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h10v10H0V0zm10 10h10v10H10V10z" fill="rgba(255,255,255,0.02)" fill-rule="evenodd"/></svg>');
    z-index: 1;
    pointer-events: none;
}

/* Cards */
.luxury-card {
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.luxury-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.luxury-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.luxury-card:hover::after {
    transform: scaleX(1);
}

.luxury-card-img {
    height: 350px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.luxury-card:hover .luxury-card-img {
    transform: scale(1.05);
}

.luxury-icon-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.5rem 2rem;
    height: 100%;
    transition: all 0.4s ease;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.luxury-icon-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(211, 120, 67, 0.5);
    /* Glowing copper border */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(211, 120, 67, 0.1);
}

.luxury-icon-card i {
    font-size: 3.5rem;
    color: var(--accent-copper);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.luxury-icon-card:hover i {
    text-shadow: 0 0 15px rgba(211, 120, 67, 0.6);
    transform: scale(1.1);
}

/* Orbital Wheel Redesign */
.co-orbital {
    max-width: 420px;
    margin: 0 auto;
}

.co-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 2px solid rgba(11, 31, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    margin-top: -30px;
    /* Centering compensation */
    margin-left: -30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.co-node:hover {
    border-color: var(--accent-copper);
    color: var(--accent-copper);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(211, 120, 67, 0.2);
}

.co-node.active,
.co-node.completed {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    color: white;
}

.co-node.active {
    transform: scale(1.25);
    box-shadow: 0 10px 25px rgba(211, 120, 67, 0.4);
}

.co-node.completed {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(211, 120, 67, 0.2);
}

.detail-panel-light {
    transition: all 0.3s ease;
}

.detail-panel-light.fade-out {
    opacity: 0;
    transform: translateX(15px);
}

.shadow-xl {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Graphic Labels */
.graphic-label {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    backdrop-filter: blur(5px);
    margin: 0.5rem 0.5rem 0 0;
}

/* Utility */
.content-z {
    position: relative;
    z-index: 10;
}

/* Added Utility Classes for Colors & Typography */
.bg-primary-navy {
    background-color: var(--primary-navy) !important;
}

.bg-secondary-darker {
    background-color: var(--secondary-darker) !important;
}

.bg-light-grey {
    background-color: var(--light-grey) !important;
}

.text-primary-navy {
    color: var(--primary-navy) !important;
}

.text-accent-copper {
    color: var(--accent-copper) !important;
}

.text-glass-silver {
    color: var(--bg-glass-silver) !important;
}

.text-accent-teal {
    color: var(--accent-copper) !important;
    /* using copper for consistency */
}

.hover-copper:hover {
    color: var(--accent-copper) !important;
}

.transition {
    transition: all 0.3s ease;
}

.uppercase {
    text-transform: uppercase !important;
}

.tracking-wider {
    letter-spacing: 2px !important;
}

/* Custom Opacity Utilities */
.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-15 {
    opacity: 0.15 !important;
}

.opacity-20 {
    opacity: 0.2 !important;
}

.opacity-85 {
    opacity: 0.85 !important;
}

.opacity-90 {
    opacity: 0.9 !important;
}

.text-xs {
    font-size: 0.75rem !important;
}

.line-height-1\.8 {
    line-height: 1.8 !important;
}

/* Product Card Glassmorphism Hover */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.luxury-card:hover .glass-panel {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
}

.btn-solid-copper {
    background: var(--accent-copper);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-solid-copper i {
    transition: transform 0.3s ease;
}

.btn-solid-copper:hover {
    background: var(--accent-copper-hover);
    color: #fff;
}

.btn-solid-copper:hover i {
    transform: translateX(5px);
}

/* Phosphor icon sizing */
.ph,
.ph-fill,
.ph-bold,
.ph-duotone {
    display: inline-block;
    line-height: 1;
}

/* Footer & Links */
.footer-links a {
    color: var(--bg-glass-silver);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--accent-copper);
    transform: translateX(5px);
}

.footer-bottom-link {
    text-decoration: none;
}

.footer-bottom-link:hover {
    color: var(--accent-copper) !important;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    margin-top: 0 !important;
}

/* Hover & Nested Dropdowns */
@media all and (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInDropdown 0.2s ease-out;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -8px;
        margin-left: 0;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
        animation: fadeInDropdown 0.2s ease-out;
    }
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure mobile dropdowns still open cleanly */
@media all and (max-width: 991px) {
    .dropdown-submenu>.dropdown-menu {
        padding-left: 1rem;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* Technical Specs Table Design */
.tech-spec-table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 4px !important;
}

.tech-spec-table th {
    background-color: var(--primary-navy);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border: none !important;
}

.tech-spec-table th.copper-header {
    background-color: var(--accent-copper);
}

.tech-spec-table td {
    background-color: #f4f5f7;
    color: var(--secondary-charcoal);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    vertical-align: middle;
    border: none !important;
}

.tech-spec-table td.rowspan-cell {
    background-color: #e9ecef;
    font-weight: 600;
}

/* Clean Hero Section Redesign */
.hero-clean {
    background-color: #f8f9fc;
    min-height: 100vh;
    /* Fixes blank space below, but allows expansion if content is tall */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
    /* Offset for fixed navbar */
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .hero-clean {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-clean .clean-badge {
        margin: 0 auto 1.5rem auto;
    }

    .hero-clean .d-flex.flex-wrap {
        justify-content: center;
    }
}

/* Fix for carousel crossfade overlapping text */
.hero-clean .carousel-item {
    background-color: #f8f9fc;
}

/* Subtle decorative background blob */
.hero-clean::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(181, 106, 60, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-clean::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(7, 21, 39, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-clean-content {
    position: relative;
    z-index: 2;
}

.hero-clean-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Decorative backdrop for the image */
.hero-visual-backdrop {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: var(--accent-copper);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: blob-morph 8s ease-in-out infinite alternate;
    opacity: 0.15;
}

.hero-visual-backdrop-secondary {
    position: absolute;
    width: 60%;
    height: 60%;
    background-color: var(--primary-navy);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: -1;
    animation: blob-morph 10s ease-in-out infinite alternate-reverse;
    opacity: 0.05;
    right: 5%;
    bottom: 5%;
}

@keyframes blob-morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: scale(1);
    }

    100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: scale(1.05) rotate(5deg);
    }
}

.hero-image-main {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(7, 21, 39, 0.15));
    /* Beautiful 3D shadow directly to the transparent cutout */
}

@media (max-width: 991.98px) {
    .hero-clean-visual {
        margin-top: 3rem;
    }

    .hero-image-main {
        max-height: 300px !important;
        margin: 0 auto;
        display: block;
    }

    .hero-visual-backdrop {
        width: 300px;
        height: 300px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-visual-backdrop-secondary {
        width: 200px;
        height: 200px;
        left: 50%;
        transform: translateX(-30%);
    }

    .position-absolute.bg-white.p-3 {
        transform: scale(0.85);
    }
}

@keyframes float-soft {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.clean-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(181, 106, 60, 0.1);
    color: var(--accent-copper);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.clean-badge i {
    margin-right: 8px;
}
/* Table action buttons (like Available on Request) */
.btn-table-action {
    background-color: #ffffff;
    color: var(--primary-navy);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.btn-table-action:hover {
    background-color: var(--accent-copper) !important;
    color: #ffffff !important;
    border-color: var(--accent-copper) !important;
}

/* Premium Equal Grid Cards */
.premium-hover-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    border: 1px solid rgba(7, 21, 39, 0.05) !important;
}

.premium-hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 21, 39, 0.08) !important;
}

.premium-hover-card .icon-float-btn {
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(211, 120, 67, 0.3) !important;
}

.premium-hover-card:hover .icon-float-btn {
    transform: scale(1.1) rotate(45deg);
    background-color: var(--primary-navy) !important;
    color: white !important;
    box-shadow: 0 15px 30px rgba(7, 21, 39, 0.3) !important;
}

.premium-hover-card .transition-transform {
    transition: transform 0.7s ease;
}

.premium-hover-card:hover .transition-transform {
    transform: scale(1.05);
}

.link-hover-animated .transition-icon {
    transition: transform 0.3s ease;
}

.premium-hover-card:hover .link-hover-animated .transition-icon {
    transform: translateX(5px);
}
