@import url('../shared/theme/css/core.css');

/* ... Staug.tech Specific Styles ... */

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(12, 28, 62, 0.6), rgba(12, 28, 62, 0.4)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Card */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    /* Center the last item if it's the only one in its row (e.g., house 4, 7, etc) */
    .projects-grid>.project-card:last-child:nth-child(3n+1) {
        grid-column: 2;
    }
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.project-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(12, 28, 62, 0.2));
}

.project-info {
    padding: 2.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.btn-text {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 1.5rem;
    display: inline-block;
}

.btn-text:hover {
    letter-spacing: 1px;
}

/* Contact Section Layout */
.contact-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.insight-card-summary {
    margin-bottom: 3rem;
}

.insight-card-summary:last-child {
    margin-bottom: 0;
}

.direct-inquiry-box {
    background: var(--primary-color);
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--white);
    max-width: 100%;
}

.direct-inquiry-box h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Subpage Styles */
.hero-small {
    padding-top: 160px;
    padding-bottom: 80px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.hero-small h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-small p {
    opacity: 0.8;
    font-size: 1.1rem;
}

.content-area {
    padding: 80px 0;
    background: var(--bg-light);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content section {
    padding: 0;
    margin-bottom: 3rem;
}

.policy-content section:last-child {
    margin-bottom: 0;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.policy-content p,
.policy-content ul {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.policy-content ul {
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.8rem;
}

.policy-content strong {
    color: var(--primary-color);
}

.policy-content a {
    color: var(--accent-color);
    font-weight: 600;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .direct-inquiry-box {
        padding: 1.5rem;
    }
}
/* Logo Lightbox */
.logo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.logo-lightbox.active {
    display: flex;
}

.logo-lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s;
    background: white;
    padding: 20px;
}

.logo-lightbox.active img {
    transform: scale(1);
}
