/*
  Custom CSS for metalgates.org.uk
  Theme: Sophisticated, Elite, Modern
  Colors:
    - Deep Indigo (Primary): #1A237E
    - Gold Accent (Accent): #D4AF37
    - Light Grey (Background): #F5F5F5
    - Dark Text (Text Color): #212121
    - White: #FFFFFF
  Fonts:
    - Headings: 'Oswald', sans-serif
    - Body: 'Montserrat', sans-serif
*/

/* --- Base & Typography --- */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #F5F5F5;
    color: #212121;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: #1A237E;
    margin-top: 0;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

h1 { font-size: 3.2rem; letter-spacing: 1px; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.6rem; }

p { margin-bottom: 1rem; }
a { color: #D4AF37; text-decoration: none; }

/* --- Header --- */
.site-header {
    background-color: #FFFFFF;
    padding: 15px 0;
    color: #1A237E;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-bottom: 3px solid #1A237E;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    color: #1A237E;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
}
.logo strong { color: #D4AF37; }

.header-contact { text-align: right; }
.header-contact span {
    font-size: 0.9rem;
    display: block;
    color: #424242;
}
.phone-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: #1A237E;
    font-weight: 700;
    display: block;
    transition: color 0.3s ease;
}
.phone-number:hover { color: #D4AF37; }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgb(138 146 227 / 85%), rgb(14 25 137 / 85%)), url(metal-gates.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}
.hero-content .subtitle {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 1rem auto 2rem;
    line-height: 1.6;
    font-weight: 400;
}
.cta-button {
    background-color: #D4AF37;
    color: #1A237E;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
}
.cta-button:hover {
    background-color: #c7a02f;
    transform: translateY(-3px);
}

/* --- Sections --- */
section { padding: 60px 0; }
.section-title { margin-bottom: 40px; }

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.service-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-bottom: 4px solid #D4AF37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* --- Feature Section --- */
.feature-section { background-color: #FFFFFF; }
.feature-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-text ul {
    list-style: none;
    padding: 0;
}
.feature-text li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-left: 35px;
    position: relative;
}
.feature-text li::before {
    content: '★';
    color: #D4AF37;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

/* --- Hidden Content Section (Accordion) --- */
.accordion { border: 1px solid #e0e0e0; border-radius: 5px; background-color: #fff; }
.accordion-header {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    padding: 15px 20px;
    cursor: pointer;
    display: block;
    color: #1A237E;
    position: relative;
    letter-spacing: 0.5px;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: normal;
    color: #D4AF37;
}
.accordion[open] > .accordion-header::after { content: '−'; }
.accordion-content { padding: 20px; border-top: 1px solid #e0e0e0; }

/* --- Testimonials Section --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.testimonial-item {
    background-color: #1A237E;
    color: #F5F5F5;
    padding: 30px;
    border-radius: 5px;
    position: relative;
}
.testimonial-item::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: #D4AF37;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.5;
}
.testimonial-item p {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}
.testimonial-item span {
    font-weight: bold;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* --- Footer --- */
.site-footer {
    background-color: #1A237E;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}
.site-footer p { margin: 5px 0; }
.footer-hidden-link {
    display: inline-block;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.1); /* Very low visibility */
    font-size: 0.1rem; /* Very small font size */
    letter-spacing: -1px; /* Obscure spacing */
    transition: color 0.3s ease;
}
.footer-hidden-link:hover {
    color: rgba(255, 255, 255, 0.3); /* Slightly visible on hover for crawlers */
}


/* --- Responsive Design (Mobile First) --- */

/* Tablet */
@media (min-width: 768px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 3rem; }

    .header-content { flex-wrap: nowrap; }

    .services-grid { grid-template-columns: repeat(3, 1fr); }

    .feature-container {
        flex-direction: row;
        gap: 50px;
    }
    .feature-image, .feature-text { flex: 1; }

    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop */
@media (min-width: 1024px) {
    body { font-size: 17px; }
    h1 { font-size: 4.8rem; }
    .hero { padding: 120px 0; }
}
