/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

/* Page Header */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/team-living.jpg') center/cover no-repeat;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.7) 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--secondary-gold);
}

/* Founder Section */
.founder-section {
    padding: 100px 0;
    background: var(--white);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.founder-image {
    position: relative;
}

.founder-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow);
}

.founder-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    text-align: center;
    font-weight: 700;
}

.founder-badge p {
    margin: 0;
    font-size: 0.9rem;
}

.founder-badge-text {
    font-size: 1.5rem !important;
    font-family: var(--font-heading);
}

.founder-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.founder-title {
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.founder-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-gold);
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
}

.credential-badge i {
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.credential-badge span {
    font-weight: 600;
    color: var(--primary-navy);
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--off-white);
}

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

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-navy);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Team Photos */
.about-team-section {
    padding: 100px 0;
    background: var(--white);
}

.team-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.team-photo-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.team-photo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-photo-item:hover img {
    transform: scale(1.1);
}

.team-info-box {
    background: var(--light-gold);
    padding: 50px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-gold);
}

.team-info-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.team-info-box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.team-info-box li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.team-info-box i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* Form Styles */
.form-section {
    padding: 100px 0;
    background: var(--off-white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    font-size: 1.5rem;
}

.price-estimate {
    background: var(--light-gold);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
}

.price-estimate h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.price-estimate .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: var(--font-heading);
}

.price-estimate p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 10px;
}

.promo-input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.promo-input-group input {
    flex: 1;
}

.promo-input-group button {
    padding: 15px 30px;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.promo-input-group button:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.promo-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.promo-message.success {
    background: #d4edda;
    color: #155724;
}

.promo-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Gallery */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 100%);
    padding: 25px;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Testimonials Page */
.testimonials-full {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-info-card a:hover {
    color: var(--primary-gold);
}

/* Map */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    margin-top: 60px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 968px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-photos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-info-box ul {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px;
    }
    
    .credentials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .team-photos {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
