/* style.css */

:root {
    --primary-color: #002147;
    --accent-color: #c5a059;
    --accent-hover: #dcb874;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-y: scroll; }

body { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6; 
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: var(--primary-color); 
}

/* --- Navigation & Header --- */
header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header h1{ 
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Optional: adds a slight shadow for extra pop */
}

.logo { 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    text-decoration: none; 
}

nav a { 
    text-decoration: none; 
    color: var(--primary-color); 
    margin-left: 20px; 
    font-weight: 600; 
}

/* --- Internal Page Layouts (Fixes the "Broken" Look) --- */
.page-header {
    background: linear-gradient(rgba(0,33,71,0.9), rgba(0,33,71,0.9));
    color: white;
    padding: 80px 10%;
    text-align: center;
}

.service-detail { 
    padding: 60px 10%; 
}

.service-detail:nth-child(even) { 
    background: var(--light-bg); 
}

.service-container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: 80px 1fr; /* This creates the icon/text split */
    gap: 30px;
    text-align: left;
}

.service-icon { 
    color: var(--accent-color); 
    font-size: 3rem; 
}

.services-grid {
    display: grid;
    /* Creates 3 equal columns that wrap on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    padding: 60px 40px; /* Increased padding for the spacious look in your image */
    border-radius: 12px; /* Softer rounded corners */
    /* Soft, wide shadow to match the reference image */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card i { 
    font-size: 3rem; 
    color: var(--accent-color); 
    margin-bottom: 25px; 
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 1rem;
    color: #666; /* Slightly softer text for the description */
    line-height: 1.5;
}

/* Custom Checkmark Bullets */
ul { list-style: none; padding: 0; margin-top: 15px; }
ul li { 
    margin-bottom: 10px; 
    padding-left: 30px; 
    position: relative; 
}

ul li::before { 
    content: "\f00c"; 
    font-family: "Font Awesome 6 Free"; /* Updated to match your v6 link */
    font-weight: 900; 
    position: absolute; 
    left: 0; 
    color: var(--accent-color); 
}

/* --- Hero & Index Elements --- */
.hero {
    background: linear-gradient(rgba(0,33,71,0.85), rgba(0,33,71,0.85)), 
                url('https://burnett-accountancy.co.uk/background.png');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

/* Ensure the main heading is white for readability on the dark hero background */
.hero h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Optional: adds a slight shadow for extra pop */
}

.hero .btn {
    background-color: var(--accent-color); /* The Gold color */
    color: var(--white) !important;       /* Forces text to be white */
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    border: 2px solid var(--accent-color);
}

.hero .btn:hover {
    background-color: var(--accent-hover); /* Lighter gold */
    border-color: var(--accent-hover);
    color: var(--primary-color) !important; /* Navy text on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.section { padding: 80px 10%; text-align: center; }

/* --- Footer --- */
footer { 
    background: var(--primary-color); 
    color: #ccc; 
    padding: 40px 10%; 
    text-align: center; 
}

/* --- Buttons --- */
.gold-cta-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
    text-transform: uppercase;
}

.content-section { padding: 60px 10%; }
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

#contact {
    background: var(--white); /* Or #f8f9fa based on your preference */
    padding: 80px 10%;
    text-align: center;
}

#contact h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exact 50/50 split */
    gap: 60px;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start; /* Aligns text with the top of the first input */
}

/* Contact Info Text */
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.contact-info strong {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Form Styling */
.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 0; /* Keeps the sharp, professional look from your image */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* Full-width Button */
.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    background: var(--accent-color);
    color: white;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.contact-form .btn:hover {
    background: var(--accent-hover);
}
