/* Global styles */
* {
    box-sizing: border-box;
}

/* Define a custom accent colour for a high‑tech look */
:root {
    --accent-color: #00eaff;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #e4e7eb;
    background-color: #0c0d10;
    line-height: 1.5;
}

/* Justify default paragraph text to create a clean, professional column of
   type across the site. Specific sections can override this rule if
   different alignment is desired. */
p {
    text-align: justify;
}

/* Ensure body copy inside sections and list items aligns cleanly on both
   the left and right edges. */
section p {
    text-align: justify;
}

/* Hero section */
/* Hero section styles
 *
 * The hero uses a full‑bleed background image which is supplied via CSS.
 * The original `hero.png` has been replaced with an optimised photograph
 * (see hero_bg.jpg). Using CSS ensures the image can be easily swapped
 * without modifying the HTML and keeps presentational details separate
 * from the page structure. The dark overlay defined in `.hero-overlay`
 * provides sufficient contrast for text on top of the background. */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('hero_bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* slightly lighter overlay for added contrast */
    background: rgba(0, 0, 0, 0.45);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin: 0;
    letter-spacing: 2px;
}
.hero-content p {
    font-size: 1.25rem;
    margin: 1rem 0 2rem;
    /* Override global justification for the hero tagline: keep it centred
       below the heading. */
    text-align: center;
    /* Use the accent colour for the tagline to tie it into the site's neon palette */
    color: var(--accent-color);
}
.cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    /* Use a charcoal grey for the call‑to‑action button. This makes the
       text easier to read while still contrasting against the dark
       background. The neon glow remains subtle via a dark shadow. */
    background-color: #2b2e34;
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-btn:hover {
    /* Slightly lighten the button colour on hover */
    background-color: #3a3e46;
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    background-color: #0f1014;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    /* subtle border to echo the accent colour */
    border-bottom: 1px solid rgba(0, 234, 255, 0.1);
}
.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    color: #d0d5db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.main-nav a:hover {
    color: var(--accent-color);
}

/* Section layout */
/* Section layout with high‑tech styling */
section {
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    /* subtle gradient and highlight borders */
    background: linear-gradient(180deg, #141925 0%, #0c0d10 100%);
    border-top: 1px solid rgba(0, 234, 255, 0.1);
    border-bottom: 1px solid rgba(0, 234, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 234, 255, 0.05) inset;
}
section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #ffffff;
}
section p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0.5rem auto 1rem;
    color: #c7cbd1;
    line-height: 1.6;
}

/* Benefits list */
.benefits-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.benefits-list li {
    background-color: #1a1c23;
    padding: 1.5rem;
    border-radius: 8px;
    list-style: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    /* Use left alignment inside benefit tiles to avoid excessive spacing
       between words when justification is enabled on paragraphs. */
    text-align: left;
}
.benefits-list strong {
    color: var(--accent-color);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.gallery-grid figure {
    margin: 0;
    background-color: #1a1c23;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.gallery-grid img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.gallery-grid figcaption {
    padding: 0.75rem;
    font-size: 0.95rem;
    text-align: center;
    color: #aeb4bc;
}

/* Contact section */
#contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}
#contact a:hover {
    text-decoration: underline;
}

/* Center the contact section content so that the e‑mail address is centred on the page */
#contact {
    text-align: center;
}

/* Override justification for the contact paragraph: keep it centred for
   consistent call‑to‑action styling */
#contact p {
    text-align: center;
}

/* Footer */
footer {
    background-color: #0f1014;
    padding: 1rem;
    text-align: center;
    color: #767c84;
    font-size: 0.9rem;
    /* Ensure any content inside the footer (like the copyright notice)
       spans the full width and centres its text */
    width: 100%;
    display: block;
}

/* Target the copyright paragraph specifically to centre its text and remove
   default margins that might cause it to align left */
footer p {
    margin: 0;
    text-align: center;
}

/* Add a soft glow around major headings for a high‑tech feel */
.hero-content h1,
section h2 {
    text-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color);
}