/* iPhone Styles */
.iphone-container {
    flex: 0 0 300px;
    position: relative;
    z-index: 10;
    transform: perspective(1000px) rotateY(5deg);
    transition: var(--transition);
    margin-right: 0;
}

.iphone-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.iphone {
    width: 319px;
    height: 673px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 4px solid #000;
    overflow: hidden;
    transition: var(--transition);
    transform: perspective(1000px) rotateY(0deg);
}

.iphone:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.iphone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 25px;
    background-color: #000;
    border-radius: 0 0 20px 20px;
    z-index: 1000;
    background-image: radial-gradient(circle at 15% 50%, #111 0%, #111 3px, #222 4px, #333 5px, transparent 6px);
    pointer-events: none;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: url('wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: background-image 0.5s ease;
    border-radius: 35px;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 22px;
    color: white;
    background-color: transparent;
    font-size: 12px;
    height: 30px;
    position: sticky;
    top: 0;
    left: -2%;
    right: -2%;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.status-bar > div:first-child {
    font-size: 16px;
    padding-left: 5%;
    font-weight: 300;
    margin-top: -5px;
}

/* Mobile view time adjustments */
@media (max-width: 480px) {
    .status-bar > div:first-child {
        font-size: 13px; /* 20% smaller than original 16px */
        padding-left: 0;
        margin-left: 0px; /* Shift to the left */
    }
}

.status-bar.in-app {
    color: black;
}

.status-bar.in-app .battery-icon,
.status-bar.in-app .signal-icon,
.status-bar.in-app .wifi-icon {
    color: black;
}

.status-bar.light-mode {
    color: black;
}

.status-bar.light-mode .battery-icon,
.status-bar.light-mode .signal-icon,
.status-bar.light-mode .wifi-icon {
    color: black;
}

/* App Screen Base Styles */
.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 20;
    display: none;
    flex-direction: column;
}

.app-screen.active {
    display: flex;
}

.app-header {
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 15px;
    position: relative;
}

.back-button {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.app-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
}

.app-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.app-screen#projects-app {
    background-color: transparent !important;
} 