/* PropertyCerts UK - Shared Stylesheet */
/* Mobile-First Responsive Design */

:root {
    --primary: #2C3E50;
    --secondary: #3498DB;
    --accent: #E67E22;
    --text: #2C3E50;
    --text-gray: #7F8C8D;
    --light-bg: #ECF0F1;
    --white: #FFFFFF;
    --border: #BDC3C7;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    font-size: 18px;
}

/* Typography */
h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--primary);
}

h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--primary);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent);
}

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

/* Header & Navigation */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #D35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--secondary);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid var(--secondary);
    transition: all 0.3s;
}

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

/* Sections */
.section {
    padding: 80px 20px;
}

.section-light {
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* Content Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Tables */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
}

.cost-table th,
.cost-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cost-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.cost-table tr:hover {
    background: var(--light-bg);
}

/* Lists */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 10px 0 10px 35px;
    position: relative;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px;
    background: var(--light-bg);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-gray);
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

/* CTA Sections */
.cta-box {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    margin: 50px 0;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    body {
        font-size: 16px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

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

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section {
        padding: 60px 20px;
    }

    .cost-table {
        font-size: 14px;
    }

    .cost-table th,
    .cost-table td {
        padding: 10px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-50 {
    margin-top: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}
