/* Homepage Updates CSS */
@import url('footer-updates.css');

/* Discover More Button */
.discover-more-container {
    margin-top: 30px;
}

.discover-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.discover-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.discover-button:hover {
    color: var(--light-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.discover-button:hover:before {
    width: 100%;
}

/* Hero section updates */
.hero-content {
    position: absolute;
    top: auto;  /* Remove the top positioning */
    transform: none;  /* Remove the translateY */
    bottom: 80px;  /* Position at the bottom with some padding */
    left: 80px;  /* Position at the left with some padding */
    text-align: left;
    width: auto;
    max-width: 600px;
    padding: 0;
    background: none;  /* Remove any background */
}

.hero-content .hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-size: 3.5rem;
    text-align: left;
    color: white;
    font-weight: 600;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);  /* Enhanced text shadow for readability */
}

.hero-content p {
    font-style: italic;
    font-size: 1.3rem;
    margin: 0;
    text-align: left;
    color: white;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);  /* Enhanced text shadow for readability */
}

/* Services section updates */
.services {
    width: 100%;
    padding: 60px 0 0 0; /* Added top padding for space between hero and services */
    background-color: var(--light-color);
    margin-bottom: 0;
}

.services-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px; /* Add padding to center the thinner items */
    gap: 0;
    justify-content: center; /* Center the thinner items */
}

.service-item {
    flex: 0.8; /* Make items thinner (was flex: 1) */
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100vh !important; /* Make longer and override conflicting CSS */
    margin: 0 10px; /* Add some space between items */
}

.service-image-container {
    overflow: hidden;
    position: relative;
    height: 100vh !important; /* Made images longer and override conflicting CSS */
    margin-bottom: 0;
    border: none;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.service-image-link {
    display: block;
    overflow: hidden;
}

.service-text-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 5px 0;
}

.service-title {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--primary-color); /* Changed to alto blue color */
    position: relative;
    padding: 15px 0 0;
    text-align: center;
}

.service-subtitle {
    text-transform: uppercase;
    color: var(--text-color-light); /* Changed to use consistent color variable */
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 0;
    position: relative;
    text-align: center;
}



.service-text-link:hover .service-title {
    color: var(--primary-color);
}

/* Override the absolute positioning from main CSS to move text below images */
.service-item h3 {
    position: static !important; /* Override absolute positioning */
    bottom: auto !important;
    width: 100%;
    text-align: center;
    color: var(--primary-color) !important; /* Alto blue color */
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: none !important; /* Remove text shadow since it's not over image */
    margin: 20px 0 10px 0;
    padding: 0;
    z-index: auto;
    opacity: 1;
    transition: all 0.5s ease;
}

.service-item:hover h3 {
    bottom: auto !important;
    letter-spacing: 4px;
    color: var(--secondary-color) !important; /* Slightly different blue on hover */
}

/* Remove the overlay since text is no longer over the image */
.service-image-container::after {
    display: none !important;
}

/* Remove any subtitle styling from other CSS files */
.service-item p {
    color: var(--text-color-light) !important;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Portfolio section */
.portfolio-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-color);
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-header {
    margin-bottom: 30px;
}

.portfolio-title {
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.portfolio-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.portfolio-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.portfolio-showcase {
    height: 90vh !important; /* Very large height */
    width: 100vw !important; /* Full viewport width */
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 40px !important;
    overflow: hidden !important;
}

.portfolio-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s ease !important;
}



/* About section updates */
.about-text {
    position: relative;
}

.about-photos-grid {
    position: relative;
}

.about-photo {
    position: absolute;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
    transition: transform 0.3s ease;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-1 {
    width: 180px;
    height: 220px;
    top: -30px;
    left: -80px;
    transform: rotate(-5deg);
}

.about-photo-2 {
    width: 200px;
    height: 150px;
    top: 120px;
    right: -60px;
    transform: rotate(3deg);
}

.about-photo-3 {
    width: 160px;
    height: 200px;
    bottom: -40px;
    left: 30%;
    transform: rotate(-2deg);
}



/* Our Story Section - Uses existing process page styles but LARGER */
#about {
    padding: 100px 0 !important; /* Increased from 80px */
    background-color: var(--light-color) !important;
}

#about .about-container {
    max-width: 1600px !important; /* Increased from 1400px */
    margin: 0 auto !important;
    padding: 0 40px !important; /* Increased from 20px for more edge-to-edge */
    display: block !important;
}

