@charset "UTF-8";

/* --- HERO SECTION --- */
.hero-container {
    position: relative;
    width: 100%;
	padding: 150px 5% 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
}

/* Locked Dotted Line Size */
.hero-dotted {
    width: 6px;
    height: 190px;
    object-fit: cover;
    opacity: 0;
}

.hero-title {
    color: rgba(255, 255, 255, 1.00);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 70px;
    line-height: 75px;
    letter-spacing: -2px;
    max-width: 640px;
    margin: 0 0 30px 0;
    white-space: normal;
    opacity: 0; 
}

.hero-arrow {
    width: 30px;
    height: 39px;
    margin-top: -30px;
    opacity: 0;        
}

/* --- ABOUT SECTION --- */
.about-section {
    position: relative;
    width: 100%;
    padding: 150px 5%;
    background-color: transparent;
    overflow: hidden;
    box-sizing: border-box; 
    z-index: 5;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5vw;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.about-col {
    flex: 1;
    display: flex;
    will-change: transform;
}

.about-col-left {
    justify-content: right;
}

.about-col-right {
    justify-content: flex-start;
}

/* CSS iPhone Mockup */
.iphone-mockup {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 9 / 19.5;
    background-color: #1a1a1a;
    padding: 8px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 2px rgba(255, 255, 255, 0.2);
    transform: rotate(5deg);
    box-sizing: border-box;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.iphone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 25px;
    background-color: #1a1a1a;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.about-divider {
    flex-shrink: 0;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 190px;
    z-index: 10;
}

.divider-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; 
    height: 30px;
    z-index: 2;
}

.divider-dotted {
    width: 6px;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Typography & Content Layout */
.about-content {
    max-width: 480px;
    text-align: left;
}

.about-subheading {
    color: rgba(255, 255, 255, 1);
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.about-heading {
    color: rgba(255, 255, 255, 1);
    font-family: 'Lato', sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.about-paragraph {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ============================================== */
/* --- PRODUCTS SECTION (MODERN REBUILD) -------- */
/* ============================================== */

.products-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
	margin-bottom: 40px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 10;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    display: grid;
}

.portfolio-slide {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
}

.portfolio-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

/* Layout Columns */
.parallax-layer-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    will-change: transform;
}

.parallax-layer-right {
    flex: 0 0 55%;
    position: relative;
    will-change: transform;
}

/* Text Content - Centered Structure */
.project-info {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.project-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1.00);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: Lato, sans-serif;
    margin: 0 0 20px 0;
}

.project-desc {
    letter-spacing: 0.5px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    font-family: Lato, sans-serif;
    margin: 0 0 40px 0;
}

/* Controls Wrapper */
.project-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

/* Chevrons */
.nav-prev, .nav-next {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
}

.nav-prev i, .nav-next i {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.5s ease;
    font-size: 30px;
    line-height: 50px;
    font-weight: 700;
}

.nav-prev:hover i, .nav-next:hover i {
    color: rgba(255, 255, 255, 1);
}

/* Visit Site Button */
.visit-btn {
    font-family: Lato, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 1);
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 1);
    padding: 0 30px;
    text-decoration: none;
    transition: all 0.5s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.visit-btn:hover {
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* MacBook Media Composition */
.macbook-wrap {
    position: relative;
    width: 130%;
    left: -15%;
    max-width: 1600px;
    margin: 0 auto;
    display: block;
    transform-origin: center center;
}

.macbook-frame {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.video-container {
    position: absolute;
    top: 20%;
    left: 17%;
    width: 66%;
    height: 62%;
    z-index: 3;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Products Center Divider */
.products-divider {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 190px;
    margin: -95px auto;
    z-index: 15;
    pointer-events: none;
}

.divider-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 30px;
    height: auto;
    object-fit: cover;
}

/* ============================================== */
/* --- INFO SECTION (STATIC LAYOUT) ------------- */
/* ============================================== */

.info-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
	margin: 80px 0 60px 0;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 10;
}

.info-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    margin: 0 auto;
}

