/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --color-bg-dark: #0A1128;
    --color-bg-light: #F4F6FC;
    --color-primary: #A02C39;
    --color-accent: #E72E1F;
    --color-secondary: #001F54;
    --color-text-dark: #0E131F;
    --color-text-light: #F4F9FF;
    --color-text-gray: #5B6171;
    --color-gold: #FCB900;
    --color-glass-bg: rgba(10, 17, 40, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-glass-border);
    transition: var(--transition-smooth);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 17, 40, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    color: rgba(244, 249, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-text-light);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: calc(100% - 24px);
}

.btn-contact-nav {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 20px;
    padding: 8px 20px;
}

.btn-contact-nav:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-contact-nav::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-light);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   MOBILE DRAWER MENU
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: var(--color-bg-dark);
    z-index: 2000;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-drawer-btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-item {
    color: rgba(244, 249, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-item:hover {
    color: var(--color-text-light);
    padding-left: 5px;
}

.btn-drawer-contact {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
    border-radius: 25px;
    padding: 12px;
    margin-top: 20px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.badge {
    background: rgba(160, 44, 57, 0.2);
    border: 1px solid rgba(160, 44, 57, 0.4);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: rgba(244, 249, 255, 0.8);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-text-light);
    box-shadow: 0 5px 15px rgba(231, 46, 31, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 46, 31, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 15px;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .wave-path {
    fill: var(--color-bg-light);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
    padding: 100px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.sub-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.heading-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.about-content .heading-line {
    margin: 0 0 20px 0;
}

.section-desc {
    color: var(--color-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   VISION & MISSION
   ========================================================================== */
.vision-section {
    background-color: var(--color-bg-light);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.vision-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-secondary);
    transition: var(--transition-smooth);
}

.vision-card.accent {
    border-top-color: var(--color-primary);
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 25px;
}

.vision-card.accent .card-icon {
    color: var(--color-primary);
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text-gray);
    line-height: 1.7;
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.about-section {
    background-color: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img-frame {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-img-frame::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--color-primary);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-description {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    margin-bottom: 30px;
}

.strengths-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.strengths-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.strengths-list li {
    display: flex;
    gap: 15px;
}

.icon-span {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(160, 44, 57, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.strengths-list strong {
    display: block;
    color: var(--color-secondary);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

/* ==========================================================================
   SERVICES & PRODUCTS (TABS)
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-light);
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(160, 44, 57, 0.2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    border-bottom-color: var(--color-accent);
}

.service-card-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.service-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.service-card p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
}

/* Products Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.product-card h4 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.product-card p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   GALLERY SHOWCASE
   ========================================================================== */
.experts-section {
    background-color: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.8) 0%, rgba(10, 17, 40, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay span {
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info-panel .sub-title {
    color: var(--color-accent);
}

.contact-info-panel .section-title {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.contact-panel-desc {
    color: rgba(244, 249, 255, 0.7);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-text h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-text p, .info-text a {
    color: rgba(244, 249, 255, 0.7);
}

.info-text a:hover {
    color: var(--color-accent);
}

/* Contact Form Panel */
.contact-form-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(244, 249, 255, 0.6);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.btn-block {
    width: 100%;
    border: none;
    font-size: 1rem;
    padding: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #050A18;
    color: rgba(244, 249, 255, 0.6);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h5, .footer-newsletter h5 {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 3px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-newsletter .credits {
    font-size: 0.8rem;
    color: rgba(244, 249, 255, 0.35);
    margin-top: 20px;
}

/* ==========================================================================
   LIGHTBOX / PHOTO VIEWER MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--color-text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-height: 75vh;
    margin: 0 auto 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FFFFFF;
    color: var(--color-text-dark);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 4000;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #10B981;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.5rem;
    color: #10B981;
}

.toast-text h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-text p {
    font-size: 0.85rem;
    color: var(--color-text-gray);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
        width: fit-content;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
