/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: #f1f1f1; /* Eggshell white */
    color: #333;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, .work-item h3 {
    font-family: 'Aladin', cursive;
    font-weight: 400;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
}

p, .description-half p, .work-item p, .footer-item, .footer-divider {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    line-height: 1.8;
}

/* Top Navigation Bar */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #F5F5F5;
    border-bottom: 2px solid #ddd;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 120px;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.logo-space {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
}

.small-logo {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.top-bar a {
    color: #333;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 0;
}

.top-bar a:hover {
    color: #FFA500;
}

.language-toggle {
    background: rgba(0,0,0,0.05);
    border: 1px solid #999;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

.language-toggle:hover {
    background: rgba(0,0,0,0.1);
}

/* Main Content Sections */
.full-section {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    text-align: center;
}

.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-logo {
    width: 1000px;
    height: 100%;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.description-container {
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
}

.description-half {
    flex: 0;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Work Grid Section */
.grid-section {
    padding: 80px 20px; /* Reduced padding */
    min-height: auto; /* Changed from 100vh */
}

.grid-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.work-item {
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    background: rgba(255,255,255,0.7);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.work-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-grow: 1;
}

/* Work Page Styles */
.work-page {
    max-width: 1200px;
    margin: 140px auto 80px;
    padding: 0 20px;
}

.work-header {
    text-align: center;
    margin-bottom: 60px;
}

.featured-image {
    max-width: 1000px;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.content-section {
    margin-bottom: 80px;
    background: rgba(255,255,255,0.7);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.content-section h2 {
    border-bottom: 2px solid #FFA500;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.content-image {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Video Sections */
.video-container {
    margin: 2rem 0;
    text-align: center;
}

.video-container h3 {
    margin-bottom: 1rem;
    color: #555;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Footer */
.footer-bar {
    background-color: #F5F5F5;
    border-top: 2px solid #ddd;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 120px;
    display: flex;
    align-items: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-item {
    padding: 0 15px;
}

.footer-divider {
    color: #999;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .description-container {
        flex-direction: column;
        max-width: 600px;
    }
    
    .description-half {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    
    .top-bar a {
        font-size: 1.1rem;
    }
    
    .main-logo {
        max-width: 300px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-divider {
        display: none;
    }
}

@media (max-width: 576px) {
    .nav-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .logo-space {
        margin-bottom: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .content-section {
        padding: 20px;
    }
}

/* Watermark style */
.watermark { /* Changed from fixed */
    position: relative;
    right: 20px;
    font-family: 'Merriweather', serif;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.685);
    z-index: 100;
    pointer-events: none;
}

/* Improved mobile styles */
@media (max-width: 768px) {
    .main-logo {
        width: 95%;
        max-width: none;
        margin: 20px auto; /* Ensure it's visible */
        display: block; /* Ensure it shows */
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 30px; /* Increased gap */
        padding: 20px;
    }

    .work-item {
        margin-bottom: 20px; /* Added space between items */
    }

    .simple-text-container {
        margin: 20px auto;
        padding: 15px;
    }

    .grid-section h2 {
        margin-bottom: 30px; /* Added space below title */
    }
}

/* Main logo adjustment */
.main-logo {
    width: 95%;
    max-width: 1000px;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Simplified text container */
.simple-text-container {
    max-width: 800px;
    margin: 40px auto; /* Added more margin */
    padding: 20px;
    text-align: center;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Reduced shadow */
    border: none; /* Ensure no borders */
}

/* Remove video titles */
.video-container h3 {
    display: none;
}