.info-subheading {
    color: rgba(255, 255, 255, 1);
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.info-heading {
    color: rgba(255, 255, 255, 1);
    font-family: 'Lato', sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.info-paragraph {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Swapped Columns */
.info-layer-left {
    flex: 0 0 50%;
    position: relative;
    will-change: transform;
}

.info-layer-right {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    will-change: transform;
}

.ipad-mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1.43 / 1;
    background-color: #1a1a1a;
    padding: 16px;
    border-radius: 36px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 2px rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    margin: 0 auto;
}

.ipad-screen {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    /* Force iOS Safari hardware-accelerated video layer to respect border-radius clipping */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.ipad-screen video {
    width: 100%;
    height: 100%;
    background: #ffffff;
    object-fit: cover;
    object-position: top center;
    display: block;
    box-sizing: border-box;
}

.ipad-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- RESPONSIVE BREAKPOINTS --- */

@media (max-width: 1400px) {
    .parallax-layer-right {
        flex: 0 0 55%;
        transform: translateX(30%); 
    }
	
    .macbook-wrap {
        width: 150%;
        left: -40%;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
        line-height: 65px;
        max-width: 500px;
    }
    .about-container { gap: 3vw; }
    .about-heading { font-size: 30px; line-height: 40px; }
	.about-col-left { justify-content: center; }

    .parallax-layer-left { flex: 0 0 45%; }
}

@media (max-width: 991px) {

    .products-section {
        padding: 40px 0 70px 0;
		margin-bottom: 100px;
    }
    .portfolio-slide {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 2px;
    }
    .parallax-layer-right {
        order: -1; 
        flex: 0 0 auto;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        transform: translateX(0);
    }
    
    .macbook-wrap {
        width: 100%;
        left: 0;
    }
    
    .parallax-layer-left {
        flex: 0 0 auto;
        width: 100%;
		padding: 0 5%;
    }
    
    .project-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .project-desc {
        max-width: 100%;
        text-align: center;
		padding: 0 5%;
    }
    .project-controls {
        justify-content: center;
    }

    .info-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .info-layer-left, .info-layer-right {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .info-layer-left {
        order: 1;
    }
    
    .info-layer-right {
        order: 2;
    }
	.ipad-mockup {
    	max-width: 500px;
	}
	.info-project-media {
		padding: 0 5%;
	}
    /* CRITICAL MOBILE FIX: Remove video padding on mobile/tablet devices */
    .ipad-screen video {
        padding-top: 0 !important;
    }
}

@media (max-width: 778px) {
    .hero-title {
        font-size: 50px;
        line-height: 55px;
        max-width: 320px;
    }
	.hero-container {
		padding: 100px 5% 0 5%;
	}
    .about-section {
        padding: 40px 0 100px 0;
    }
    .about-container {
        flex-wrap: wrap; 
        gap: 0;
    }
    
    .about-col-left {
		justify-content: left;
        flex: 0 0 50%;
        order: 1;
    }
    .iphone-mockup {
        max-width: 230px;
        border-radius: 35px;
    }
    .iphone-screen {
        border-radius: 28px;
    }
    
    .about-col-right {
        flex: 0 0 50%;
        order: 2;
        padding-right: 5%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    .about-content {
        max-width: 100%;
    }
    .about-subheading { font-size: 14px; line-height: 24px; }
    .about-heading { font-size: 24px; line-height: 28px; }
    .about-paragraph { font-size: 18px; line-height: 24px; }
    
    .about-divider {
        flex: 0 0 100%;
        order: 3;
		bottom: -220px;
        display: flex;
        flex-direction: column;
        margin-top: 60px;
        gap: 15px;
		height: 100%;
    }
	
	.divider-dotted {
        height: auto;
    }

    .project-title { font-size: 21px; line-height: 32px; letter-spacing: 3px; }
    .project-desc { font-size: 18px; line-height: 24px; padding: 0 5%; }
    .visit-btn { font-size: 16px; padding: 0 25px; line-height: 44px; }

    .info-subheading { font-size: 14px; line-height: 24px; }
    .info-heading { font-size: 24px; line-height: 28px; }
    .info-paragraph { font-size: 18px; line-height: 24px; }

    /* Scale down iPad bezel proportions for narrower mobile screens */
    .ipad-mockup {
        padding: 12px;
        border-radius: 28px;
    }
    .ipad-screen {
        border-radius: 18px;
    }
    .ipad-screen video {
        padding-top: 0 !important;
    }
}

@media (max-width: 550px) {
    .about-col-left {
        flex: 0 0 45%;
		transform: translateX(-30%);
        order: 1;
        justify-content: flex-start;
    }
    .about-col-right {
        flex: 0 0 55%;
		transform: translateX(-5%);
        order: 2;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
	.about-section {
		height: 80vh;
	}
    .about-divider {
        flex: 0 0 100%;
        order: 3;
		bottom: -250px;
        display: flex;
        flex-direction: column;
        margin-top: 60px;
        gap: 15px;
    }
	.project-desc {
		padding: 0 10%;
	}
	.products-section {
		padding: 20px 0 70px 0;
	}
	.info-section {
		padding: 80px 10% 40px 10%;
	}
	.info-container {
		gap: 30px;
	}
	.info-project-media {
		padding: 0 2%;
	}
    .ipad-mockup {
        padding: 10px;
        border-radius: 24px;
    }
    .ipad-screen {
        border-radius: 16px;
    }
    .ipad-screen video {
        padding-top: 0 !important;
    }
}

@media (max-width: 400px) {
	.hero-title {
		font-size: 45px;
		line-height: 50px;
		letter-spacing: -1px;
	}
    .about-col-left {
        flex: 0 0 35%;
        order: 1;
        justify-content: flex-start;
        transform: translateX(-30%);
    }
    .about-col-right {
        flex: 0 0 65%;
		transform: translateX(0);
        order: 2;
        padding-right: 5%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
	.iphone-mockup { max-width: 200px; border-radius: 35px; }
    .iphone-screen { border-radius: 28px; }
    .about-divider {
        flex: 0 0 100%;
        order: 3;
		bottom: -180px;
        display: flex;
        flex-direction: column;
        margin-top: 60px;
        gap: 15px;
    }
	
	.about-section {
		height: 90vh;
	}

    /* Product Mobile Tweaks */
    .project-title { font-size: 18px; line-height: 28px; letter-spacing: 2px; }
    .project-desc { font-size: 16px; line-height: 22px; padding: 0 10%; }
    .visit-btn { font-size: 14px; padding: 0 20px; line-height: 40px; }
	
    .about-paragraph { font-size: 16px; line-height: 22px; }

    .info-paragraph {
		font-size: 16px;
		line-height: 22px;
	}
	.info-section {
		margin: 80px 0 40px 0;
	}
	.info-container {
		gap: 30px;
	}
    .ipad-mockup {
        padding: 8px;
        border-radius: 20px;
    }
    .ipad-screen {
        border-radius: 14px;
    }
    .ipad-screen video {
        padding-top: 0 !important;
    }
}