/* Foster + Partners Style CSS */

/* Core Variables */
:root {
    --fp-black: #000000;
    --fp-white: #ffffff;
    --fp-grey-light: #f5f5f5;
    --fp-grey-medium: #e0e0e0;
    --fp-grey-dark: #666666;
    --fp-text-primary: #333333;
    --fp-text-secondary: #666666;
    --fp-border: #e0e0e0;
    --fp-shadow: rgba(0, 0, 0, 0.1);
}

/* Typography */
.fp-heading-large {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--fp-black);
    margin-bottom: 2rem;
}

.fp-heading-medium {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--fp-black);
    margin-bottom: 1.5rem;
}

.fp-heading-small {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--fp-black);
    margin-bottom: 1rem;
}

.fp-text-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fp-text-primary);
    margin-bottom: 1rem;
}

.fp-text-large {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--fp-text-primary);
    margin-bottom: 1.5rem;
}

.fp-text-small {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--fp-text-secondary);
}

/* Layout Components */
.fp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fp-section {
    padding: 4rem 0;
}

.fp-section-large {
    padding: 6rem 0;
}

.fp-grid {
    display: grid;
    gap: 2rem;
}

.fp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.fp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.fp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Image Gallery */
.fp-gallery {
    position: relative;
    margin: 3rem 0;
}

.fp-gallery-main {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    border-radius: 0;
}

.fp-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fp-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.fp-gallery-nav:hover {
    background: var(--fp-white);
    box-shadow: 0 4px 12px var(--fp-shadow);
}

.fp-gallery-nav.prev {
    left: 2rem;
}

.fp-gallery-nav.next {
    right: 2rem;
}

.fp-gallery-counter {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--fp-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Cards */
.fp-card {
    background: var(--fp-white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--fp-border);
}

.fp-card:hover {
    box-shadow: 0 8px 25px var(--fp-shadow);
    transform: translateY(-2px);
}

.fp-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.fp-card-body {
    padding: 1.5rem;
}

.fp-card-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--fp-black);
    margin-bottom: 0.5rem;
}

.fp-card-meta {
    font-size: 0.9rem;
    color: var(--fp-text-secondary);
    margin-bottom: 1rem;
}

.fp-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fp-text-primary);
}

/* Buttons */
.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: 2px solid var(--fp-black);
    background: transparent;
    color: var(--fp-black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
}

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

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

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

.fp-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid var(--fp-border);
    background: var(--fp-white);
}

.fp-btn-icon:hover {
    background: var(--fp-black);
    color: var(--fp-white);
    border-color: var(--fp-black);
}

/* Accordion */
.fp-accordion {
    border: none;
    background: transparent;
}

.fp-accordion-item {
    border: none;
    border-bottom: 1px solid var(--fp-border);
    background: transparent;
}

.fp-accordion-header {
    padding: 2rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fp-accordion-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--fp-black);
    margin: 0;
}

.fp-accordion-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--fp-grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fp-accordion-content {
    padding-bottom: 2rem;
    display: none;
}

.fp-accordion-content.active {
    display: block;
}

/* Hero Section */
.fp-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fp-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.fp-hero-content {
    text-align: center;
    color: var(--fp-white);
    z-index: 2;
}

.fp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Content Sections */
.fp-content-section {
    padding: 4rem 0;
}

.fp-content-section.grey {
    background: var(--fp-grey-light);
}

.fp-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.fp-text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--fp-text-primary);
}

/* Social Share */
.fp-social-share {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.fp-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fp-grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--fp-black);
    transition: all 0.3s ease;
}

.fp-social-btn:hover {
    background: var(--fp-black);
    color: var(--fp-white);
}

/* Responsive */
@media (max-width: 768px) {
    .fp-container {
        padding: 0 1rem;
    }
    
    .fp-grid-2,
    .fp-grid-3,
    .fp-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .fp-heading-large {
        font-size: 2.5rem;
    }
    
    .fp-heading-medium {
        font-size: 2rem;
    }
    
    .fp-gallery-main {
        height: 50vh;
    }
    
    .fp-gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .fp-gallery-nav.prev {
        left: 1rem;
    }
    
    .fp-gallery-nav.next {
        right: 1rem;
    }
    
    .fp-section,
    .fp-section-large {
        padding: 2rem 0;
    }
}

/* Utilities */
.fp-mb-0 { margin-bottom: 0; }
.fp-mb-1 { margin-bottom: 1rem; }
.fp-mb-2 { margin-bottom: 2rem; }
.fp-mb-3 { margin-bottom: 3rem; }
.fp-mb-4 { margin-bottom: 4rem; }

.fp-mt-0 { margin-top: 0; }
.fp-mt-1 { margin-top: 1rem; }
.fp-mt-2 { margin-top: 2rem; }
.fp-mt-3 { margin-top: 3rem; }
.fp-mt-4 { margin-top: 4rem; }

.fp-text-center { text-align: center; }
.fp-text-left { text-align: left; }
.fp-text-right { text-align: right; }

.fp-d-flex { display: flex; }
.fp-align-center { align-items: center; }
.fp-justify-center { justify-content: center; }
.fp-justify-between { justify-content: space-between; }

.fp-w-100 { width: 100%; }
.fp-h-100 { height: 100%; }