/* Make the hero section content match other sections for consistency */
#about .process-content-container {
    max-width: 1200px !important; /* Match standard content width */
    gap: 60px !important; /* Standard gap */
}

#about .process-image {
    height: 750px !important; /* Increased from 650px */
}

#about .process-title {
    font-size: 3rem !important; /* Increased from 2.5rem */
}

#about .process-lead {
    font-size: 1.4rem !important; /* Increased from 1.3rem */
}

#about .process-text p {
    font-size: 1.15rem !important; /* Increased from 1.05rem */
}

/* Make the photos grid match the width of other content */
#about .process-photos-grid {
    max-width: 1200px !important; /* Match process-content-container width */
    gap: 30px !important; /* Reduce gap to prevent distortion */
    grid-auto-rows: 400px !important; /* Standard height */
    margin: 80px auto !important; /* Standard margin */
}

/* Force hide ALL old conflicting about elements */
#about .about-text,
#about .about-image,
#about .about-photos-grid,
#about .about-photos,
#about .mobile-only,
#about .about-content-grid,
#about .about-text-section,
#about .about-photo {
    display: none !important;
}

/* Responsive adjustments for Our Story section */
@media (max-width: 768px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        height: auto;
        gap: 30px;
    }
    
    .about-text-section {
        grid-column: 1;
        grid-row: 1;
        padding: 30px 20px;
    }
    
    .about-photo-1 {
        grid-column: 1;
        grid-row: 2;
        height: 300px;
    }
    
    .about-photo-2 {
        grid-column: 1;
        grid-row: 3;
        height: 300px;
    }
    
    .about-photo-3 {
        grid-column: 1;
        grid-row: 4;
        height: 300px;
    }
    
    .about-text-section .section-title {
        font-size: 2rem;
    }
}

/* Footer updates */
.footer-logo img {
    max-width: 200px; /* Larger logo */
    width: 100%;
}

.footer-tagline {
    font-size: 1.1rem;
    color: #ccc;
    margin-top: 10px;
}

/* Mobile-specific styles */
.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .hero-content {
        top: -30px;
        padding: 0 5%;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .about-photo {
        position: relative;
        display: inline-block;
        margin: 10px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none !important;
    }
    
    .about-photos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .about-photos-grid {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-content {
        top: -20px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-image-container {
        height: 280px;
    }
    
    .services-container {
        flex-direction: column;
    }
    
    .service-item {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* Portfolio Section Updates */
.portfolio-subtitle {
    color: var(--text-color-light) !important; /* Use the other text color */
    font-size: 0.9rem !important; /* Smaller text */
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
}

/* Additional Photo Section - Large but contained */
.additional-photo-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.additional-photo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.additional-photo-showcase {
    height: 70vh; /* Large but not as large as the edge-to-edge portfolio */
    min-height: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.additional-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}



/* Where We Work Section */
.where-we-work-section {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.where-we-work-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.where-we-work-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 60px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0 40px;
}

.cities-gallery-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
}

.cities-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    align-items: stretch;
}

.cities-gallery::-webkit-scrollbar {
    display: none;
}

.city-card {
    flex: 0 0 auto;
    width: 280px;
    height: 100%;
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(28, 63, 96, 0.08);
}

.city-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.city-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.city-card:hover .city-image {
    transform: scale(1.08);
}

.city-placeholder {
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.city-name {
    padding: 0;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    background: white;
    border-top: 3px solid transparent;
}

.city-card:hover .city-name {
    color: var(--secondary-color);
    border-top-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .where-we-work-container {
        padding: 0;
    }
    
    .where-we-work-title {
        padding: 0 30px;
    }
    
    .cities-gallery-container {
        height: 350px;
    }
    
    .city-card {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .where-we-work-section {
        padding: 80px 0;
    }
    
    .where-we-work-container {
        padding: 0;
    }
    
    .where-we-work-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
        letter-spacing: 2px;
        padding: 0 20px;
    }
    
    .cities-gallery-container {
        height: 320px;
    }
    
    .cities-gallery {
        gap: 15px;
        padding: 0;
    }
    
    .city-card {
        width: 220px;
    }
    
    .city-name {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .where-we-work-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
        padding: 0 15px;
    }
    
    .where-we-work-container {
        padding: 0;
    }
    
    .cities-gallery-container {
        height: 280px;
    }
    
    .cities-gallery {
        gap: 12px;
        padding: 0;
    }
    
    .city-card {
        width: 180px;
    }
    
    .city-name {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}

/* Include Footer Updates */
@import url('footer-updates.css');
