/* General Styles */
:root {
    --primary-color: #000;
    --secondary-color: #666;
    --background-color: #f8f8f8;
    --text-color: #666;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --card-bg: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.07);
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    line-height: 1.7;
}

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

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background: var(--card-bg);
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 10px;
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1.2;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.meta-item .label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.meta-item .value {
    font-size: 1rem;
}

.hero-visual {
    flex: 1;
    text-align: center;
}

.phone-mockup img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.content-block .content-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Adaptation Section */
.adaptation-section {
    padding: 80px 0;
    background: var(--card-bg);
}

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

.adaptation-item {
    padding: 30px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.adaptation-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.adaptation-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 40px 20px 20px;
    color: #fff;
}

.gallery-caption h3 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
}

/* Outcome Section */
.outcome-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: #fff;
}

.outcome-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.outcome-text .section-title {
    color: #fff;
    text-align: left;
}

.outcome-text p {
    font-size: 1.1rem;
}

.outcome-visual {
    font-size: 6rem;
    opacity: 0.2;
}

/* Navigation & Footer */
.navigation-section {
    padding: 40px 0;
    background-color: #e9ecef;
}

.project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-project {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-project h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.nav-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.nav-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.back-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
}

footer {
    padding: 20px 0;
    text-align: center;
    background-color: var(--text-color);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .outcome-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .outcome-text .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .content-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.large {
        grid-column: span 1;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
}
