/*
  Custom CSS for metalgate.uk
  Theme: Amazon-Inspired (Dark Blue & Orange)
  Accent Color: Amazon Orange
*/

/* --- Base & Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --bg-dark: #131A22; /* Amazon's deep navy */
    --bg-surface: #232F3E; /* Amazon's header/footer blue */
    --primary-text: #FFFFFF;
    --secondary-text: #DDDDDD;
    --accent-orange: #FF9900;
    --accent-hover: #FFAA33;
    --border-color: #3b4a5e;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

body {
    background-color: var(--bg-dark);
    color: var(--primary-text);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-top: 0;
}

h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; color: var(--accent-orange); }
p { margin-bottom: 1rem; }
a { color: var(--accent-orange); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-hover); }

/* --- Header --- */
.site-header {
    background: var(--bg-surface);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-info {
    text-align: right;
}

.contact-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
}
.phone-number:hover {
    color: var(--accent-hover);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(19, 26, 34, 0.7), rgba(19, 26, 34, 0.7)), url no-repeat center center/cover;
    padding: 6rem 0;
    text-align: center;
    color: #ffffff;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: var(--primary-text);
}

.cta-button {
    background: var(--accent-orange);
    color: #111111; /* Black text for high contrast on orange */
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    border: none;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.cta-button.large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

/* --- Sections --- */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    margin: 0.5rem auto 0;
}

/* --- Services Section --- */
.services {
    background-color: var(--bg-surface);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* --- Feature Section --- */
.feature-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-image, .feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-text ul {
    list-style: none;
    padding: 0;
}

.feature-text li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-text li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

/* --- Testimonials --- */
.testimonials {
    background-color: var(--bg-surface);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-left: 4px solid var(--accent-orange);
    border-radius: 0 8px 8px 0;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card span {
    font-weight: 700;
    color: var(--secondary-text);
}

/* --- Hidden SEO Content --- */
.hidden-seo-content {
    background-color: var(--bg-dark);
    padding: 2rem 0;
}
details {
    background: var(--bg-surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 800px;
}
summary {
    padding: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--accent-orange);
}
.details-content {
    padding: 0 1rem 1rem 1rem;
    border-top: 1px solid var(--border-color);
}

/* --- Contact Section --- */
.contact-section {
    text-align: center;
    background-color: var(--bg-dark);
}

.contact-section h2 {
    font-size: 2.5rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Footer --- */
.site-footer {
    background: #131A22;
    color: var(--secondary-text);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}
.footer-hidden-link {
    font-size: 0.8rem;
    color: #444; /* Very low contrast */
    text-decoration: none;
    display: block;
    margin-top: 1rem;
}
.footer-hidden-link:hover {
    color: #666;
}


/* --- Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        text-align: center;
    }

    .phone-number {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .feature-content {
        flex-direction: column;
    }
}
