/* ARCHI-TECH Premium Dark Luxury UI Style Sheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

/* Color Variables */
:root {
    --primary-color: #111111;
    --secondary-color: #1A1A1A;
    --accent-color: #B2BEB5;
    --text-color: #FFFFFF;
    --gray-color: #B0B0B0;
    --light-accent-color: rgba(178, 190, 181, 0.1);
    --glass-background: rgba(26, 26, 26, 0.75);
    --glass-border: rgba(178, 190, 181, 0.12);
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Elements */
body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--gray-color);
    font-weight: 300;
}

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

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

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

/* Customized Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-color);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-background);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(178, 190, 181, 0.08);
}

/* Golden Buttons */
.btn-gold {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 0.8rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
}
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition-smooth);
    z-index: -1;
}
.btn-gold:hover {
    color: #000000;
}
.btn-gold:hover::before {
    left: 0;
}

.btn-gold-filled {
    display: inline-block;
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: #000000;
    padding: 0.8rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.btn-gold-filled:hover {
    background: transparent;
    color: var(--text-color);
    box-shadow: 0 0 20px rgba(178, 190, 181, 0.3);
}

/* Header & Navigation */
.navbar-custom {
    background-color: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}
.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.15em;
    font-size: 1.6rem;
    color: var(--text-color);
}
.navbar-custom .navbar-brand span {
    color: var(--accent-color);
}
.navbar-custom .nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-color);
    padding: 0.5rem 1.2rem;
    margin: 0 0.2rem;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.7) 50%, rgba(17, 17, 17, 0.95) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title span {
    color: var(--accent-color);
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Background Animation */
.animated-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: 
        linear-gradient(rgba(178, 190, 181, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 190, 181, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Section Header */
.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}
.section-title {
    font-size: 2.8rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

/* Service Box */
.service-card {
    height: 100%;
}
.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Masonry Projects */
.project-grid-item {
    margin-bottom: 30px;
}
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
}
.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.4) 60%, rgba(17, 17, 17, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
    opacity: 0.9;
}
.project-card-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.project-card-category {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.project-card:hover .project-card-image {
    transform: scale(1.08);
}
.project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(17, 17, 17, 0.98) 0%, rgba(17, 17, 17, 0.5) 50%, rgba(17, 17, 17, 0.2) 100%);
}

/* Before / After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ba-resize {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: width 0.1s ease-out;
}
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
    transition: left 0.1s ease-out;
}
.ba-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(178, 190, 181, 0.6);
}
.ba-label {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
}
.ba-label.before {
    left: 20px;
}
.ba-label.after {
    right: 20px;
}

/* Statistics Counter */
.counter-box {
    text-align: center;
}
.counter-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.counter-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Gallery Hover */
.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
}
.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}
.gallery-hover-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}
.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}
.gallery-card:hover .gallery-hover-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}
.lightbox-modal .modal-body {
    padding: 0;
    position: relative;
}
.lightbox-modal img {
    max-height: 85vh;
    object-fit: contain;
    width: 100%;
}
.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--text-color);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.lightbox-close:hover {
    color: var(--accent-color);
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    padding: 3rem;
}
.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
}
.testimonial-name {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.testimonial-role {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Details Info */
.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
}
.contact-info-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
}
.contact-info-text h5 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

/* Footer Section */
.footer-section {
    background-color: #0A0A0A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem 0;
}
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.15em;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: block;
}
.footer-logo span {
    color: var(--accent-color);
}
.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: var(--gray-color);
}
.footer-social-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(178, 190, 181, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Admin Styling Overrides */
.admin-sidebar {
    background-color: var(--secondary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 100vh;
}
.admin-sidebar .nav-link {
    color: var(--gray-color);
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--accent-color);
    background-color: rgba(178, 190, 181, 0.05);
    border-left-color: var(--accent-color);
}
.table-dark-custom {
    background-color: var(--secondary-color);
    color: var(--text-color);
}
.table-dark-custom th {
    font-family: var(--font-heading);
    border-bottom: 2px solid var(--accent-color) !important;
}

/* Form Styles */
.form-dark-control {
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.75rem 1rem;
}
.form-dark-control:focus {
    background-color: #222222;
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 0 8px rgba(178, 190, 181, 0.25);
}

/* Team Card hover */
.team-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}
.team-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.5) 70%, transparent 100%);
    padding: 2rem;
    transition: var(--transition-smooth);
}
.team-bio {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.team-card:hover .team-image {
    transform: scale(1.05);
}
.team-card:hover .team-bio {
    max-height: 100px;
    opacity: 1;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .glass-card {
        padding: 1.5rem;
    }
    .ba-slider {
        height: 350px;
    }
}
