/* RYB Building Theme - Main Styles */

:root {
    --black: #111111;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --accent: #c9a050;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--black);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo a {
    display: block;
}

.logo a img {
    max-height: 50px;
    width: auto;
    display: block;
}

.custom-logo-link img, .logo img, .logo svg {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 14px;
    letter-spacing: 3px;
    color: #999;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 10px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 18px; }
}

/* Section Common */
section {
    padding: 100px 50px;
}

.section-title {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gray);
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-gray);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.project-info h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.project-info p {
    font-size: 12px;
    color: #ccc;
}

/* Services */
.services-section {
    background: var(--light-gray);
}

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

.service-item {
    padding: 40px;
    background: var(--white);
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 400;
}

.service-item p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

/* About */
.about-content {
    max-width: 600px;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.3;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
}

/* Contact */
.contact-section {
    background: var(--black);
    color: var(--white);
}

.contact-section .section-title {
    color: #666;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-info p {
    color: #999;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid #333;
    padding: 15px;
    color: var(--white);
    font-size: 14px;
    font-family: inherit;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form button {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 15px 40px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--accent);
    color: var(--white);
}

/* Footer */
footer {
    padding: 50px;
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    border-top: 1px solid #eee;
}

/* Page Header */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    background: var(--light-gray);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 4px;
}

/* Content Page */
.page-content {
    padding: 80px 50px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
}

/* Mobile */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    nav {
        padding: 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        letter-spacing: 4px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}