/* SIA AGLAR - Premium CSS Stylesheet */
/* Features Modern Dark Theme, Glassmorphism, and Fluid Animations */

/* --- 1. Design System & Variables --- */
:root {
    --bg-darker: #2d0606;
    --bg-dark: #3f0707;
    --bg-card: #000000;
    --bg-card-hover: #140202;
    --text-primary: #ffffff;
    --text-secondary: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #ef4444;
    --primary-hover: #ffffff;
    --primary-glow: rgba(239, 68, 68, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-hover: rgba(255, 255, 255, 0.2);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px 0 var(--primary-glow);
}

/* --- 2. Base Styles & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Global Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-darker);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color-hover);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-text:hover {
    color: var(--primary-hover);
    gap: 12px;
}

/* Section Common Layout */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-tag {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* --- 3. Sticky Navigation Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background-color: rgba(6, 9, 19, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(6, 9, 19, 0.85);
    box-shadow: var(--shadow-md);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.3));
    transition: var(--transition-normal);
}

.logo-svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.3));
    transition: var(--transition-normal);
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-link:hover .logo-svg {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
}

.logo-sub {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    margin-left: 2px;
    border: 1px solid var(--primary);
    padding: 1px 4px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background-color: var(--primary);
    color: var(--bg-darker);
}

/* Mobile Nav Trigger Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(6, 9, 19, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal) ease-in-out;
}

.mobile-nav-overlay.active {
    transform: translateX(-100%);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.mobile-nav-item:hover {
    color: var(--primary);
}

/* --- 4. Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 60px;
}

.hero-content {
    max-width: 780px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary-glow);
    color: var(--primary);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Stats Block */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    animation: fadeInUp 1s ease-out forwards;
}

.stat-card {
    background: rgba(22, 22, 26, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Ambient Glow Blobs */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: 10%;
    right: -10%;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background-color: #ffffff;
    bottom: -10%;
    left: -5%;
}

/* --- 5. About Section --- */
.about-section {
    background-color: var(--bg-dark);
}

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

.lead-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 500;
    color: var(--text-primary);
}

/* Glass Card */
.about-card-container {
    position: relative;
}

.about-glass-card {
    background: rgba(22, 22, 26, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
}

.glass-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 24px;
    position: relative;
}

.value-item {
    margin-bottom: 20px;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* --- 6. Services Grid Section --- */
.services-section {
    background-color: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-image-wrapper {
    height: 240px;
    position: relative;
    overflow: hidden;
}

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

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

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 24, 38, 0) 40%, rgba(18, 24, 38, 0.8) 100%);
}

.service-icon-floating {
    position: absolute;
    bottom: -24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
    transition: var(--transition-normal);
}

.service-icon-floating svg {
    width: 24px;
    height: 24px;
}

.service-card:hover .service-icon-floating {
    transform: translateY(-4px) scale(1.05);
    background-color: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.service-info {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.service-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-primary);
}

.service-card-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* --- 7. Portfolio Gallery Section --- */
.gallery-section {
    background-color: var(--bg-dark);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-color-hover);
    background-color: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.gallery-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.gallery-card-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.06);
}

.gallery-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 9, 19, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-card:hover .gallery-card-hover {
    opacity: 1;
}

.gallery-card-zoom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.gallery-card:hover .gallery-card-zoom-icon {
    transform: scale(1);
}

.gallery-card-info {
    padding: 20px;
    flex-grow: 1;
}

.gallery-card-tag {
    display: block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.gallery-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

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

.no-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- 8. Detailed Service Modal --- */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.service-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 5, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-hover);
    border-radius: 20px;
    width: 90%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    transform: translateY(40px);
    transition: transform var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg), 0 24px 60px rgba(0, 0, 0, 0.6);
}

.service-modal.active .modal-content-wrapper {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 9, 19, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
}

.modal-image-container {
    height: 300px;
    position: relative;
}

.modal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 24, 38, 0.1) 0%, rgba(18, 24, 38, 0.95) 100%);
}

.modal-header-text {
    position: absolute;
    bottom: 24px;
    left: 36px;
    right: 36px;
}

.modal-tag {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.modal-info-content {
    padding: 36px;
}

.modal-detailed-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-list-section {
    margin-bottom: 36px;
}

.modal-list-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.modal-features-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
}

.modal-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
}

.modal-features-list li span {
    line-height: 1.5;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-action-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.modal-cta-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0;
}

