/* ===================================
   KEX Construction - Main Stylesheet
   Color Scheme:
   - Foundation: #F7F7F9 (Off-white background)
   - Structural: #1D1B1B (Deep charcoal)
   - Bridge: #DDC6B6 (Muted rose/beige)
   - Technical: #F7F7F7 (Very light gray)
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --foundation: #F7F7F9;
    --structural: #1D1B1B;
    --bridge: #DDC6B6;
    --technical: #F7F7F7;
    --primary: #1D1B1B;
    --secondary: #DDC6B6;
    --accent: #F7F7F9;
    --white: #ffffff;
    --text-dark: #1D1B1B;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--foundation);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--structural);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--technical);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--structural);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2d2b2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bridge);
    color: var(--structural);
}

.btn-secondary:hover {
    background-color: #d4b8a3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--structural);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--structural);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

/* Top Bar */
.top-bar {
    background-color: var(--structural);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a,
.top-bar-right a {
    color: var(--white);
    margin-right: 20px;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    color: var(--bridge);
}

.top-bar-right a {
    margin-right: 10px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.navbar-brand img {
    height: 75px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    color: var(--structural);
    font-weight: 500;
    padding: 10px 0;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--bridge);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--structural);
    margin: 3px 0;
    transition: 0.3s;
}

.navbar-btn {
    margin-left: 20px;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.navbar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 198, 182, 0.4);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--structural);
}

.dropdown-menu a:hover {
    background-color: var(--foundation);
    color: var(--bridge);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 750px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Image background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Video background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 27, 27, 0.4), rgba(29, 27, 27, 0.3));
    z-index: 1;
}

/* Much lighter overlay for video slides - videos shine through! */
.hero-slide[data-type="video"] .hero-overlay {
    background: linear-gradient(135deg, rgba(29, 27, 27, 0.15), rgba(29, 27, 27, 0.1));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Two Column Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 30px;
    animation: slideUp 1s ease-out;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideUp 1s ease-out 0.2s both;
}

/* Wizard Card */
.hero-wizard-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 680px;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

.wizard-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bridge);
}

.wizard-header i {
    font-size: 48px;
    color: var(--bridge);
    margin-bottom: 15px;
}

.wizard-header h3 {
    font-size: 24px;
    color: var(--structural);
    margin-bottom: 8px;
}

.wizard-header p {
    color: var(--text-light);
    font-size: 14px;
}

.wizard-body {
    position: relative;
    min-height: 300px;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.wizard-step.active {
    display: block;
}

.wizard-step h4 {
    font-size: 18px;
    color: var(--structural);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wizard-step h4 i {
    color: var(--bridge);
    font-size: 24px;
}

.wizard-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.wizard-option {
    display: block;
    cursor: pointer;
}

.wizard-option input[type="radio"] {
    display: none;
}

.wizard-option span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--foundation);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--structural);
}

.wizard-option span i {
    font-size: 20px;
    color: var(--bridge);
}

.wizard-option input[type="radio"]:checked + span {
    background: var(--structural);
    color: var(--white);
    border-color: var(--structural);
    transform: translateX(5px);
}

.wizard-option input[type="radio"]:checked + span i {
    color: var(--bridge);
}

.wizard-option:hover span {
    border-color: var(--bridge);
    transform: translateX(3px);
}

.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.wizard-form input,
.wizard-form textarea,
.wizard-form select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.wizard-form input:focus,
.wizard-form textarea:focus,
.wizard-form select:focus {
    outline: none;
    border-color: var(--bridge);
    box-shadow: 0 0 0 3px rgba(221, 198, 182, 0.1);
}

.wizard-select {
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231D1B1B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.wizard-select option {
    padding: 10px;
}

.wizard-btn {
    width: 100%;
    padding: 15px;
    background: var(--structural);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
}

.wizard-btn:hover {
    background: #2d2b2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.wizard-btn-submit {
    background: var(--bridge);
    color: var(--structural);
}

.wizard-btn-submit:hover {
    background: #d4b8a3;
}

.wizard-nav {
    display: flex;
    gap: 10px;
}

.wizard-btn-back {
    flex: 1;
    padding: 12px;
    background: transparent;
    color: var(--structural);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wizard-btn-back:hover {
    border-color: var(--structural);
    background: var(--foundation);
}

.wizard-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.wizard-success h4 {
    font-size: 24px;
    color: var(--structural);
    margin-bottom: 15px;
    justify-content: center;
}

.wizard-success p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.wizard-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.wizard-footer p {
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wizard-footer i {
    color: #28a745;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--structural);
    padding: 60px 0;
    margin-top: 80px;
    border-top: 3px solid var(--bridge);
    border-bottom: 3px solid var(--bridge);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 48px;
    color: var(--structural);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--structural);
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-item i {
    color: var(--bridge);
    font-size: 20px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 56px;
    color: var(--bridge);
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    color: var(--structural);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--bridge);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 27, 27, 0.9), rgba(29, 27, 27, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--bridge);
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--structural), #2d2b2b);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--bridge);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: var(--structural);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo img {
    height: 75px;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--bridge);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(221, 198, 182, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--bridge);
    color: var(--structural);
}

