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

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: normal; }
a { text-decoration: none; color: inherit; }


@font-face {
    font-family: 'CaviarDreams';
    src: url('../css/webfont/CaviarDreams.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.intro-text, 
.featured-project, 
.portfolio-container,
.clients-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.main-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.logo-img {
    max-width: 150px;
    margin-bottom: 20px;
}

.signature {
    font-family: 'CaviarDreams', sans-serif;
    font-size: 32px;
    color: #fff;
    letter-spacing: 1px;
}

.signature .subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #fdd67f;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
    font-weight: 600;
}

.intro-text {
    margin-bottom: 60px;
    text-align: left;
}

.intro-text p, 
.intro-text .lead {
   /* max-width: 800px; */
}

.intro-text .lead {
    font-size: 20px;
    color: #fdd67f;
    margin-bottom: 20px;
}

.intro-text p { margin-bottom: 20px; }
.intro-text strong { color: #fff; }

.specializations {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 3px solid #fdd67f;
    max-width: 1200px;
}

.specializations h3 {
    font-family: 'CaviarDreams', sans-serif;
    color: #fff;
    margin-bottom: 15px;
    font-size: 22px;
}

.specializations ul { list-style: none; }
.specializations li { margin-bottom: 10px; }
.specializations li strong { color: #fdd67f; }

.footer-note { font-style: italic; opacity: 0.8; }

.clients-section {
    margin-bottom: 60px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.featured-project {
    margin-bottom: 80px;
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border: 1px solid #333;
    border-left: 4px solid #fdd67f;
    border-radius: 12px;
    padding-top: 40px;
    padding-bottom: 40px; 
    display: flex;
    align-items: center;
    gap: 40px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.5); */
    position: relative;
    overflow: hidden;
	padding: 40px;
    max-width: 1160px;
}

.featured-content {
    flex: 1;
    z-index: 2;
}

.featured-visual {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.featured-visual img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    transition: transform 0.3s;
}

.featured-project:hover .featured-visual img {
    transform: scale(1.05) rotate(-2deg);
}

.featured-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fdd67f;
    background: rgba(253, 214, 127, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.featured-title {
    font-family: 'CaviarDreams', sans-serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-desc {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 90%;
}

.featured-specs {
    list-style: none;
    margin-bottom: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.featured-specs li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #bbb;
}

.featured-specs strong {
    color: #fff;
    margin-right: 5px;
}

.featured-actions {
    display: flex;
    gap: 15px;
}

.screens-gallery-container {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.gallery-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.screens-row {
    display: flex;
    gap: 10px;
}

.screens-row a {
    display: block;
    width: 60px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #000;
}

.screens-row a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.screens-row a:hover {
    border-color: #fdd67f;
    transform: translateY(-3px);
}

.screens-row a:hover img {
    opacity: 1;
}

.portfolio-container {
    padding-bottom: 60px;
}

.category-section { margin-bottom: 60px; }

.category-title {
    font-family: 'CaviarDreams', sans-serif;
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    letter-spacing: 2px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.gallery-item {
    flex: 0 0 calc(25% - 15px); 
    max-width: calc(25% - 15px);
    transition: transform 0.3s ease;
}

.photo-card {
    position: relative;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    aspect-ratio: 1 / 1;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover .photo-card img {
    transform: scale(1.05);
    opacity: 1;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .photo-overlay {
    opacity: 1;
}

.photo-title {
    color: #fdd67f;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #333;
    color: #888;
    font-family: 'CaviarDreams', sans-serif;
}
.separator { color: #fdd67f; margin: 0 10px; }

.linkedin-link {
    color: #fdd67f;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin-left: 10px;
}
.linkedin-link:hover { text-decoration: underline; color: #fff; }

.btn-primary {
    background-color: #fdd67f;
    color: #121212;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 214, 127, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #666;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: border 0.3s, color 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #fff;
}

@media (max-width: 1200px) {
	.featured-project { margin: 20px; }
}

@media (max-width: 900px) {
    .gallery-item { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); } 
    
    .intro-text { text-align: left; }

    .featured-project {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px; 
        height: auto; 
    }
    
    .featured-content {
        width: 100%;
    }
	
	.featured-desc { margin: 0 auto 15px auto; }

    .featured-visual img {
        max-height: 250px;
        margin-bottom: 30px;
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }
    
    .featured-title { 
        font-size: 28px; 
        word-wrap: break-word; 
    }
    
    .featured-specs {
        border-top: 1px solid rgba(255,255,255,0.1);
        justify-content: center;
    }
    
    .featured-actions, 
    .screens-row {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    
    .gallery-item { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
    
    .signature { font-size: 24px; }
    .signature .subtitle { font-size: 11px; letter-spacing: 1px; }
    .specializations { padding: 20px; }

    .featured-project {
        padding: 30px 15px; 
		margin: 0 20px 25px 20px;
    }
    
    .featured-desc {
        font-size: 14px; 
        width: 100%; 
    }

    .screens-gallery-container {
        width: 100%; 
        overflow: hidden; 
    }

    .screens-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto; 
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 15px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        
        mask-image: linear-gradient(to right, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
    }

    .screens-row a {
        flex: 0 0 auto; 
        width: 70px; 
        height: 120px;
        margin-right: 5px; 
    }
    
    .screens-row::-webkit-scrollbar {
        display: none; 
    }
}

@media (max-width: 400px) {
    .gallery-item { flex: 0 0 100%; max-width: 100%; } 
    
    .featured-title { font-size: 24px; } 
}