/* --- 9. Lightbox Modal --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 5, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.lightbox-btn:hover {
    background-color: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    transform: scale(1.05);
}

.lightbox-close-btn {
    top: 24px;
    right: 24px;
}

.lightbox-prev-btn {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next-btn {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.lightbox-image-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    background-color: var(--bg-darker);
}

.lightbox-image-box img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
}

/* --- 10. Contacts Section --- */
.contacts-section {
    background-color: var(--bg-darker);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

/* Live Status Widget */
.status-widget {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
    transition: var(--transition-normal);
}

.status-widget.open {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
    background-color: rgba(16, 185, 129, 0.06);
    box-shadow: 0 0 15px 0 rgba(16, 185, 129, 0.1);
}

.status-widget.closed {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    background-color: rgba(239, 68, 68, 0.06);
    box-shadow: 0 0 15px 0 rgba(239, 68, 68, 0.1);
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #64748b;
    position: relative;
}

.status-widget.open .status-indicator-dot {
    background-color: #10b981;
    animation: statusPulseGreen 2s infinite;
}

.status-widget.closed .status-indicator-dot {
    background-color: #ef4444;
    animation: statusPulseRed 2s infinite;
}

@keyframes statusPulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes statusPulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Detail Cards */
.contact-details-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: var(--transition-normal);
}

.contact-detail-card:hover {
    border-color: var(--border-color-hover);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-text {
    flex-grow: 1;
}

.contact-card-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-card-value {
    color: var(--text-secondary);
    line-height: 1.5;
}

.phones-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.phone-link, .email-link {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
    display: inline-block;
}

.phone-link:hover, .email-link:hover {
    color: var(--primary);
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.phone-messengers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.messenger-icon {
    width: 20px;
    height: 20px;
}

.messenger-link.wa:hover {
    color: #25d366;
    transform: scale(1.1);
}

.messenger-link.tg:hover {
    color: #0088cc;
    transform: scale(1.1);
}

/* Form Styling with Floating Labels */
.contacts-form-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background-color: rgba(6, 9, 19, 0.5);
    border: 1px solid var(--border-color-hover);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-normal);
}

.form-group textarea {
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-normal);
}

/* Floating Label Animation */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    padding: 2px 8px;
    background-color: var(--bg-card);
    border-radius: 4px;
    color: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary-glow);
}

/* Invalid State */
.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ef4444;
}

.form-group.invalid label {
    color: #ef4444;
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Submit Button & Spinner Loader */
.btn-submit {
    width: 100%;
    position: relative;
}

.btn-submit .spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(6, 9, 19, 0.2);
    border-top-color: var(--bg-darker);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-submit.loading .btn-text-content {
    opacity: 0;
}

.btn-submit.loading .spinner {
    opacity: 1;
    animation: rotateSpinner 0.8s linear infinite;
}

@keyframes rotateSpinner {
    to {
        transform: rotate(360deg);
    }
}

/* Map Integration */
.map-wrapper {
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

/* --- 11. Footer Component --- */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    max-width: 480px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.3));
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dev-credit {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- 12. Toast Notification --- */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: 8px;
    background-color: var(--bg-card);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    z-index: 100000;
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal) cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity var(--transition-normal);
}

.toast-notification.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.toast-notification.success {
    border-left-color: #10b981;
}

.toast-notification.error {
    border-left-color: #ef4444;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* --- 13. Keyframes & Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 14. Responsive Media Queries --- */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .main-header {
        height: 70px;
    }
    .logo-text {
        font-size: 1.4rem;
    }
    .nav-menu {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .hero-section {
        padding-top: 100px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .modal-header-text {
        bottom: 16px;
        left: 20px;
        right: 20px;
    }
    .modal-title {
        font-size: 1.8rem;
    }
    .modal-info-content {
        padding: 20px;
    }
    .modal-action-box {
        flex-direction: column;
        align-items: stretch;
    }
    .modal-action-box .btn {
        width: 100%;
    }
    .form-wrapper {
        padding: 24px;
    }
    .lightbox-btn {
        width: 40px;
        height: 40px;
    }
    .lightbox-prev-btn {
        left: 12px;
    }
    .lightbox-next-btn {
        right: 12px;
    }
    .lightbox-content-wrapper {
        max-width: 95%;
    }
}

/* --- Added Phone Widgets Styles --- */
.header-phone {
    display: flex;
    align-items: center;
}

.header-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 1px dashed var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    transition: var(--transition-normal);
}

.header-phone-link:hover {
    background-color: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.header-phone-link svg {
    transition: transform var(--transition-fast);
}

.header-phone-link:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.hero-phones {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.hero-phone-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.hero-phone-item:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.hero-phone-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .header-phone {
        display: none;
    }
}

