/* Global Styles for Geopoint Drilling Company Nigeria Ltd */

:root {
    --primary-blue: #004080;
    --secondary-orange: #FF8C00;
    --dark-black: #1A1A1A;
    --light-white: #FFFFFF;
    --gray-bg: #F4F4F4;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-black);
    background-color: var(--light-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.service-image-wrap {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-orange);
    background: var(--gray-bg);
}

.service-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.image-credits {
    padding: 0 0 2rem;
    color: #555;
    text-align: center;
}

.image-credits a { color: var(--primary-blue); }

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

/* Header & Navigation */
header {
    background-color: var(--primary-blue);
    color: var(--light-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-tagline {
    margin-top: -0.2rem;
    color: var(--light-white);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--light-white);
    margin: 2px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-orange {
    background-color: var(--secondary-orange);
    color: var(--light-white);
}

.btn-orange:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--light-white);
}

/* Hero Section */
.hero {
    height: 80vh;
    background-color: var(--dark-black);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-white);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-black);
    color: var(--light-white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-bottom: 1.2rem;
    color: var(--secondary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* About page: team, video gallery, and feedback */
.team-section, .video-section, .feedback-section { padding: 5rem 0; }
.team-section, .feedback-section { background: var(--gray-bg); }
.section-heading { text-align: center; margin-bottom: 2.5rem; }
.section-heading h2, .feedback-layout h2 { color: var(--primary-blue); font-size: 2rem; margin-bottom: .5rem; }
.team-grid, .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.team-card { overflow: hidden; background: var(--light-white); border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, .07); }
.team-image-placeholder { min-height: 260px; display: grid; place-items: center; background: linear-gradient(135deg, #dfe9f3, #f7f7f7); border-bottom: 4px solid var(--secondary-orange); color: var(--primary-blue); font-weight: 700; }
.team-card-content { padding: 1.5rem; }
.team-card-content h3 { color: var(--primary-blue); }
.team-role { color: var(--secondary-orange); font-weight: 700; margin: .25rem 0 .75rem; }
.video-slot { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; border: 2px dashed #9aaabd; border-radius: 10px; background: #fbfdff; color: var(--primary-blue); }
.video-slot span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--secondary-orange); color: white; font-size: 2rem; line-height: 1; margin-bottom: .75rem; }
.video-slot p { color: #555; }
.feedback-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); gap: 3rem; align-items: start; }
.feedback-form { padding: 1.5rem; background: var(--light-white); border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, .07); }
.feedback-form label, .feedback-form legend { display: block; font-weight: 600; margin-bottom: .4rem; }
.feedback-form input[type="text"], .feedback-form textarea { width: 100%; padding: .75rem; margin-bottom: 1rem; border: 1px solid #c7c7c7; border-radius: 5px; font: inherit; }
.rating-fieldset { border: 0; margin: 0 0 1rem; padding: 0; }
.rating-options { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.rating-options input { position: absolute; opacity: 0; }
.rating-options label { color: #b6b6b6; cursor: pointer; font-size: 2rem; line-height: 1; }
.rating-options input:checked ~ label, .rating-options label:hover, .rating-options label:hover ~ label { color: var(--secondary-orange); }
.feedback-status { margin-top: .75rem; color: var(--primary-blue); font-weight: 600; }
.feedback-comments { grid-column: 2; padding: 1.5rem; background: var(--light-white); border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, .07); }
.feedback-comments h3 { color: var(--primary-blue); margin-bottom: 1rem; }
.feedback-comment { padding: 1rem 0; border-bottom: 1px solid #e5e5e5; }
.feedback-comment:last-child { border-bottom: 0; }
.feedback-comment-header { display: flex; justify-content: space-between; gap: 1rem; }
.feedback-stars { color: var(--secondary-orange); letter-spacing: .08em; }
.feedback-empty { color: #555; }

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    header {
        padding: .75rem 0;
    }

    .nav-links {
        display: none; /* Will be toggled by JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-blue);
        padding: .5rem 0 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: .8rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h2 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }

    .hero {
        min-height: 560px;
        height: 78svh;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btns {
        align-items: stretch;
        flex-direction: column;
        margin: 0 auto;
        max-width: 280px;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .service-item {
        gap: 1.5rem !important;
        margin-bottom: 3rem !important;
    }

    .service-item > div {
        min-width: 0 !important;
        width: 100%;
    }

    .service-image-wrap {
        height: 240px;
    }

    .detailed-services,
    .team-section,
    .video-section,
    .feedback-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .contact-layout {
        gap: 2rem !important;
    }

    .contact-form-panel,
    .contact-details-panel {
        min-width: 0 !important;
        width: 100%;
    }

    .contact-details-panel {
        padding: 1.5rem !important;
    }

    .form-group input,
    .form-group textarea,
    .form-group select,
    .feedback-form input,
    .feedback-form textarea {
        font-size: 16px;
    }

    .feedback-layout {
        gap: 1.5rem;
    }

    .feedback-form,
    .feedback-comments {
        padding: 1.25rem;
    }

    .image-credits {
        padding: 0 0 1.5rem;
    }

    .team-grid, .video-grid, .feedback-layout { grid-template-columns: 1fr; }
    .feedback-comments { grid-column: auto; }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hero {
        min-height: 510px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .service-image-wrap {
        height: 210px;
    }

    main h2[style],
    main h3[style] {
        font-size: 1.55rem !important;
        line-height: 1.25;
    }

    .btn {
        min-height: 44px;
        padding: .7rem 1rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-col p,
    .footer-col a,
    .image-credits {
        overflow-wrap: anywhere;
    }
}
