/* =========================================
   Home Page Styles
   ========================================= */

/* ---- Hero Slider ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--black);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-media {
    position: absolute;
    inset: 0;
}

.hero-slide-media img,
.hero-slide-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-media video {
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.1) 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 5% 8%;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 4rem;
}

.hero-text {
    max-width: 800px;
}

.hero-label {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--font-main);
    font-size: clamp(2.8rem, 6.5vw, 7rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-description {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(245,243,239,0.7);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Slider Controls */
.hero-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-btn {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.hero-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.hero-btn svg { width: 20px; height: 20px; }

/* Hero Dots */
.hero-dots {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-dot {
    width: 2px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-dot.active {
    background: var(--gold);
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gold);
    transition: height 0s;
}

.hero-dot.active::after {
    height: 100%;
    transition: height 5s linear;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.hero-scroll span {
    font-family: var(--font-condensed);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--gold);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { top: -60px; }
    100% { top: 60px; }
}

/* ---- About Section ---- */
.section-about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -3rem;
    right: -3rem;
    width: 45%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 6px solid var(--white);
}

.about-year {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--gold);
    color: var(--black);
    padding: 1rem 1.5rem;
    text-align: center;
}

.about-year .year {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    display: block;
}

.about-year .label {
    font-family: var(--font-condensed);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.about-content .section-title { margin-bottom: 1rem; }

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

/* ---- Featured Projects ---- */
.section-projects {
    background: var(--gray-100);
}

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: var(--black);
    cursor: pointer;
}

.project-card:nth-child(1) { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 16/10; }
.project-card:nth-child(2) { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 1; }
.project-card:nth-child(3) { grid-column: 1 / 6; grid-row: 2; aspect-ratio: 1; }
.project-card:nth-child(4) { grid-column: 6 / 13; grid-row: 2; aspect-ratio: 16/10; }

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
    filter: brightness(0.75);
}

.project-card:hover .project-card-img {
    transform: scale(1.06);
    filter: brightness(0.5);
}

.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    transform: translateY(30%);
    transition: transform var(--transition);
}

.project-card:hover .project-card-info {
    transform: translateY(0);
}

.project-card-cat {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.project-card-name {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.project-card-link {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-card-link { opacity: 1; }

/* ---- Statistics ---- */
.section-stats {
    background: var(--black);
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-main);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-label {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ---- News ---- */
.section-news {
    background: var(--white);
}

.news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    border-top: 1px solid var(--gray-100);
    padding-top: 2rem;
}

.news-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.news-card:hover .news-card-img img {
    transform: scale(1.04);
}

.news-card-date {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.news-card:hover .news-card-title { color: var(--gold); }

.news-card-excerpt {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ---- Responsive Home ---- */
@media (max-width: 1100px) {
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 16/10;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.06); }
}

@media (max-width: 800px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-controls { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .projects-header, .news-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 600px) {
    .projects-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hero nav buttons - black */
.hero-btn {
    background: var(--black) !important;
    border: none !important;
    opacity: 0.85;
}
.hero-btn:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    opacity: 1;
}
