/* --- Global Reset & Variables --- */
:root {
    --primary: #0f172a;       /* Rich Midnight Slate */
    --accent: #d8a950;        /* Subtle Luxury Gold */
    --accent2: #0d6efd; 
    --accent-hover: #c59e56;  /* Deep Gold Hover */
    --text-dark: #1e293b;     /* High Contrast Charcoal body text */
    --text-light: #64748b;    /* Elegant Subtext Slate */
    --bg-light: #f8fafc;      /* Clean off-white */
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- Premium Glassmorphism Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* background: rgba(15, 23, 42, 0.85); */
    background: rgb(13 110 253 / 75%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--accent);
    font-weight: 300;
    margin-left: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-right a {
    text-decoration: none;
    /* color: rgba(255, 255, 255, 0.8); */
    /*color: #dfb76c;*/
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s var(--transition);
}

.nav-right a:hover {
    color: var(--accent);
}

.based-link {
    border: 1px solid var(--accent);
    padding: 6px 16px;
    border-radius: 4px;
    color: var(--accent) !important;
    transition: all 0.3s var(--transition) !important;
}

.based-link:hover {
    background: var(--accent);
    color: var(--primary) !important;
}

/* --- High-End Hero Layout --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 4%;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), 
                url('assets/logo/hero.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle, .hero-subtitle2 {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 12px;
}
.hero-subtitle {
    color: var(--accent);
}

.hero-subtitle2 {
    color: #ffffff;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 24px auto;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- High-End Cinematic Modal Architecture --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.modal-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-wrapper {
    background: #0f172a; /* Sleek dark theme matching our primary base color */
    width: 95%;
    max-width: 900px;  /* Expanded container width for proper landscape images */
    border-radius: 12px;
    position: relative;
    /*box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);*/
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.modal-active .modal-wrapper {
    transform: scale(1);
}

/* Elegant Floating Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2010;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-close:hover {
    background: #ff4800;
    border-color: #ff4800;
    transform: rotate(90deg);
}

/* Main Display Container */
.modal-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    position: relative;
    width: 100%;
    height: 60vh; 
    min-height: 400px;
    max-height: 600px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    transition: background-image 0.2s ease-in-out;
}

/* Structural Sizer Center Block */
.modal-image-container {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pushes captions elegantly to the lower tray */
    align-items: center;
    pointer-events: none; /* Allows gestures to bleed through to full canvas safely */
}

/* Translucent Caption Ribbon overlay */
.modal-caption {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent); /* Uses your luxury gold tint */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Large High-Contrast Industrial Navigation Controls */
.nav-arrow {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    z-index: 2005;
}

.nav-arrow:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

/* Spacing layout gutters */
.prev-arrow { margin-right: 20px; }
.next-arrow { margin-left: 20px; }

/* --- Responsive Adjustments for Mobile Screens --- */
@media (max-width: 768px) {
    .modal-body {
        padding: 15px;
        height: 50vh;
    }
    
    .nav-arrow {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }
    
    .prev-arrow { margin-right: 10px; }
    .next-arrow { margin-left: 10px; }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .modal-caption {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}


.showroom-link {
  font-family: sans-serif;
  font-weight: 800;
  text-decoration: underline;
  /* Create the gradient background */
  background: linear-gradient(
    45deg, #1846b1, #e89a08, #a51515);
  
  /* Make the background 3x the width of the text */
  background-size: 300% 100%;
  
  /* Clip the background to the text and make the text fill transparent */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Apply the animation */
  animation: shift-gradient 3s ease infinite;
}

/* Define the animation to slide the background */
@keyframes shift-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.product-info h3, .contact h2 {
      /*font-family: sans-serif;*/
  /*font-weight: 800;*/
  text-decoration: none;
  /* Create the gradient background */
  background: linear-gradient(45deg, #1846b1, #e89a08, #1e293b);
  
  /* Make the background 3x the width of the text */
  background-size: 300% 100%;
  
  /* Clip the background to the text and make the text fill transparent */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Apply the animation */
  animation: shift-gradient 3s ease infinite;
}


/* --- Upgraded Animated Luxury Button --- */
.btn {
    padding: 14px 26px;
    /* 1. Subtle 3-tone gradient: Primary Slate -> Rich Gold -> Soft Champagne Accent */
    background: linear-gradient(135deg, #1846b1, #e89a08, #1e293b);
    /*background: linear-gradient(135deg, #1846b1, #1e293b,#ff4800);*/
    /* 2. Stretch the background wide so the animation has room to slide smoothly */
    background-size: 300% 300%; 
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
    
    /* 3. The smooth fluid animation loop */
    animation: luxuryShimmer 3s ease infinite;
}

.btn i {
    transition: transform 0.3s var(--transition);
}

/* Hover micro-interactions */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(223, 183, 108, 0.25);
    color: #ffffff; /* Ensures contrast remains crisp */
}

.btn:hover i {
    transform: translateX(5px);
}

/* --- Smooth Liquid Gradient Keyframes --- */
@keyframes luxuryShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* --- Section Structural Framework --- */
.section {
    margin: 0px 4% 0 4%;
    padding-top: 95px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    color: var(--accent2);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.section p {
    max-width: 760px;
    margin: 0 auto 60px auto;
    color: var(--text-light);
    font-size: 16px;
}

/* --- Clean Portfolio Grid --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.product-img-container {
    position: relative;
    width: 100%;
    height: 225px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-badge {
    /*background: #ffffff;*/
        background: #efab2c94; 
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-info {
    padding: 24px;
    text-align: left;
}

.product-info h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-link {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- Services Layout Architecture --- */
.services-grid .card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.services-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(223, 183, 108, 0.1);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.icon-box i {
    font-size: 24px;
    color: var(--accent);
}

.services-grid .card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.services-grid .card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* --- Deep Luxury Contact Footer --- */
.contact {
    background: var(--primary);
    color: #ffffff;
    padding: 100px 4%;
    margin-top: 120px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 30px;
    margin-bottom: 60px;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item i {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 20px;
}

.contact-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.contact-item a {
    font-size: 18px;
    /*color: #ffffff;*/
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent);
}

.map-link {
    font-size: 14px !important;
    color: var(--accent) !important;
    text-decoration: underline !important;
}

.footer {
    background: #0a0f1d;
    padding: 30px 4%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive Adaptations --- */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero p {
        font-size: 15px;
    }
    .nav-container {
        flex-direction: column;
        gap: 8px;
    }
    .nav-right {
        gap: 16px;
    }
    .nav-left{
        display: none;
    }
    .nav-right a {
        font-size: 13px;
    }
    .section {
        margin: 0px 4% 0 4%;
        padding-top: 95px;
    }
    .section h2 {
        font-size: 28px;
    }
}