:root {
    /* Premium Color Palette */
    --primary: #0a141d;      /* Deep Dark Blue */
    --primary-light: #162431;/* Lighter Blue */
    --secondary: #d4af37;    /* Classic Gold */
    --secondary-hover: #b89326; /* Darker Gold */
    --accent: #e74c3c;       /* Soft Red */
    --text-main: #2c3e50;    /* Dark Charcoal */
    --text-light: #7f8c8d;   /* Cool Gray */
    --bg-light: #f8f9fa;     /* Light Gray BG */
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.section-padding {
    padding: 100px 0;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

/* Utility Screen Reader class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--secondary);
}

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

.nav-links a {
    margin-left: 32px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--secondary);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 20, 29, 0.65), rgba(10, 20, 29, 0.65)), 
                url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 850px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    max-width: 700px;
    line-height: 1.8;
}

/* Section Title */
.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.bg-dark .section-title h2 {
    color: var(--white);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 15px auto 0;
}

.bg-dark .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

/* Core Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.value-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--secondary);
}

.value-icon {
    font-size: 44px;
    color: var(--secondary);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.5s ease;
}

.value-card:hover .value-icon {
    transform: rotateY(360deg);
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    height: 380px;
    transition: var(--transition);
}

.project-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.project-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 20, 29, 0.85);
    backdrop-filter: blur(5px);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 3;
    transition: var(--transition);
}

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

.project-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 20, 29, 0.1) 20%, rgba(10, 20, 29, 0.9) 85%);
    z-index: 2;
    transition: var(--transition);
}

.project-card:hover::after {
    background: linear-gradient(to bottom, rgba(10, 20, 29, 0.2) 10%, rgba(10, 20, 29, 0.95) 80%);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 25px;
    color: var(--white);
    z-index: 3;
    transition: var(--transition);
}

.project-info h3 {
    color: var(--white);
    margin-bottom: 6px;
    font-size: 1.4rem;
    transition: var(--transition);
}

.project-card:hover .project-info h3 {
    color: var(--secondary);
}

.project-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-weight: 300;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.project-card:hover .view-gallery-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Contact & Quote Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.6rem;
    margin-bottom: 24px;
    color: var(--white);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-list {
    list-style: none;
    margin-top: 40px;
}

.contact-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.contact-list li i {
    color: var(--secondary);
    font-size: 22px;
    margin-right: 20px;
    margin-top: 4px;
}

.contact-form-container {
    background: var(--white);
    padding: 45px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 24px;
}
.form-status.success { color: #2ecc71; }
.form-status.error { color: #e74c3c; }

/* Interactive Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 29, 0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.4s ease;
    flex-direction: column;
    justify-content: flex-start;
}

.modal.open {
    display: flex;
    opacity: 1;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2200;
    line-height: 1;
}

.modal-close:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

/* Modal Content Slider */
.modal-content {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 20px 80px;
    min-height: 60vh;
}

.modal-img-container {
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#modalImg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid rgba(255,255,255,0.08);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Nav Buttons inside Modal */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    z-index: 2100;
}

.modal-nav-btn:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.08);
}

.modal-nav-btn.prev {
    left: 40px;
}

.modal-nav-btn.next {
    right: 40px;
}

/* Modal Info Panel */
.modal-info-panel {
    background: linear-gradient(to top, rgba(10, 20, 29, 0.98), rgba(10, 20, 29, 0.95));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    color: var(--white);
    z-index: 2150;
    width: 100%;
}

.modal-info-panel .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#modalTitle {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

#modalDesc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 750px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.modal-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.05);
    padding: 3px 12px;
    border-radius: 12px;
}

/* Modal Thumbnails */
.modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 100%;
}

.modal-thumb {
    width: 65px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    transition: var(--transition);
}

.modal-thumb:hover {
    opacity: 0.8;
}

.modal-thumb.active {
    opacity: 1;
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Footer */
footer {
    background-color: #050a0f;
    color: var(--text-light);
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.02);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Responsive Styles */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
    .values-grid .value-card:nth-child(1),
    .values-grid .value-card:nth-child(2),
    .values-grid .value-card:nth-child(3) {
        grid-column: span 2;
    }
    .values-grid .value-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .values-grid .value-card:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .hero h1 {
        font-size: 3.2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-list {
        display: inline-block;
        text-align: left;
    }
    
    .modal-content {
        padding: 50px 60px 10px 60px;
    }
    
    .modal-nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .modal-nav-btn.prev { left: 20px; }
    .modal-nav-btn.next { right: 20px; }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    .values-grid .value-card {
        grid-column: span 2 !important;
    }
    .values-grid .value-card:nth-child(5) {
        grid-column: 2 / span 2 !important;
    }

    .section-padding {
        padding: 70px 0;
    }
    
    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        border-top: 1px solid #f1f5f9;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 12px 0;
        width: 80%;
        text-align: center;
    }
    
    .nav-links a.btn-primary {
        margin-top: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Modal adjustment for mobile */
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 38px;
    }
    
    .modal-content {
        padding: 40px 10px 10px 10px;
    }
    
    .modal-img-container {
        height: 45vh;
    }
    
    .modal-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 14px;
        background: rgba(10, 20, 29, 0.8);
    }
    
    .modal-nav-btn.prev { left: 10px; }
    .modal-nav-btn.next { right: 10px; }
    
    #modalTitle {
        font-size: 1.25rem;
    }
    
    #modalDesc {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .modal-thumb {
        width: 50px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-grid .value-card {
        grid-column: auto !important;
    }
}
