/* ===== css/style.css ===== */
/* CoreSurface - PREMIUM £10K+ AGENCY WEBSITE */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---- Reset & Base Styles ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #f2b705;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ---- Buttons ---- */
.btn-primary, .btn-secondary, .btn-outline, .btn-cta {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #f2b705;
    color: #1a1a1a;
    border: 2px solid #f2b705;
    box-shadow: 0 5px 15px rgba(242, 183, 5, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: #f2b705;
    box-shadow: 0 8px 20px rgba(242, 183, 5, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-outline:hover {
    background-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-cta {
    background-color: #f2b705;
    color: #1a1a1a;
    border: 2px solid #f2b705;
    padding: 18px 42px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(242, 183, 5, 0.4);
}

.btn-cta:hover {
    background-color: transparent;
    color: #f2b705;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(242, 183, 5, 0.5);
}

/* ---- Navigation Bar (MASSIVE LOGO - 260px) ---- */
#navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid #f2b705;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 180px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 90%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 260px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.8rem;
}

.nav-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 5px 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #f2b705;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f2b705, #ffd966);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 35px;
    height: 5px;
    margin: 6px 0;
    background: linear-gradient(90deg, #f2b705, #ffd966);
    transition: all 0.3s ease;
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(26,26,26,0.97) 0%, rgba(26,26,26,0.8) 50%, rgba(26,26,26,0.6) 100%), url('../images/hero-construction.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3.5rem, 7vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: #f2b705;
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 0.5rem;
    text-shadow: 0 3px 10px rgba(242, 183, 5, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e5e5e5;
    max-width: 650px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: linear-gradient(135deg, #f2b705, #ffd966);
    padding: 3rem 0;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 10px, transparent 10px, transparent 20px);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 0 1rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 50px;
    background: rgba(26,26,26,0.2);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Featured Services ---- */
.featured-services {
    padding: 6rem 0;
    background-color: #f9f9f9;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f2b705, #ffd966);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom: 4px solid #f2b705;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f2b705, #ffd966);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    box-shadow: 0 10px 20px rgba(242, 183, 5, 0.2);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: #666;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.service-link {
    color: #f2b705;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
    color: #1a1a1a;
}

/* ---- Projects Showcase ---- */
.projects-showcase {
    padding: 6rem 0;
    background-color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.95), transparent);
    padding: 2.5rem 1.8rem 1.8rem;
    color: #ffffff;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(-5px);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.project-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.project-tag {
    display: inline-block;
    background-color: #f2b705;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ---- Why Choose Us ---- */
.why-choose-us {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(242, 183, 5, 0.1);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(242, 183, 5, 0.1);
    border-color: #f2b705;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: linear-gradient(135deg, #f2b705, #ffd966);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #1a1a1a;
    box-shadow: 0 10px 20px rgba(242, 183, 5, 0.2);
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-item p {
    color: #666;
    line-height: 1.7;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(rgba(26,26,26,0.9), rgba(26,26,26,0.9)), url('../images/construction-team.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 6rem 0;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f2b705, #ffd966, #f2b705);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e5e5e5;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER - COMPLETELY REDESIGNED ===== */
footer {
    background-color: #1a1a1a;
    color: #e5e5e5;
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 4px solid #f2b705;
}

/* Logo Row - Separate and Centered */
.footer-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(242, 183, 5, 0.2);
}

.footer-logo-large {
    height: 300px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

/* Main Footer Content - Even Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    padding: 0 1rem;
}

.footer-section h3 {
    color: #f2b705;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f2b705, #ffd966);
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #e5e5e5;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #f2b705;
    transform: translateX(5px);
}

/* Contact Info - Better Spacing */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #e5e5e5;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact .emoji {
    color: #f2b705;
    font-size: 1.2rem;
    min-width: 24px;
}

/* Social Icons - Better Position */
.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(242, 183, 5, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(242, 183, 5, 0.2);
}

.social-icons a:hover {
    background-color: #f2b705;
    transform: translateY(-3px);
    border-color: transparent;
}

.social-icons a:hover svg {
    fill: #1a1a1a;
}

.social-icons svg {
    fill: #f2b705;
    width: 18px;
    height: 18px;
    transition: fill 0.3s ease;
}

/* Footer Bottom - Clean */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #999;
}

.footer-bottom span {
    color: #f2b705;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ---- FAQ Page Styles ---- */
.faq-section {
    padding: 5rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question.active {
    background-color: #f2b705;
    color: #1a1a1a;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(242,183,5,0.05) 0px, rgba(242,183,5,0.05) 10px, transparent 10px, transparent 20px);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    color: #e5e5e5;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* ---- Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive Design ---- */
@media screen and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid,
    .projects-grid,
    .benefits-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 1.8rem;
    }
    
    .nav-menu li a {
        font-size: 1.1rem;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 180px;
        flex-direction: column;
        background: #1a1a1a;
        width: 100%;
        text-align: center;
        padding: 2.5rem 0;
        gap: 1.8rem;
        transition: 0.3s;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
        border-top: 2px solid #f2b705;
        border-bottom: 2px solid #f2b705;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(9px, -9px);
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .projects-grid,
    .benefits-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 span {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .nav-container {
        height: 160px;
    }
    
    .logo img {
        height: 220px;
    }
    
    /* Mobile Footer Adjustments */
    .footer-logo-large {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        height: 140px;
    }
    
    .logo img {
        height: 200px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .footer-logo-large {
        height: 180px;
    }
}