/* ===================================
   West End Surveyors - Main Stylesheet
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #c9a961;
    --accent-color: #2c5f8d;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.92) 0%, rgba(44, 95, 141, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    padding: 4rem 0;
}

.hero-text {
    padding-top: 2rem;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.feature-badge i {
    color: var(--secondary-color);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-form {
    position: relative;
}

.form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    position: relative;
    z-index: 5;
}

.form-container h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.form-container p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* HubSpot Form Styling */
.form-container .hs-form {
    margin-top: 1rem;
}

.form-container .hs-form-field {
    margin-bottom: 1.25rem;
}

.form-container .hs-form-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-container .hs-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-container .hs-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-container .hs-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.form-container .hs-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon i {
    font-size: 2rem;
    color: var(--white);
}

.trust-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.trust-item p {
    font-size: 0.95rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.check-list i {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* Services Section */
.services-section {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Why Choose Us */
.why-choose {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.why-choose .section-header h2,
.why-choose .section-header p {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    position: relative;
    padding-left: 4rem;
}

.feature-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
}

.feature-item h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Reviews Section */
.reviews-section {
    background: var(--background-light);
}

.rating-summary {
    text-align: center;
    margin-top: 1rem;
}

.stars {
    display: inline-flex;
    gap: 0.25rem;
    color: #ffa500;
    font-size: 1.5rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: #ffa500;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.review-author strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.review-author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Areas Section */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.area-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.area-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.area-card i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.area-card h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
}

.text-center {
    text-align: center;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question i {
    transition: var(--transition);
    color: var(--secondary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    line-height: 1.8;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-features {
    margin-top: 2rem;
}

.contact-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-feature i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-feature p {
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-accreditations {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.accreditation {
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--secondary-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-text {
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-form {
        order: 2;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-badge {
        width: 100%;
        justify-content: center;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-container h3 {
        font-size: 1.25rem;
    }
    
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Utility Classes */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    nav, .hero-video-bg, .contact-form-section, footer {
        display: none;
    }
}