/* ===========================
   DBOMS Website - V2 Dark+Gold Theme
   Colors: Dark charcoal, Gold accents
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4A017;
    --primary-gold-dark: #B8860B;
    --dark-bg: #1A1A1A;
    --darker-bg: #111111;
    --dark-card: #222222;
    --dark-section-alt: #2A2A2A;
    --gold: #D4AF37;
    --gold-light: #F0C040;
    --gray: #6B6B6B;
    --light-gray: #E0E0E0;
    --white: #FFFFFF;
    --text-light: #E0E0E0;
    --text-muted: #AAAAAA;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--white);
    overflow-x: hidden;
    background: var(--dark-bg);
}

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo .logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.nav-logo .logo-d {
    color: var(--primary-gold);
}

.nav-logo .logo-b {
    color: var(--gray);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-text .company-name {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.nav-logo-text .company-tagline {
    color: var(--gold-light);
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-gold);
}

.nav-menu a.active::after {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    overflow: hidden;
}

/* Hero collage images */
.hero-collage {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}

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

.hero-collage-img:nth-child(1) {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    grid-column: 1;
    grid-row: 1;
}

.hero-collage-img:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.hero-collage-img:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
}

.hero-collage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--dark-bg) 0%, rgba(26, 26, 26, 0.4) 50%, transparent 100%);
    z-index: 1;
}

/* Corner decorations - gold triangles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 200px;
    background: var(--primary-gold);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 150px;
    background: var(--primary-gold-dark);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding-left: 5%;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    background: var(--dark-bg);
    padding: 15px 25px;
    display: inline-flex;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(212, 160, 23, 0.3);
}

.hero-logo .logo {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -3px;
}

.hero-logo-info {
    border-left: 2px solid var(--gray);
    padding-left: 15px;
}

.hero-logo-info .rc-number {
    color: var(--primary-gold);
    font-size: 0.75rem;
    font-weight: 600;
}

.hero-logo-info .company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.hero-logo-info .company-tagline {
    font-size: 0.7rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 5px;
}

.hero-website {
    position: absolute;
    bottom: 30px;
    left: 5%;
    color: var(--gold-light);
    font-size: 0.9rem;
    z-index: 5;
}

/* Dotted pattern decoration */
.dotted-pattern {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, var(--primary-gold) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
}

.dotted-pattern.top-right {
    top: 50px;
    right: 50px;
}

/* ===========================
   Section Common Styles
   =========================== */
section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Industrial watermark background */
.industrial-bg {
    position: relative;
}

.industrial-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-rig.jpg') center/cover no-repeat;
    opacity: 0.03;
    pointer-events: none;
}

.section-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    line-height: 1;
}

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

/* Corner decorations for sections - gold triangles */
.corner-decoration {
    position: absolute;
    z-index: 1;
}

.corner-decoration.top-right {
    top: 0;
    right: 0;
    width: 200px;
    height: 150px;
    background: var(--primary-gold);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.corner-decoration.bottom-left {
    bottom: 0;
    left: 0;
    width: 250px;
    height: 100px;
    background: var(--primary-gold-dark);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.corner-decoration.bottom-right {
    bottom: 0;
    right: 0;
    width: 200px;
    height: 100px;
    background: var(--primary-gold);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

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

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

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text strong {
    color: var(--primary-gold);
}

.core-focus {
    margin-top: 2rem;
}

.core-focus h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.core-focus ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-light);
}

.core-focus li {
    margin-bottom: 0.3rem;
}

.team-composition {
    margin-top: 2rem;
}

.team-composition h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.team-composition p {
    color: var(--text-light);
}

/* Hexagonal image frame */
.hexagon-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.hexagon-frame img {
    width: 100%;
    height: auto;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    border: 4px solid var(--primary-gold);
}

.hexagon-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--primary-gold);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: -1;
    opacity: 0.3;
}

/* ===========================
   MD/CEO Section
   =========================== */
.md-section {
    background: var(--dark-section-alt);
}

.md-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.md-message p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.md-signature {
    margin-top: 2rem;
}

.md-signature .sincerely {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.md-signature .name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.md-signature .title {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.md-photo {
    position: relative;
}

.md-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 2px solid rgba(212, 160, 23, 0.3);
}

/* ===========================
   Vision & Mission Section
   =========================== */
.vision-mission-section {
    background: var(--dark-bg);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.vm-card h3 {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.vm-card img,
.vm-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto;
    display: block;
    border: 2px solid rgba(212, 160, 23, 0.2);
}

/* ===========================
   Core Values Section
   =========================== */
.values-section {
    background: var(--dark-section-alt);
    position: relative;
}

.values-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.values-intro {
    max-width: 800px;
    margin-bottom: 3rem;
}

.values-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.values-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.value-arrow {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid var(--primary-gold);
    flex-shrink: 0;
    margin-top: 5px;
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.values-image {
    position: relative;
}

.values-image img {
    width: 100%;
    height: auto;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* ===========================
   Services Section
   =========================== */
.services-section {
    background: var(--dark-bg);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.services-column h3 {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-card {
    background: var(--dark-card);
    padding: 20px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid rgba(212, 160, 23, 0.15);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: var(--primary-gold);
    color: var(--darker-bg);
    border-color: var(--primary-gold);
}

/* ===========================
   Projects Section
   =========================== */
.projects-section {
    background: var(--dark-section-alt);
}

.project-card {
    margin-bottom: 3rem;
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.15);
    transition: var(--transition);
}

.project-card:hover {
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.project-info {
    padding: 1.5rem 2rem;
}

.project-info .project-name {
    font-size: 1.15rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4px;
}

.project-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-images img:hover {
    opacity: 0.85;
}

/* ===========================
   Clients Section
   =========================== */
.clients-section {
    background: var(--dark-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.client-logo {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.client-logo span {
    font-weight: 600;
    color: var(--dark-bg);
    font-size: 0.85rem;
    text-align: center;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    background: var(--darker-bg);
    color: var(--white);
}

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

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

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

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--darker-bg);
}

.contact-item p {
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--gold-light);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-image {
    position: relative;
}

.contact-image img {
    width: 100%;
    height: auto;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
    border: 3px solid var(--primary-gold);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--darker-bg);
    padding: 30px 0;
    text-align: center;
    color: var(--white);
    opacity: 0.8;
    border-top: 1px solid rgba(212, 160, 23, 0.2);
}

.footer a {
    color: var(--gold-light);
    text-decoration: none;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .hero {
        min-height: 600px;
    }

    .hero-collage {
        width: 100%;
        opacity: 0.3;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-logo .logo {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-content,
    .vision-mission-grid,
    .services-grid,
    .values-content,
    .md-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-images {
        grid-template-columns: 1fr 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .corner-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        flex-direction: column;
        text-align: center;
    }

    .hero-logo-info {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--gray);
        padding-top: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vm-card h3 {
        font-size: 2rem;
    }

    .project-images {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Placeholder styles for missing images
   =========================== */
.placeholder-image {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-gold-dark)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--white) !important;
    font-size: 1rem !important;
    text-align: center !important;
    padding: 20px !important;
    min-height: 250px !important;
    border: 3px dashed var(--primary-gold) !important;
    border-radius: 10px !important;
}