.footer-title {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--bridge);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--bridge);
}

.footer-contact i {
    color: var(--bridge);
    margin-top: 3px;
}

.footer-contact a {
    color: var(--bridge);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(221, 198, 182, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--bridge);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--structural);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--bridge);
    color: var(--structural);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

/* Utility Classes */
.mt-5 {
    margin-top: 50px;
}

.mb-5 {
    margin-bottom: 50px;
}


/* ===================================
   Gallery Page Styles
   =================================== */

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--structural), #2d2b2b);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/construction.jpg') center/cover;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 15px;
    animation: fadeIn 0.8s ease-in-out;
}

.page-subtitle {
    font-size: 20px;
    color: var(--bridge);
    margin-bottom: 25px;
    animation: slideUp 0.8s ease-out;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.breadcrumb a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--bridge);
}

.breadcrumb span {
    color: var(--bridge);
    display: flex;
    align-items: center;
}

.breadcrumb svg {
    width: 18px;
    height: 18px;
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--structural);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn svg {
    width: 20px;
    height: 20px;
}

.filter-btn:hover {
    border-color: var(--bridge);
    background: var(--foundation);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--structural);
    color: var(--white);
    border-color: var(--structural);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%; /* 4:3 aspect ratio */
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 27, 27, 0.9), rgba(29, 27, 27, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn svg {
    width: 24px;
    height: 24px;
    color: var(--structural);
}

.gallery-btn:hover {
    background: var(--bridge);
    transform: scale(1.1);
}

.gallery-btn:hover svg {
    color: var(--white);
}

/* Gallery Empty State */
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.gallery-empty svg {
    width: 100px;
    height: 100px;
    color: var(--bridge);
    margin-bottom: 20px;
}

.gallery-empty h3 {
    font-size: 28px;
    color: var(--structural);
    margin-bottom: 10px;
}

.gallery-empty p {
    font-size: 18px;
    color: var(--text-light);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    top: -60px;
    right: 0;
}

.lightbox-prev {
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
}

/* Lucide Icon Adjustments */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}

.top-bar-left [data-lucide],
.top-bar-right [data-lucide] {
    width: 16px;
    height: 16px;
}

.navbar-menu [data-lucide] {
    width: 16px;
    height: 16px;
}


/* ===================================
   Service Detail Page Styles
   =================================== */

.service-detail-section {
    background: #fff;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.service-detail-main {
    background: #fff;
}

.service-detail-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content h2 {
    font-size: 32px;
    color: var(--structural);
    margin-bottom: 20px;
}

.service-detail-content .lead {
    font-size: 18px;
    color: var(--bridge);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.service-features {
    margin-bottom: 40px;
}

.service-features h3 {
    font-size: 26px;
    color: var(--structural);
    margin-bottom: 25px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-item {
    background: var(--foundation);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--bridge);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bridge);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    color: var(--structural);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.service-benefits {
    background: var(--foundation);
    padding: 30px;
    border-radius: 10px;
}

.service-benefits h3 {
    font-size: 26px;
    color: var(--structural);
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    font-size: 16px;
    color: #555;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: var(--bridge);
    font-size: 18px;
}

/* Sidebar Styles */
.service-detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar-card h3 {
    font-size: 22px;
    color: var(--structural);
    margin-bottom: 15px;
}

.sidebar-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.contact-card {
    background: linear-gradient(135deg, var(--structural) 0%, #2d2b2b 100%);
    color: #fff;
}

.contact-card h3,
.contact-card p {
    color: #fff;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--bridge);
    font-size: 18px;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.contact-item a:hover {
    color: var(--bridge);
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.related-list li {
    margin-bottom: 12px;
}

.related-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--foundation);
    border-radius: 8px;
    color: var(--structural);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.related-list a:hover {
    background: var(--bridge);
    color: #fff;
    transform: translateX(5px);
}

.related-list i {
    font-size: 16px;
}

.download-card {
    background: linear-gradient(135deg, var(--bridge) 0%, #c9b5a7 100%);
    color: #fff;
}

.download-card h3,
.download-card p {
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-sidebar {
        position: static;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-detail-content h2 {
        font-size: 26px;
    }
    
    .service-detail-content .lead {
        font-size: 16px;
    }
    
    .service-features h3,
    .service-benefits h3 {
        font-size: 22px;
    }
    
    .service-detail-image {
        height: 250px;
    }
}
