@charset "utf-8";
/* Consolidated CSS for Matias Pigni Website - Modern + Legacy Styles */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #111; /* Fallback background color */
}

/* Links */
a:link {
    color: #FFF;
    text-decoration: none;
}
a:visited { 
    color: #FFF; 
}
a:hover {
    color: #00AD83; /* Fixed color syntax */
}
a:active { 
    color: #0000FF; 
}

li {
    list-style-type: none;
}

/* Layout Structure */
#wrapper {
    padding: 0px;
    height: auto !important; /* Fixed syntax */
    min-height: 100%;
    height: 100%;
    margin: 0 auto -50px;
}

#container {
    padding: 0px;
    height: 100%;
    width: 100%;
}

/* W3Schools HTML5 Slideshow */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: #111;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: rgba(0,0,0,0.5);
    border: none;
    user-select: none;
    transition: 0.3s ease;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}

/* Dots indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #00AD83;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideshow 30s infinite;
}

/* Slideshow Animation */
@keyframes slideshow {
    0% { opacity: 0; }
    8.33% { opacity: 1; }
    16.66% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}

/* Show first slide immediately, then cycle */
.bg-slide:nth-child(1) { 
    opacity: 1;
    animation-delay: 0s; 
}
.bg-slide:nth-child(2) { animation-delay: 5s; }
.bg-slide:nth-child(3) { animation-delay: 10s; }
.bg-slide:nth-child(4) { animation-delay: 15s; }
.bg-slide:nth-child(5) { animation-delay: 20s; }
.bg-slide:nth-child(6) { animation-delay: 25s; }

/* Footer */
#footer, .push {
    background-color: #000;
    height: 30px;
    width: 100%;
    position: absolute;
    z-index: 1000;
    clip: rect(auto,auto,auto,auto);
    bottom: 0px;
    color: #FFF;
    text-decoration: none;
}

.footer_content {
    color: #999;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-align: center;
    vertical-align: text-bottom;
    padding-top: 10px;
    font-size: 10px;
    word-spacing: 5px;
    text-decoration: none;
}

/* Navigation Box */
.nav-box {
    height: 300px;
    width: 150px;
    position: absolute;
    top: 20px;
    left: 55px;
    list-style-type: none;
    z-index: 1000;
}

/* Logo */
.logo {
    background-image: url(../images/menu_logo_top.png);
    height: 150px;
    width: 150px;
    display: block;
    margin-bottom: 4px;
}

/* Navigation Menu Items */
.design {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_design.png);
    list-style-type: none;
    margin-top: 4px;
}
.design:hover, .design:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.photography {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_photography.png);
    list-style-type: none;
    margin-top: 4px;
}
.photography:hover, .photography:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.animation {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_animation.png);
    list-style-type: none;
    margin-top: 4px;
}
.animation:hover, .animation:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.threedprinting {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_threedprinting.png);
    list-style-type: none;
    margin-top: 4px;
}
.threedprinting:hover, .threedprinting:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.lighting {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_lighting.png);
    list-style-type: none;
    margin-top: 4px;
}
.lighting:hover, .lighting:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.houseware {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_houseware.png);
    list-style-type: none;
    margin-top: 4px;
}
.houseware:hover, .houseware:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.artwork {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    list-style-type: none;
    margin-top: 4px;
    background: url(../images/menu_artwork.png);
}
.artwork:hover, .artwork:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.accessories {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    list-style-type: none;
    margin-top: 4px;
    background: url(../images/menu_accessories.png);
}
.accessories:hover, .accessories:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.about {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    list-style-type: none;
    margin-top: 4px;
    background: url(../images/menu_about.png);
}
.about:hover, .about:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.featured {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    list-style-type: none;
    margin-top: 4px;
    background: url(../images/menu_featured.png);
}
.featured:hover, .featured:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.shop {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    list-style-type: none;
    margin-top: 4px;
    background: url(../images/menu_shop.png);
}
.shop:hover, .shop:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.wedding {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_wedding.png);
    list-style-type: none;
    margin-top: 4px;
}
.wedding:hover, .wedding:active {
    background-position: -150px 0;
    margin-left: 5px;
}

.retouching {
    display: block;
    width: 150px;
    height: 20px;
    text-decoration: none;
    background: url(../images/menu_retouching.png);
    list-style-type: none;
    margin-top: 4px;
}
.retouching:hover, .retouching:active {
    background-position: -150px 0;
    margin-left: 5px;
}

/* Utility Classes */
.displace {
    position: absolute;
    left: -5000px;
}

.copyright {
    color: #999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    word-spacing: 0.1em;
}

/* About Page Content */
#about_content {
    font-family: Helvetica, sans-serif;
    color: #FFF;
    height: auto;
    padding: 30px;
    width: 250px;
    opacity: 0.85;
    margin-top: 205px;
    margin-left: 214px;
    position: relative;
    background-color: #111;
    display: block;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#about_content.hidden {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #FFF;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #00AD83;
}

.about-text {
    font-size: 14px;
    text-align: left;
    text-indent: 1em;
    letter-spacing: 0em;
    color: #FFF;
    font-weight: lighter;
    font-style: normal;
}

h2 {
    letter-spacing: 1pt;
}

#collaboration {
    font-family: "Helvetica Light", Helvetica, sans-serif; /* Fixed font name */
    height: 14px;
    width: 270px;
    position: absolute;
    bottom: 75px;
    background-color: #333;
    right: 0px;
    opacity: .70;
    text-transform: uppercase;
    font-size: 10px;
    text-align: center;
    margin-top: 3px;
}

#collaboration a:link {
    text-decoration: none;
    color: #000;
}

/* Modern Slideshow Components */
.carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
    background: #111;
}

.slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carousel Controls */
.carousel-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.dots-container {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #00AD83;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-box {
        width: 120px;
        height: 250px;
        left: 20px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
        background-size: contain;
    }
    
    .nav-box a {
        width: 120px;
        background-size: contain;
    }
    
    #about_content {
        width: 200px;
        margin-left: 160px;
        padding: 20px;
    }
}

/* Loading States */
.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 1001;
}